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