xref: /openssl/crypto/sm3/build.info (revision f20ee1f4)
1LIBS=../../libcrypto
2
3IF[{- !$disabled{sm3} -}]
4  IF[{- !$disabled{asm} -}]
5    $SM3ASM_aarch64=sm3-armv8.S
6    $SM3DEF_aarch64=OPENSSL_SM3_ASM
7
8    $SM3ASM_riscv64=sm3_riscv.c sm3-riscv64-zvksh.S
9    $SM3DEF_riscv64=OPENSSL_SM3_ASM
10
11    # Now that we have defined all the arch specific variables, use the
12    # appropriate ones, and define the appropriate macros
13    IF[$SM3ASM_{- $target{asm_arch} -}]
14      $SM3ASM=$SM3ASM_{- $target{asm_arch} -}
15      $SM3DEF=$SM3DEF_{- $target{asm_arch} -}
16    ENDIF
17  ENDIF
18
19  SOURCE[../../libcrypto]=sm3.c legacy_sm3.c $SM3ASM
20  DEFINE[../../libcrypto]=$SM3DEF
21
22  GENERATE[sm3-armv8.S]=asm/sm3-armv8.pl
23  INCLUDE[sm3-armv8.o]=..
24
25  GENERATE[sm3-riscv64-zvksh.S]=asm/sm3-riscv64-zvksh.pl
26ENDIF
27
28