mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
samples: drivers: crypto: add support for stm32 with aes peripheral
This commit adds support for stm32 socs with aes peripheral in the crypto sample. Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
committed by
Christopher Friedt
parent
809b7c76d3
commit
035fefcd64
@@ -21,8 +21,10 @@ LOG_MODULE_REGISTER(main);
|
||||
#define CRYPTO_DRV_NAME CONFIG_CRYPTO_TINYCRYPT_SHIM_DRV_NAME
|
||||
#elif CONFIG_CRYPTO_MBEDTLS_SHIM
|
||||
#define CRYPTO_DRV_NAME CONFIG_CRYPTO_MBEDTLS_SHIM_DRV_NAME
|
||||
#elif CONFIG_CRYPTO_STM32
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(st_stm32_cryp)
|
||||
#define CRYPTO_DRV_NAME DT_LABEL(DT_INST(0, st_stm32_cryp))
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(st_stm32_aes)
|
||||
#define CRYPTO_DRV_NAME DT_LABEL(DT_INST(0, st_stm32_aes))
|
||||
#elif CONFIG_CRYPTO_NRF_ECB
|
||||
#define CRYPTO_DRV_NAME DT_LABEL(DT_INST(0, nordic_nrf_ecb))
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user