40aef3679857dfcb55deea9ce22ddcbe65fadb6c
[openssl.git] / crypto / ec / build.info
1 $ECASM=
2 IF[{- !$disabled{asm} -}]
3   $ECASM_x86=ecp_nistz256.c ecp_nistz256-x86.s
4   $ECDEF_x86=ECP_NISTZ256_ASM
5
6   $ECASM_x86_64=ecp_nistz256.c ecp_nistz256-x86_64.s x25519-x86_64.s
7   $ECDEF_x86_64=ECP_NISTZ256_ASM X25519_ASM
8
9   $ECASM_ia64=
10
11   $ECASM_sparcv9=ecp_nistz256.c ecp_nistz256-sparcv9.S
12   $ECDEF_sparcv9=ECP_NISTZ256_ASM
13
14   $ECASM_sparcv8=
15
16   $ECASM_alpha=
17
18   $ECASM_mips32=
19   $ECASM_mips64=
20
21   $ECASM_s390x=ecp_s390x_nistp.c
22   $ECDEF_s390x=S390X_EC_ASM
23
24   $ECASM_armv4=ecp_nistz256.c ecp_nistz256-armv4.S
25   $ECDEF_armv4=ECP_NISTZ256_ASM
26   $ECASM_aarch64=ecp_nistz256.c ecp_nistz256-armv8.S
27   $ECDEF_aarch64=ECP_NISTZ256_ASM
28
29   $ECASM_parisc11=
30   $ECASM_parisc20_64=
31
32   $ECASM_ppc32=
33   $ECASM_ppc64=ecp_nistz256.c ecp_nistz256-ppc64.s x25519-ppc64.s
34   $ECDEF_ppc64=ECP_NISTZ256_ASM X25519_ASM
35
36   $ECASM_c64xplus=
37
38   # Now that we have defined all the arch specific variables, use the
39   # appropriate one, and define the appropriate macros
40   IF[$ECASM_{- $target{asm_arch} -}]
41     $ECASM=$ECASM_{- $target{asm_arch} -}
42     $ECDEF=$ECDEF_{- $target{asm_arch} -}
43   ENDIF
44 ENDIF
45
46 LIBS=../../libcrypto
47
48 $COMMON=ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c \
49         ec_curve.c ec_check.c ec_print.c ec_key.c ec_asn1.c \
50         ec2_smpl.c \
51         ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c \
52         ecp_oct.c ec2_oct.c ec_oct.c ec_kmeth.c ecdh_ossl.c \
53         ecdsa_ossl.c ecdsa_sign.c ecdsa_vrf.c curve25519.c \
54         curve448/arch_32/f_impl.c curve448/f_generic.c curve448/scalar.c \
55         curve448/curve448_tables.c curve448/eddsa.c curve448/curve448.c \
56         $ECASM
57 SOURCE[../../libcrypto]=$COMMON ec_ameth.c ec_pmeth.c ecx_meth.c ec_err.c \
58                         ecdh_kdf.c eck_prn.c
59 DEFINE[../../libcrypto]=$ECDEF
60 SOURCE[../../providers/libfips.a]=$COMMON
61 DEFINE[../../providers/libfips.a]=$ECDEF
62
63 GENERATE[ecp_nistz256-x86.s]=asm/ecp_nistz256-x86.pl
64
65 GENERATE[ecp_nistz256-x86_64.s]=asm/ecp_nistz256-x86_64.pl
66
67 GENERATE[ecp_nistz256-avx2.s]=asm/ecp_nistz256-avx2.pl
68
69 GENERATE[ecp_nistz256-sparcv9.S]=asm/ecp_nistz256-sparcv9.pl
70 INCLUDE[ecp_nistz256-sparcv9.o]=..
71
72 GENERATE[ecp_nistz256-armv4.S]=asm/ecp_nistz256-armv4.pl
73 INCLUDE[ecp_nistz256-armv4.o]=..
74 GENERATE[ecp_nistz256-armv8.S]=asm/ecp_nistz256-armv8.pl
75 INCLUDE[ecp_nistz256-armv8.o]=..
76 GENERATE[ecp_nistz256-ppc64.s]=asm/ecp_nistz256-ppc64.pl
77
78 GENERATE[x25519-x86_64.s]=asm/x25519-x86_64.pl
79 GENERATE[x25519-ppc64.s]=asm/x25519-ppc64.pl
80
81 INCLUDE[curve448/arch_32/f_impl.o]=curve448/arch_32 curve448
82 INCLUDE[curve448/f_generic.o]=curve448/arch_32 curve448
83 INCLUDE[curve448/scalar.o]=curve448/arch_32 curve448
84 INCLUDE[curve448/curve448_tables.o]=curve448/arch_32 curve448
85 INCLUDE[curve448/eddsa.o]=curve448/arch_32 curve448
86 INCLUDE[curve448/curve448.o]=curve448/arch_32 curve448