mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Fix detection for riscv64/riscv32
Fixes #22871 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/22881)
This commit is contained in:
parent
e46a6b1a5d
commit
ff27959769
@ -61,9 +61,9 @@ static const PROV_CCM_HW aes_ccm = {
|
||||
# include "cipher_aes_ccm_hw_aesni.inc"
|
||||
#elif defined(SPARC_AES_CAPABLE)
|
||||
# include "cipher_aes_ccm_hw_t4.inc"
|
||||
#elif defined(__riscv) && __riscv_xlen == 64
|
||||
#elif defined(OPENSSL_CPUID_OBJ) && defined(__riscv) && __riscv_xlen == 64
|
||||
# include "cipher_aes_ccm_hw_rv64i.inc"
|
||||
#elif defined(__riscv) && __riscv_xlen == 32
|
||||
#elif defined(OPENSSL_CPUID_OBJ) && defined(__riscv) && __riscv_xlen == 32
|
||||
# include "cipher_aes_ccm_hw_rv32i.inc"
|
||||
#else
|
||||
const PROV_CCM_HW *ossl_prov_aes_hw_ccm(size_t keybits)
|
||||
|
Loading…
Reference in New Issue
Block a user