blob: db506c52a8c2266cf80be6d296968803cef0215b [file] [log] [blame]
Richard Levitte777a2882016-01-29 23:33:10 +01001LIBS=../../libcrypto
2SOURCE[../../libcrypto]=\
3 ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c \
4 ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c \
Billy Brumleya7b0b692018-04-24 16:01:53 +03005 ec2_smpl.c ec_ameth.c ec_pmeth.c eck_prn.c \
Richard Levitte777a2882016-01-29 23:33:10 +01006 ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c \
7 ecp_oct.c ec2_oct.c ec_oct.c ec_kmeth.c ecdh_ossl.c ecdh_kdf.c \
Dr. Stephen Hensonbc7bfb82016-08-11 15:49:07 +01008 ecdsa_ossl.c ecdsa_sign.c ecdsa_vrf.c curve25519.c ecx_meth.c \
Matt Caswellb47758d2017-12-05 16:59:42 +00009 curve448/arch_32/f_impl.c curve448/f_generic.c curve448/scalar.c \
10 curve448/curve448_tables.c curve448/eddsa.c curve448/curve448.c \
Dr. Stephen Henson8dcfdbf2016-02-02 14:50:10 +000011 {- $target{ec_asm_src} -}
Richard Levitte567a9e62016-01-30 03:25:40 +010012
Richard Levitte8c3bc592018-01-23 13:54:55 +010013GENERATE[ecp_nistz256-x86.s]=asm/ecp_nistz256-x86.pl \
Richard Levitte722c9762018-02-13 20:32:42 +010014 $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
Richard Levitte73d2fb62016-03-07 15:47:09 +010015
16GENERATE[ecp_nistz256-x86_64.s]=asm/ecp_nistz256-x86_64.pl $(PERLASM_SCHEME)
17
18GENERATE[ecp_nistz256-avx2.s]=asm/ecp_nistz256-avx2.pl $(PERLASM_SCHEME)
19
20GENERATE[ecp_nistz256-sparcv9.S]=asm/ecp_nistz256-sparcv9.pl $(PERLASM_SCHEME)
Richard Levittef0667b12016-03-10 20:05:52 +010021INCLUDE[ecp_nistz256-sparcv9.o]=..
Richard Levitte73d2fb62016-03-07 15:47:09 +010022
Andy Polyakovee619192016-03-11 13:44:46 +010023GENERATE[ecp_nistz256-armv4.S]=asm/ecp_nistz256-armv4.pl $(PERLASM_SCHEME)
24INCLUDE[ecp_nistz256-armv4.o]=..
25GENERATE[ecp_nistz256-armv8.S]=asm/ecp_nistz256-armv8.pl $(PERLASM_SCHEME)
26INCLUDE[ecp_nistz256-armv8.o]=..
Andy Polyakovd8f432a2016-08-14 19:19:11 +020027GENERATE[ecp_nistz256-ppc64.s]=asm/ecp_nistz256-ppc64.pl $(PERLASM_SCHEME)
Andy Polyakovee619192016-03-11 13:44:46 +010028
Andy Polyakov42efffc2018-02-19 15:09:33 +010029GENERATE[x25519-x86_64.s]=asm/x25519-x86_64.pl $(PERLASM_SCHEME)
30
Richard Levitte567a9e62016-01-30 03:25:40 +010031BEGINRAW[Makefile]
Richard Levitte567a9e62016-01-30 03:25:40 +010032{- $builddir -}/ecp_nistz256-%.S: {- $sourcedir -}/asm/ecp_nistz256-%.pl
Richard Levittede72be22016-02-13 19:15:52 +010033 CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
Richard Levitte567a9e62016-01-30 03:25:40 +010034ENDRAW[Makefile]
Matt Caswellff489fb2017-11-28 16:19:57 +000035
36INCLUDE[curve448/arch_32/f_impl.o]=curve448/arch_32 curve448
Matt Caswellff489fb2017-11-28 16:19:57 +000037INCLUDE[curve448/f_generic.o]=curve448/arch_32 curve448
38INCLUDE[curve448/scalar.o]=curve448/arch_32 curve448
39INCLUDE[curve448/curve448_tables.o]=curve448/arch_32 curve448
40INCLUDE[curve448/eddsa.o]=curve448/arch_32 curve448
41INCLUDE[curve448/curve448.o]=curve448/arch_32 curve448