curve448.inc revision 1.1 1 # $NetBSD: curve448.inc,v 1.1 2025/07/17 14:25:25 christos Exp $
2 #
3 # SRCS extracted from src/crypto/dist/openssl/crypto/ec/curve448
4 #
5
6 CURVE448=${OPENSSLSRC}/crypto/ec/curve448
7 .PATH.c: ${CURVE448} ${CURVE448}/arch_32 ${CURVE448}/arch_64
8
9
10 CURVE448_SRCS += \
11 curve448.c \
12 curve448_tables.c \
13 eddsa.c \
14 f_generic.c \
15 f_impl32.c \
16 f_impl64.c \
17 scalar.c
18
19 SRCS += ${CURVE448_SRCS}
20 COPTS.curve448.c+=-Wno-error=stack-protector
21 COPTS.eddsa.c+=-Wno-error=stack-protector
22 COPTS.f_generic.c+=-Wno-error=stack-protector
23
24 .for cryptosrc in ${CURVE448_SRCS}
25 CPPFLAGS.${cryptosrc} = -I${CURVE448} -I${CURVE448}/arch_32 ${CURVE448CPPFLAGS}
26 .endfor
27