mirror of
https://github.com/openssl/openssl.git
synced 2025-01-06 13:26:43 +08:00
64fd90fbe9
Implementations are now spread across several libraries, so the assembler related defines need to be applied to all affected libraries and modules. AES_ASM define was missing from libimplementations.a which disabled AESNI aarch64 changes were made by xkqian. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10180)
30 lines
818 B
Plaintext
30 lines
818 B
Plaintext
LIBS=../../libcrypto
|
|
|
|
$MD5ASM=
|
|
IF[{- !$disabled{asm} -}]
|
|
$MD5ASM_x86=md5-586.s
|
|
$MD5ASM_x86_64=md5-x86_64.s
|
|
$MD5ASM_sparcv9=md5-sparcv9.S
|
|
|
|
# Now that we have defined all the arch specific variables, use the
|
|
# appropriate one, and define the appropriate macros
|
|
IF[$MD5ASM_{- $target{asm_arch} -}]
|
|
$MD5ASM=$MD5ASM_{- $target{asm_arch} -}
|
|
$MD5DEF=MD5_ASM
|
|
ENDIF
|
|
ENDIF
|
|
|
|
SOURCE[../../libcrypto]=md5_dgst.c md5_one.c md5_sha1.c $MD5ASM
|
|
|
|
# Implementations are now spread across several libraries, so the defines
|
|
# need to be applied to all affected libraries and modules.
|
|
DEFINE[../../libcrypto]=$MD5DEF
|
|
DEFINE[../../providers/libimplementations.a]=$MD5DEF
|
|
|
|
GENERATE[md5-586.s]=asm/md5-586.pl
|
|
|
|
GENERATE[md5-x86_64.s]=asm/md5-x86_64.pl
|
|
|
|
GENERATE[md5-sparcv9.S]=asm/md5-sparcv9.pl
|
|
INCLUDE[md5-sparcv9.o]=..
|