Debian Codegraph @

debian/rust-vendor/openssl-src/openssl/crypto/sm4/build.info

raw
1 LIBS=../../libcrypto
2
3 IF[{- !$disabled{asm} -}]
4 $SM4DEF_aarch64=SM4_ASM VPSM4_ASM
5 $SM4ASM_aarch64=sm4-armv8.S vpsm4-armv8.S vpsm4_ex-armv8.S
6
7 $SM4DEF_riscv64=SM4_ASM
8 $SM4ASM_riscv64=sm4-riscv64-zvksed.s
9
10 $SM4DEF_x86_64=SM4_ASM
11 $SM4ASM_x86_64=sm4-x86_64.S
12
13 # Now that we have defined all the arch specific variables, use the
14 # appropriate one, and define the appropriate macros
15 IF[$SM4ASM_{- $target{asm_arch} -}]
16 $SM4ASM=$SM4ASM_{- $target{asm_arch} -}
17 $SM4DEF=$SM4DEF_{- $target{asm_arch} -}
18 ENDIF
19 ENDIF
20
21 SOURCE[../../libcrypto]= $SM4ASM sm4.c
22
23
24 # Implementations are now spread across several libraries, so the defines
25 # need to be applied to all affected libraries and modules.
26 DEFINE[../../libcrypto]=$SM4DEF
27 DEFINE[../../providers/libfips.a]=$SM4DEF
28 DEFINE[../../providers/libdefault.a]=$SM4DEF
29 # We only need to include the SM4DEF stuff in the legacy provider when it's a
30 # separate module and it's dynamically linked with libcrypto. Otherwise, it
31 # already gets everything that the static libcrypto.a has, and doesn't need it
32 # added again.
33 IF[{- !$disabled{module} && !$disabled{shared} -}]
34 DEFINE[../../providers/liblegacy.a]=$SM4DEF
35 ENDIF
36
37 GENERATE[sm4-armv8.S]=asm/sm4-armv8.pl
38 GENERATE[vpsm4-armv8.S]=asm/vpsm4-armv8.pl
39 GENERATE[vpsm4_ex-armv8.S]=asm/vpsm4_ex-armv8.pl
40 INCLUDE[sm4-armv8.o]=..
41 INCLUDE[vpsm4-armv8.o]=..
42 INCLUDE[vpsm4_ex-armv8.o]=..
43 GENERATE[sm4-riscv64-zvksed.s]=asm/sm4-riscv64-zvksed.pl
44 GENERATE[sm4-x86_64.S]=asm/sm4-x86_64.pl