summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl/0001-riscv-Fix-mispelling-of-extension-test-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl/0001-riscv-Fix-mispelling-of-extension-test-macro.patch')
-rw-r--r--meta/recipes-connectivity/openssl/openssl/0001-riscv-Fix-mispelling-of-extension-test-macro.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl/0001-riscv-Fix-mispelling-of-extension-test-macro.patch b/meta/recipes-connectivity/openssl/openssl/0001-riscv-Fix-mispelling-of-extension-test-macro.patch
new file mode 100644
index 0000000000..1d217bd8e3
--- /dev/null
+++ b/meta/recipes-connectivity/openssl/openssl/0001-riscv-Fix-mispelling-of-extension-test-macro.patch
@@ -0,0 +1,31 @@
1From b51031b05f72923ff1cf3b6a4767450dee89d7f4 Mon Sep 17 00:00:00 2001
2From: Grant Nichol <me@grantnichol.com>
3Date: Fri, 22 Dec 2023 23:46:39 -0600
4Subject: [PATCH] riscv: Fix mispelling of extension test macro
5
6When refactoring the riscv extension test macros,
7RISCV_HAS_ZKND_AND_ZKNE was mispelled.
8
9CLA: trivial
10Upstream-Status: Backport [https://github.com/openssl/openssl/pull/23139]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 providers/implementations/ciphers/cipher_aes_xts_hw.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/providers/implementations/ciphers/cipher_aes_xts_hw.c b/providers/implementations/ciphers/cipher_aes_xts_hw.c
17index 564d6d6..4cf1361 100644
18--- a/providers/implementations/ciphers/cipher_aes_xts_hw.c
19+++ b/providers/implementations/ciphers/cipher_aes_xts_hw.c
20@@ -225,7 +225,7 @@ static const PROV_CIPHER_HW aes_xts_rv32i_zbkb_zknd_zkne = { \
21 # define PROV_CIPHER_HW_select_xts() \
22 if (RISCV_HAS_ZBKB_AND_ZKND_AND_ZKNE()) \
23 return &aes_xts_rv32i_zbkb_zknd_zkne; \
24-if (RISCV_HAS_ZKND_ZKNE()) \
25+if (RISCV_HAS_ZKND_AND_ZKNE()) \
26 return &aes_xts_rv32i_zknd_zkne;
27 # else
28 /* The generic case */
29--
302.43.0
31