blob: 0f63100904087fe0f06d68b4e41e2d368509efe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $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'
|