mirror of
https://github.com/openssl/openssl.git
synced 2025-03-19 19:50:42 +08:00
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)
This commit is contained in:
parent
f97a8af2f3
commit
64fd90fbe9
@ -61,9 +61,15 @@ ENDIF
|
||||
|
||||
$COMMON=aes_misc.c aes_ecb.c $AESASM
|
||||
SOURCE[../../libcrypto]=$COMMON aes_cfb.c aes_ofb.c aes_ige.c aes_wrap.c
|
||||
DEFINE[../../libcrypto]=$AESDEF
|
||||
SOURCE[../../providers/libfips.a]=$COMMON
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules.
|
||||
DEFINE[../../libcrypto]=$AESDEF
|
||||
DEFINE[../../providers/libfips.a]=$AESDEF
|
||||
DEFINE[../../providers/libimplementations.a]=$AESDEF
|
||||
# fipsprov.c needs access to AESNI.
|
||||
DEFINE[../../providers/fips]=$AESDEF
|
||||
|
||||
GENERATE[aes-ia64.s]=asm/aes-ia64.S
|
||||
|
||||
|
@ -108,9 +108,12 @@ $COMMON=bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c \
|
||||
bn_const.c bn_x931p.c bn_intern.c bn_dh.c \
|
||||
bn_rsa_fips186_4.c $BNASM
|
||||
SOURCE[../../libcrypto]=$COMMON bn_print.c bn_err.c bn_depr.c bn_srp.c
|
||||
DEFINE[../../libcrypto]=$BNDEF
|
||||
SOURCE[../../providers/libfips.a]=$COMMON
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules.
|
||||
DEFINE[../../libcrypto]=$BNDEF
|
||||
DEFINE[../../providers/libfips.a]=$BNDEF
|
||||
DEFINE[../../providers/libimplementations.a]=$BNDEF
|
||||
|
||||
INCLUDE[../../libcrypto]=../../crypto/include
|
||||
|
||||
|
@ -77,10 +77,14 @@ SOURCE[../libcrypto]=$UTIL_COMMON \
|
||||
cversion.c info.c cpt_err.c ebcdic.c uid.c o_time.c o_dir.c \
|
||||
o_fopen.c getenv.c o_init.c o_fips.c init.c trace.c provider.c \
|
||||
$UPLINKSRC
|
||||
DEFINE[../libcrypto]=$UTIL_DEFINE $UPLINKDEF
|
||||
SOURCE[../providers/libfips.a]=$UTIL_COMMON
|
||||
DEFINE[../providers/libfips.a]=$UTIL_DEFINE
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules.
|
||||
DEFINE[../libcrypto]=$UTIL_DEFINE $UPLINKDEF
|
||||
DEFINE[../providers/libfips.a]=$UTIL_DEFINE
|
||||
DEFINE[../providers/fips]=$UTIL_DEFINE
|
||||
DEFINE[../providers/libimplementations.a]=$UTIL_DEFINE
|
||||
|
||||
DEPEND[info.o]=buildinf.h
|
||||
DEPEND[cversion.o]=buildinf.h
|
||||
|
@ -56,9 +56,13 @@ $COMMON=ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c \
|
||||
$ECASM
|
||||
SOURCE[../../libcrypto]=$COMMON ec_ameth.c ec_pmeth.c ecx_meth.c ec_err.c \
|
||||
ecdh_kdf.c eck_prn.c
|
||||
DEFINE[../../libcrypto]=$ECDEF
|
||||
SOURCE[../../providers/libfips.a]=$COMMON
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules.
|
||||
DEFINE[../../libcrypto]=$ECDEF
|
||||
DEFINE[../../providers/libfips.a]=$ECDEF
|
||||
DEFINE[../../providers/libimplementations.a]=$ECDEF
|
||||
|
||||
GENERATE[ecp_nistz256-x86.s]=asm/ecp_nistz256-x86.pl
|
||||
|
||||
|
@ -15,7 +15,11 @@ IF[{- !$disabled{asm} -}]
|
||||
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
|
||||
|
||||
|
@ -52,10 +52,14 @@ $COMMON=cbc128.c ctr128.c cfb128.c ofb128.c gcm128.c ccm128.c xts128.c \
|
||||
wrap128.c $MODESASM
|
||||
SOURCE[../../libcrypto]=$COMMON \
|
||||
cts128.c ocb128.c siv128.c
|
||||
|
||||
DEFINE[../../libcrypto]=$MODESDEF
|
||||
SOURCE[../../providers/libfips.a]=$COMMON
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules.
|
||||
DEFINE[../../libcrypto]=$MODESDEF
|
||||
DEFINE[../../providers/libfips.a]=$MODESDEF
|
||||
DEFINE[../../providers/libimplementations.a]=$MODESDEF
|
||||
|
||||
|
||||
INCLUDE[gcm128.o]=..
|
||||
|
||||
|
@ -30,7 +30,11 @@ IF[{- !$disabled{asm} -}]
|
||||
ENDIF
|
||||
|
||||
SOURCE[../../libcrypto]=poly1305_ameth.c poly1305.c $POLY1305ASM
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules.
|
||||
DEFINE[../../libcrypto]=$POLY1305DEF
|
||||
DEFINE[../providers/libimplementations.a]=$POLY1305DEF
|
||||
|
||||
GENERATE[poly1305-sparcv9.S]=asm/poly1305-sparcv9.pl
|
||||
INCLUDE[poly1305-sparcv9.o]=..
|
||||
|
@ -13,7 +13,11 @@ IF[{- !$disabled{asm} -}]
|
||||
ENDIF
|
||||
|
||||
SOURCE[../../libcrypto]=rmd_dgst.c rmd_one.c $RMD160ASM
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules
|
||||
DEFINE[../../libcrypto]=$RMD160DEF
|
||||
DEFINE[../providers/libimplementations.a]=$RMD160DEF
|
||||
|
||||
GENERATE[rmd-586.s]=asm/rmd-586.pl
|
||||
DEPEND[rmd-586.s]=../perlasm/x86asm.pl
|
||||
|
@ -75,9 +75,13 @@ ENDIF
|
||||
|
||||
$COMMON=sha1dgst.c sha256.c sha512.c sha3.c $SHA1ASM $KECCAK1600ASM
|
||||
SOURCE[../../libcrypto]=$COMMON sha1_one.c
|
||||
DEFINE[../../libcrypto]=$SHA1DEF $KECCAK1600DEF
|
||||
SOURCE[../../providers/libfips.a]= $COMMON
|
||||
DEFINE[../../providers/libfips.a]= $SHA1DEF $KECCAK1600DEF
|
||||
|
||||
# Implementations are now spread across several libraries, so the defines
|
||||
# need to be applied to all affected libraries and modules.
|
||||
DEFINE[../../libcrypto]=$SHA1DEF $KECCAK1600DEF
|
||||
DEFINE[../../providers/libfips.a]=$SHA1DEF $KECCAK1600DEF
|
||||
DEFINE[../../providers/libimplementations.a]=$SHA1DEF $KECCAK1600DEF
|
||||
|
||||
GENERATE[sha1-586.s]=asm/sha1-586.pl
|
||||
DEPEND[sha1-586.s]=../perlasm/x86asm.pl
|
||||
|
@ -18,7 +18,11 @@ IF[{- !$disabled{asm} -}]
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user