1 | LIBS=../../libcrypto
|
---|
2 |
|
---|
3 | IF[{- !$disabled{sm3} -}]
|
---|
4 | IF[{- !$disabled{asm} -}]
|
---|
5 | $SM3ASM_aarch64=sm3-armv8.S
|
---|
6 | $SM3DEF_aarch64=OPENSSL_SM3_ASM
|
---|
7 |
|
---|
8 | # Now that we have defined all the arch specific variables, use the
|
---|
9 | # appropriate ones, and define the appropriate macros
|
---|
10 | IF[$SM3ASM_{- $target{asm_arch} -}]
|
---|
11 | $SM3ASM=$SM3ASM_{- $target{asm_arch} -}
|
---|
12 | $SM3DEF=$SM3DEF_{- $target{asm_arch} -}
|
---|
13 | ENDIF
|
---|
14 | ENDIF
|
---|
15 |
|
---|
16 | SOURCE[../../libcrypto]=sm3.c legacy_sm3.c $SM3ASM
|
---|
17 | DEFINE[../../libcrypto]=$SM3DEF
|
---|
18 |
|
---|
19 | GENERATE[sm3-armv8.S]=asm/sm3-armv8.pl
|
---|
20 | INCLUDE[sm3-armv8.o]=..
|
---|
21 | ENDIF
|
---|
22 |
|
---|