VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.1/crypto/aes/build.info@ 94082

Last change on this file since 94082 was 94082, checked in by vboxsync, 3 years ago

libs/openssl-3.0.1: started applying and adjusting our OpenSSL changes to 3.0.1. bugref:10128

File size: 4.1 KB
Line 
1LIBS=../../libcrypto
2
3$AESASM=aes_core.c aes_cbc.c
4IF[{- !$disabled{asm} -}]
5 $AESASM_x86=aes-586.s
6 $AESDEF_x86=AES_ASM
7 $AESASM_x86_sse2=vpaes-x86.s aesni-x86.s
8 $AESDEF_x86_sse2=VPAES_ASM OPENSSL_IA32_SSE2
9
10 $AESASM_x86_64=\
11 aes-x86_64.s vpaes-x86_64.s bsaes-x86_64.s aesni-x86_64.s \
12 aesni-sha1-x86_64.s aesni-sha256-x86_64.s aesni-mb-x86_64.s
13 $AESDEF_x86_64=AES_ASM VPAES_ASM BSAES_ASM
14
15 $AESASM_ia64=aes_core.c aes_cbc.c aes-ia64.s
16 $AESDEF_ia64=AES_ASM
17
18 $AESASM_sparcv9=\
19 aes_core.c aes_cbc.c aes-sparcv9.S aest4-sparcv9.S aesfx-sparcv9.S
20 $AESDEF_sparcv9=AES_ASM
21
22 $AESASM_mips32=aes_cbc.c aes-mips.S
23 $AESDEF_mips32=AES_ASM
24 $AESASM_mips64=$AESASM_mips32
25 $AESDEF_mips64=$AESDEF_mips32
26
27 $AESASM_s390x=aes-s390x.S
28 # aes-390x.S implements AES_ctr32_encrypt and AES_xts_[en|de]crypt
29 $AESDEF_s390x=AES_ASM AES_CTR_ASM AES_XTS_ASM
30
31 $AESASM_armv4=aes_cbc.c aes-armv4.S bsaes-armv7.S aesv8-armx.S
32 $AESDEF_armv4=AES_ASM BSAES_ASM
33 $AESASM_aarch64=aes_core.c aes_cbc.c aesv8-armx.S vpaes-armv8.S
34 $AESDEF_aarch64=VPAES_ASM
35
36 $AESASM_parisc11=aes_core.c aes_cbc.c aes-parisc.s
37 $AESDEF_parisc11=AES_ASM
38 $AESASM_parisc20_64=$AESASM_parisc11
39 $AESDEF_parisc20_64=$AESDEF_parisc11
40
41 $AESASM_ppc32=aes_core.c aes_cbc.c aes-ppc.s vpaes-ppc.s aesp8-ppc.s
42 $AESDEF_ppc32=AES_ASM VPAES_ASM
43 $AESASM_ppc64=$AESASM_ppc32
44 $AESDEF_ppc64=$AESDEF_ppc32
45
46 $AESASM_c64xplus=aes-c64xplus.s aes_cbc.c
47 # aes-c64xplus.s implements AES_ctr32_encrypt
48 $AESDEF_c64xplus=AES_ASM AES_CTR_ASM
49
50 # Now that we have defined all the arch specific variables, use the
51 # appropriate one, and define the appropriate macros
52 IF[$AESASM_{- $target{asm_arch} -}]
53 $AESASM=$AESASM_{- $target{asm_arch} -}
54 $AESDEF=$AESDEF_{- $target{asm_arch} -}
55 IF[{- !$disabled{sse2} -}]
56 $AESASM=$AESASM $AESASM_{- $target{asm_arch} -}_sse2
57 $AESDEF=$AESDEF $AESDEF_{- $target{asm_arch} -}_sse2
58 ENDIF
59 ENDIF
60ENDIF
61
62$COMMON=aes_misc.c aes_ecb.c $AESASM
63SOURCE[../../libcrypto]=$COMMON aes_cfb.c aes_ofb.c aes_wrap.c
64IF[{- !$disabled{'deprecated-3.0'} -}]
65 SOURCE[../../libcrypto]=aes_ige.c
66ENDIF
67SOURCE[../../providers/libfips.a]=$COMMON
68
69# Implementations are now spread across several libraries, so the defines
70# need to be applied to all affected libraries and modules.
71DEFINE[../../libcrypto]=$AESDEF
72DEFINE[../../providers/libfips.a]=$AESDEF
73DEFINE[../../providers/libdefault.a]=$AESDEF
74# We only need to include the AESDEF stuff in the legacy provider when it's a
75# separate module and it's dynamically linked with libcrypto. Otherwise, it
76# already gets everything that the static libcrypto.a has, and doesn't need it
77# added again.
78IF[{- !$disabled{module} && !$disabled{shared} -}]
79 DEFINE[../providers/liblegacy.a]=$AESDEF
80ENDIF
81
82GENERATE[aes-ia64.s]=asm/aes-ia64.S
83
84GENERATE[aes-586.s]=asm/aes-586.pl
85DEPEND[aes-586.s]=../perlasm/x86asm.pl
86GENERATE[vpaes-x86.s]=asm/vpaes-x86.pl
87DEPEND[vpaes-586.s]=../perlasm/x86asm.pl
88GENERATE[aesni-x86.s]=asm/aesni-x86.pl
89DEPEND[aesni-586.s]=../perlasm/x86asm.pl
90
91GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl
92GENERATE[vpaes-x86_64.s]=asm/vpaes-x86_64.pl
93GENERATE[bsaes-x86_64.s]=asm/bsaes-x86_64.pl
94GENERATE[aesni-x86_64.s]=asm/aesni-x86_64.pl
95GENERATE[aesni-sha1-x86_64.s]=asm/aesni-sha1-x86_64.pl
96GENERATE[aesni-sha256-x86_64.s]=asm/aesni-sha256-x86_64.pl
97GENERATE[aesni-mb-x86_64.s]=asm/aesni-mb-x86_64.pl
98
99GENERATE[aes-sparcv9.S]=asm/aes-sparcv9.pl
100INCLUDE[aes-sparcv9.o]=..
101GENERATE[aest4-sparcv9.S]=asm/aest4-sparcv9.pl
102INCLUDE[aest4-sparcv9.o]=..
103DEPEND[aest4-sparcv9.S]=../perlasm/sparcv9_modes.pl
104GENERATE[aesfx-sparcv9.S]=asm/aesfx-sparcv9.pl
105INCLUDE[aesfx-sparcv9.o]=..
106
107GENERATE[aes-ppc.s]=asm/aes-ppc.pl
108GENERATE[vpaes-ppc.s]=asm/vpaes-ppc.pl
109GENERATE[aesp8-ppc.s]=asm/aesp8-ppc.pl
110
111GENERATE[aes-parisc.s]=asm/aes-parisc.pl
112
113GENERATE[aes-mips.S]=asm/aes-mips.pl
114INCLUDE[aes-mips.o]=..
115
116GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl
117INCLUDE[aesv8-armx.o]=..
118GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl
119
120GENERATE[aes-armv4.S]=asm/aes-armv4.pl
121INCLUDE[aes-armv4.o]=..
122GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl
123INCLUDE[bsaes-armv7.o]=..
124
125GENERATE[aes-s390x.S]=asm/aes-s390x.pl
126INCLUDE[aes-s390x.o]=..
127
128GENERATE[aes-c64xplus.S]=asm/aes-c64xplus.pl
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette