summaryrefslogtreecommitdiffstats
path: root/providers
diff options
context:
space:
mode:
authorGrant Nichol <me@grantnichol.com>2023-12-22 23:46:39 -0600
committerTomas Mraz <tomas@openssl.org>2024-01-02 11:39:18 +0100
commitd8fa4cf76308924daaf2335c6c0ff2f7334a5b26 (patch)
treeac84c47706d00073d12bc33ba32065cc625667b0 /providers
parent94be985cbcc1f0a5cf4f172d4a8d06c5c623122b (diff)
riscv: Fix mispelling of extension test macro
When refactoring the riscv extension test macros, RISCV_HAS_ZKND_AND_ZKNE was mispelled. CLA: trivial Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23139)
Diffstat (limited to 'providers')
-rw-r--r--providers/implementations/ciphers/cipher_aes_xts_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_aes_xts_hw.c b/providers/implementations/ciphers/cipher_aes_xts_hw.c
index b35b71020e..cef1a05c59 100644
--- a/providers/implementations/ciphers/cipher_aes_xts_hw.c
+++ b/providers/implementations/ciphers/cipher_aes_xts_hw.c
@@ -285,7 +285,7 @@ static const PROV_CIPHER_HW aes_xts_rv32i_zbkb_zknd_zkne = { \
# define PROV_CIPHER_HW_select_xts() \
if (RISCV_HAS_ZBKB_AND_ZKND_AND_ZKNE()) \
return &aes_xts_rv32i_zbkb_zknd_zkne; \
-if (RISCV_HAS_ZKND_ZKNE()) \
+if (RISCV_HAS_ZKND_AND_ZKNE()) \
return &aes_xts_rv32i_zknd_zkne;
# else
/* The generic case */