tests: crypto_aes: add espressif support boards
Add ESP32 devkits in testcases.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
diff --git a/tests/crypto/crypto_aes/src/main.c b/tests/crypto/crypto_aes/src/main.c
index c3fe23f..3da74aa 100644
--- a/tests/crypto/crypto_aes/src/main.c
+++ b/tests/crypto/crypto_aes/src/main.c
@@ -12,6 +12,8 @@
#ifdef CONFIG_CRYPTO_MBEDTLS_SHIM
#define CRYPTO_DRV_NAME CONFIG_CRYPTO_MBEDTLS_SHIM_DRV_NAME
+#elif CONFIG_CRYPTO_ESP32_AES
+#define CRYPTO_DEV_COMPAT espressif_esp32_aes
#else
#error "You need to enable one crypto device"
#endif
diff --git a/tests/crypto/crypto_aes/testcase.yaml b/tests/crypto/crypto_aes/testcase.yaml
index 36d0983..64d4884 100644
--- a/tests/crypto/crypto_aes/testcase.yaml
+++ b/tests/crypto/crypto_aes/testcase.yaml
@@ -1,8 +1,17 @@
tests:
- crypto.aes:
+ crypto.aes.mbedtls_shim:
platform_allow:
- native_sim
integration_platforms:
- native_sim
extra_args: EXTRA_CONF_FILE=prj_mtls_shim.conf
tags: crypto
+ crypto.aes:
+ platform_allow:
+ - esp32_devkitc/esp32/procpu
+ - esp32s2_devkitc
+ - esp32s3_devkitc/esp32s3/procpu
+ - esp32c3_devkitc
+ - esp32c6_devkitc/esp32c6/hpcore
+ - esp32h2_devkitm
+ tags: crypto