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:
Francois Ramu 2023-07-24 14:10:58 +02:00 committed by Fabio Baltieri
commit 05a7ad1087

View file

@ -48,10 +48,6 @@ LOG_MODULE_REGISTER(crypto_stm32);
#define STM32_CRYPTO_TYPEDEF AES_TypeDef
#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];
static void copy_reverse_words(uint8_t *dst_buf, int dst_len,