]>
Commit | Line | Data |
---|---|---|
777a2882 | 1 | LIBS=../../libcrypto |
246b5060 RL |
2 | |
3 | $POLY1305ASM= | |
4 | IF[{- !$disabled{asm} -}] | |
5 | $POLY1305ASM_x86=poly1305-x86.s | |
6 | $POLY1305ASM_x86_64=poly1305-x86_64.s | |
7 | ||
8 | $POLY1305ASM_ia64=asm/poly1305-ia64.S | |
9 | ||
10 | $POLY1305ASM_sparcv9=poly1305-sparcv9.S | |
11 | ||
12 | $POLY1305ASM_mips64=poly1305-mips.S | |
13 | ||
14 | $POLY1305ASM_s390x=poly1305-s390x.S | |
15 | ||
16 | $POLY1305ASM_armv4=poly1305-armv4.S | |
17 | $POLY1305ASM_aarch64=poly1305-armv8.S | |
18 | ||
19 | $POLY1305ASM_ppc32=poly1305-ppc.s poly1305-ppcfp.s | |
20 | $POLY1305ASM_ppc64=$POLY1305ASM_ppc32 | |
21 | ||
22 | $POLY1305ASM_c64xplus=poly1305-c64xplus.s | |
23 | ||
24 | # Now that we have defined all the arch specific variables, use the | |
25 | # appropriate one, and define the appropriate macros | |
26 | IF[$POLY1305ASM_{- $target{asm_arch} -}] | |
27 | $POLY1305ASM=$POLY1305ASM_{- $target{asm_arch} -} | |
28 | $POLY1305DEF=POLY1305_ASM | |
29 | ENDIF | |
30 | ENDIF | |
31 | ||
2cf765e5 | 32 | SOURCE[../../libcrypto]=poly1305.c $POLY1305ASM |
64fd90fb SL |
33 | |
34 | # Implementations are now spread across several libraries, so the defines | |
35 | # need to be applied to all affected libraries and modules. | |
246b5060 | 36 | DEFINE[../../libcrypto]=$POLY1305DEF |
64fd90fb | 37 | DEFINE[../providers/libimplementations.a]=$POLY1305DEF |
567a9e6f | 38 | |
a1c8befd | 39 | GENERATE[poly1305-sparcv9.S]=asm/poly1305-sparcv9.pl |
f0667b14 | 40 | INCLUDE[poly1305-sparcv9.o]=.. |
a1c8befd RL |
41 | GENERATE[poly1305-x86.s]=asm/poly1305-x86.pl |
42 | GENERATE[poly1305-x86_64.s]=asm/poly1305-x86_64.pl | |
43 | GENERATE[poly1305-ppc.s]=asm/poly1305-ppc.pl | |
44 | GENERATE[poly1305-ppcfp.s]=asm/poly1305-ppcfp.pl | |
45 | GENERATE[poly1305-armv4.S]=asm/poly1305-armv4.pl | |
ee619197 | 46 | INCLUDE[poly1305-armv4.o]=.. |
a1c8befd | 47 | GENERATE[poly1305-armv8.S]=asm/poly1305-armv8.pl |
ee619197 | 48 | INCLUDE[poly1305-armv8.o]=.. |
a1c8befd | 49 | GENERATE[poly1305-mips.S]=asm/poly1305-mips.pl |
947716c1 | 50 | INCLUDE[poly1305-mips.o]=.. |
a1c8befd | 51 | GENERATE[poly1305-c64xplus.S]=asm/poly1305-c64xplus.pl |
2e6b615f | 52 | INCLUDE[poly1305-s390x.o]=.. |
a1c8befd | 53 | GENERATE[poly1305-s390x.S]=asm/poly1305-s390x.pl |