riscv: Fix remaining asm checks
authorJakov Smolić <jsmolic@gentoo.org>
Tue, 5 Mar 2024 15:43:11 +0000 (16:43 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 22 Mar 2024 10:03:36 +0000 (11:03 +0100)
commit347f05e893e7b17f8e7ae5995aa7521705821080
treecd18acb1d07180170379334f3247411cc15b2588
parent53ef123f48d402aff7c27f8ec15191cb1cde4105
riscv: Fix remaining asm checks

There are additional asm checks which don't check for OPENSSL_CPUID_OBJ
causing the build to still fail on riscv [1], so fix them in the same
manner as ff279597692f9f19dca5b147944d3d96f2e109f8

[1] https://bugs.gentoo.org/923956
Fixes: https://github.com/openssl/openssl/issues/22871
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23752)

(cherry picked from commit daf1f8d64fff4a395ee7cf032484dc022a27e748)
providers/implementations/ciphers/cipher_aes_gcm_hw.c
providers/implementations/ciphers/cipher_aes_hw.c
providers/implementations/ciphers/cipher_aes_ocb_hw.c
providers/implementations/ciphers/cipher_aes_xts_hw.c