4
0
mirror of https://github.com/QuasarApp/openssl.git synced 2025-05-14 18:39:40 +00:00
Shane Lontis 64fd90fbe9 Fix missing Assembler defines
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)
2019-10-16 16:10:39 +10:00

30 lines
868 B
Plaintext

LIBS=../../libcrypto
$WPASM=wp_block.c
IF[{- !$disabled{asm} -}]
IF[{- $config{processor} ne "386" -}]
$WPASM_x86=wp_block.c wp-mmx.s
$WPDEF_x86=WHIRLPOOL_ASM
ENDIF
$WPASM_x86_64=wp-x86_64.s
$WPDEF_x86_64=WHIRLPOOL_ASM
# Now that we have defined all the arch specific variables, use the
# appropriate one, and define the appropriate macros
IF[$WPASM_{- $target{asm_arch} -}]
$WPASM=$WPASM_{- $target{asm_arch} -}
$WPDEF=$WPDEF_{- $target{asm_arch} -}
ENDIF
ENDIF
SOURCE[../../libcrypto]=wp_dgst.c $WPASM
# Implementations are now spread across several libraries, so the defines
# need to be applied to all affected libraries and modules.
DEFINE[../../libcrypto]=$WPDEF
DEFINE[../../providers/libimplementations.a]=$WPDEF
GENERATE[wp-mmx.s]=asm/wp-mmx.pl
DEPEND[wp-mmx.s]=../perlasm/x86asm.pl
GENERATE[wp-x86_64.s]=asm/wp-x86_64.pl