drivers: crypto: stm32h5 CRYP_DATATYPE_8B define in hal
Define only once the CRYP_DATATYPE_8B for the stm32h5 serie This macro is in modules/hal/stm32/stm32cube/stm32h5xx/d rivers/include/stm32h5xx_hal_cryp.h Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
b3fbdc158a
commit
05a7ad1087
1 changed files with 0 additions and 4 deletions
|
@ -48,10 +48,6 @@ LOG_MODULE_REGISTER(crypto_stm32);
|
||||||
#define STM32_CRYPTO_TYPEDEF AES_TypeDef
|
#define STM32_CRYPTO_TYPEDEF AES_TypeDef
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SOC_SERIES_STM32H5X)
|
|
||||||
#define CRYP_DATATYPE_8B CRYP_BYTE_SWAP
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct crypto_stm32_session crypto_stm32_sessions[CRYPTO_MAX_SESSION];
|
struct crypto_stm32_session crypto_stm32_sessions[CRYPTO_MAX_SESSION];
|
||||||
|
|
||||||
static void copy_reverse_words(uint8_t *dst_buf, int dst_len,
|
static void copy_reverse_words(uint8_t *dst_buf, int dst_len,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue