This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d955fbc8f38 boards/risc-v/espressif: Fix crypto hash tests for 
esp32[-c3|-c6|-h2|-p4]
d955fbc8f38 is described below

commit d955fbc8f384f2ae42bd375b7a75bd3a36f2ffc9
Author: Eren Terzioglu <[email protected]>
AuthorDate: Mon Jun 1 14:08:53 2026 +0200

    boards/risc-v/espressif: Fix crypto hash tests for esp32[-c3|-c6|-h2|-p4]
    
    Fix crypto hash test errors due to SHA224 test which are not supported on 
NuttX for
    risc-v based Espressif devices.
    
    Signed-off-by: Eren Terzioglu <[email protected]>
---
 boards/risc-v/esp32c3/esp32c3-devkit/configs/crypto/defconfig            | 1 +
 boards/risc-v/esp32c6/esp32c6-devkitc/configs/crypto/defconfig           | 1 +
 boards/risc-v/esp32h2/esp32h2-devkit/configs/crypto/defconfig            | 1 +
 boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/crypto/defconfig | 1 +
 4 files changed, 4 insertions(+)

diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/crypto/defconfig 
b/boards/risc-v/esp32c3/esp32c3-devkit/configs/crypto/defconfig
index 387e1f511dc..a206077c5c5 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/crypto/defconfig
+++ b/boards/risc-v/esp32c3/esp32c3-devkit/configs/crypto/defconfig
@@ -56,6 +56,7 @@ CONFIG_SYSTEM_NSH=y
 CONFIG_TESTING_CRYPTO=y
 CONFIG_TESTING_CRYPTO_HASH=y
 CONFIG_TESTING_CRYPTO_HASH_DISABLE_MD5=y
+CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA224=y
 CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA512=y
 CONFIG_TESTING_CRYPTO_STACKSIZE=4096
 CONFIG_TESTING_GETPRIME=y
diff --git a/boards/risc-v/esp32c6/esp32c6-devkitc/configs/crypto/defconfig 
b/boards/risc-v/esp32c6/esp32c6-devkitc/configs/crypto/defconfig
index d239fc4fb7e..568c8e69744 100644
--- a/boards/risc-v/esp32c6/esp32c6-devkitc/configs/crypto/defconfig
+++ b/boards/risc-v/esp32c6/esp32c6-devkitc/configs/crypto/defconfig
@@ -57,6 +57,7 @@ CONFIG_SYSTEM_NSH=y
 CONFIG_TESTING_CRYPTO=y
 CONFIG_TESTING_CRYPTO_HASH=y
 CONFIG_TESTING_CRYPTO_HASH_DISABLE_MD5=y
+CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA224=y
 CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA512=y
 CONFIG_TESTING_CRYPTO_STACKSIZE=4096
 CONFIG_TESTING_GETPRIME=y
diff --git a/boards/risc-v/esp32h2/esp32h2-devkit/configs/crypto/defconfig 
b/boards/risc-v/esp32h2/esp32h2-devkit/configs/crypto/defconfig
index 3c479548278..a4fc0750fed 100644
--- a/boards/risc-v/esp32h2/esp32h2-devkit/configs/crypto/defconfig
+++ b/boards/risc-v/esp32h2/esp32h2-devkit/configs/crypto/defconfig
@@ -56,6 +56,7 @@ CONFIG_SYSTEM_NSH=y
 CONFIG_TESTING_CRYPTO=y
 CONFIG_TESTING_CRYPTO_HASH=y
 CONFIG_TESTING_CRYPTO_HASH_DISABLE_MD5=y
+CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA224=y
 CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA512=y
 CONFIG_TESTING_CRYPTO_STACKSIZE=4096
 CONFIG_TESTING_GETPRIME=y
diff --git 
a/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/crypto/defconfig 
b/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/crypto/defconfig
index 9e19b189b0b..c8a4344d59e 100644
--- a/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/crypto/defconfig
+++ b/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/crypto/defconfig
@@ -56,6 +56,7 @@ CONFIG_SYSTEM_NSH=y
 CONFIG_TESTING_CRYPTO=y
 CONFIG_TESTING_CRYPTO_HASH=y
 CONFIG_TESTING_CRYPTO_HASH_DISABLE_MD5=y
+CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA224=y
 CONFIG_TESTING_CRYPTO_HASH_DISABLE_SHA512=y
 CONFIG_TESTING_CRYPTO_STACKSIZE=4096
 CONFIG_TESTING_GETPRIME=y

Reply via email to