zephyr/drivers/crypto
Erwan Gouriou e35974c804 drivers: crypto: stm32: Replace buffer len assert by error logic
In case asserts are deactivated, no check is done on buffers length.
Remove asserts and return an error when lengths are not correct.

Check error in case length is set by API user.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2023-08-30 10:19:07 +02:00
..
CMakeLists.txt
Kconfig
Kconfig.ataes132a
Kconfig.intel
Kconfig.it8xxx2
Kconfig.mcux_dcp
Kconfig.npcx
Kconfig.nrf_ecb
Kconfig.stm32
Kconfig.xec
crypto_ataes132a.c
crypto_ataes132a_priv.h
crypto_intel_sha.c
crypto_intel_sha_priv.h
crypto_intel_sha_registers.h
crypto_it8xxx2_sha.c drivers: crypto: it8xxx2_evb: fix a shadow variable error 2023-08-28 19:17:46 +01:00
crypto_mchp_xec_symcr.c
crypto_mcux_dcp.c
crypto_mtls_shim.c
crypto_npcx_sha.c
crypto_nrf_ecb.c
crypto_stm32.c drivers: crypto: stm32: Replace buffer len assert by error logic 2023-08-30 10:19:07 +02:00
crypto_stm32_priv.h
crypto_tc_shim.c
crypto_tc_shim_priv.h