mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Do not use stitched AES-GCM implementation on PPC32
The implementation is not usable there at all. Fixes #21301 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21312)
This commit is contained in:
parent
5cd269461a
commit
b256d32915
@ -33,11 +33,11 @@ IF[{- !$disabled{asm} -}]
|
||||
$MODESDEF_parisc20_64=$MODESDEF_parisc11
|
||||
|
||||
$MODESASM_ppc32=ghashp8-ppc.s
|
||||
IF[{- $target{sys_id} ne "AIX" && $target{sys_id} ne "MACOSX" -}]
|
||||
$MODESASM_ppc32=ghashp8-ppc.s aes-gcm-ppc.s
|
||||
ENDIF
|
||||
$MODESDEF_ppc32=
|
||||
$MODESASM_ppc64=$MODESASM_ppc32
|
||||
IF[{- $target{sys_id} ne "AIX" && $target{sys_id} ne "MACOSX" -}]
|
||||
$MODESASM_ppc64=$MODESASM_ppc32 aes-gcm-ppc.s
|
||||
ENDIF
|
||||
$MODESDEF_ppc64=$MODESDEF_ppc32
|
||||
|
||||
$MODESASM_c64xplus=ghash-c64xplus.s
|
||||
|
@ -141,7 +141,7 @@ static const PROV_GCM_HW aes_gcm = {
|
||||
# include "cipher_aes_gcm_hw_t4.inc"
|
||||
#elif defined(AES_PMULL_CAPABLE) && defined(AES_GCM_ASM)
|
||||
# include "cipher_aes_gcm_hw_armv8.inc"
|
||||
#elif defined(PPC_AES_GCM_CAPABLE)
|
||||
#elif defined(PPC_AES_GCM_CAPABLE) && defined(_ARCH_PPC64)
|
||||
# include "cipher_aes_gcm_hw_ppc.inc"
|
||||
#elif defined(RV64I_ZKND_ZKNE_CAPABLE)
|
||||
# include "cipher_aes_gcm_hw_rv64i_zknd_zkne.inc"
|
||||
|
Loading…
Reference in New Issue
Block a user