Home | History | Annotate | Line # | Download | only in libcrypto
ec.inc revision 1.1
      1 #	$NetBSD: ec.inc,v 1.1 2025/07/17 14:25:25 christos Exp $
      2 
      3 .PATH.c:	${OPENSSLSRC}/crypto/ec
      4 
      5 EC_SRCS += \
      6 curve25519.c \
      7 ec2_oct.c \
      8 ec2_smpl.c \
      9 ec_ameth.c \
     10 ec_asn1.c \
     11 ec_backend.c \
     12 ec_check.c \
     13 ec_curve.c \
     14 ec_cvt.c \
     15 ec_deprecated.c \
     16 ec_err.c \
     17 ec_key.c \
     18 ec_kmeth.c \
     19 ec_lib.c \
     20 ec_mult.c \
     21 ec_oct.c \
     22 ec_pmeth.c \
     23 ec_print.c \
     24 ecdh_kdf.c \
     25 ecdh_ossl.c \
     26 ecdsa_ossl.c \
     27 ecdsa_sign.c \
     28 ecdsa_vrf.c \
     29 eck_prn.c \
     30 ecp_mont.c \
     31 ecp_nist.c \
     32 ecp_oct.c \
     33 ecp_smpl.c \
     34 ecx_backend.c \
     35 ecx_key.c \
     36 ecx_meth.c \
     37 
     38 .if defined(ECNI)
     39 .if !defined(ECNONISTZ)
     40 COPTS.ecp_nistz256.c+=-Wno-error=stack-protector
     41 EC_SRCS+= ecp_nistz256.c
     42 .endif
     43 .if empty(ECCPPFLAGS:M*OPENSSL_NO_EC_NISTP_64_GCC_128*)
     44 EC_SRCS+= ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c
     45 .endif
     46 .endif
     47 
     48 SRCS += ${EC_SRCS}
     49 
     50 .for cryptosrc in ${EC_SRCS}
     51 CPPFLAGS.${cryptosrc} += -I${OPENSSLSRC}/crypto/ec ${ECCPPFLAGS}
     52 .endfor
     53