# $NetBSD: bn.inc,v 1.1.1.2 2023/04/18 14:19:03 christos Exp $ # # @(#) Copyright (c) 1995 Simon J. Gerraty # # SRCS extracted from src/crypto/dist/openssl/crypto/bn/Makefile # .PATH: ${OPENSSLSRC}/crypto/bn BN_SRCS ?= bn_asm.c BN_SRCS += \ bn_add.c \ bn_blind.c \ bn_const.c \ bn_ctx.c \ bn_depr.c \ bn_dh.c \ bn_div.c \ bn_err.c \ bn_exp.c \ bn_exp2.c \ bn_gcd.c \ bn_gf2m.c \ bn_intern.c \ bn_kron.c \ bn_lib.c \ bn_mod.c \ bn_mont.c \ bn_mpi.c \ bn_mul.c \ bn_nist.c \ bn_prime.c \ bn_print.c \ bn_rand.c \ bn_recp.c \ bn_shift.c \ bn_sqr.c \ bn_sqrt.c \ bn_srp.c \ bn_word.c \ bn_x931p.c \ rsa_sup_mul.c \ rsaz_exp.c SRCS += ${BN_SRCS} .for cryptosrc in ${BN_SRCS} CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/bn ${BNCPPFLAGS} .endfor LINTFLAGS.bn_nist.c+= -X 132 # conversion from 'unsigned long' to 'int' LINTFLAGS.bn_nist.c+= -X 161 # constant in conditional context LINTFLAGS.bn_nist.c+= -X 275 # cast discards 'const' from type 'pointer to const unsigned long'