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 drivers: crypto: Add NXP MCUX DCP driver 2023-07-26 09:09:48 +02:00
crypto_ataes132a.c drivers: crypto: ataes132a: Convert to devicetree 2022-07-14 10:37:26 +02:00
crypto_ataes132a_priv.h drivers: crypto: ataes132a: Convert to devicetree 2022-07-14 10:37:26 +02:00
crypto_intel_sha.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
crypto_intel_sha_priv.h Drivers: crypto_intel_sha: Add support for hw intel sha driver 2022-06-06 12:05:12 +02:00
crypto_intel_sha_registers.h Drivers: crypto_intel_sha: Add support for hw intel sha driver 2022-06-06 12:05:12 +02:00
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 drivers: crypto: MEC172x crypto driver supporting hash 2023-05-16 12:07:24 +02:00
crypto_mcux_dcp.c drivers: crypto: Add NXP MCUX DCP driver 2023-07-26 09:09:48 +02:00
crypto_mtls_shim.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
crypto_npcx_sha.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
crypto_nrf_ecb.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
crypto_tc_shim.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
crypto_tc_shim_priv.h
Kconfig drivers: crypto: Add NXP MCUX DCP driver 2023-07-26 09:09:48 +02:00
Kconfig.ataes132a drivers: crypto: Update Kconfig 2022-08-30 10:43:12 +00:00
Kconfig.intel intel: ace15: Enabling sha driver by default 2022-10-31 12:45:33 -07:00
Kconfig.it8xxx2 drivers/crypto/it8xxx2: add support for SHA256 hardware accelerator 2023-07-07 09:24:47 +02:00
Kconfig.mcux_dcp drivers: crypto: Add NXP MCUX DCP driver 2023-07-26 09:09:48 +02:00
Kconfig.npcx drivers: crypto: SHA: npcx: add support for SHA hardware accelerator 2022-12-21 10:10:10 +01:00
Kconfig.nrf_ecb drivers: crypto: Update Kconfig 2022-08-30 10:43:12 +00:00
Kconfig.stm32 drivers: crypto: Update Kconfig 2022-08-30 10:43:12 +00:00
Kconfig.xec drivers: crypto: MEC172x crypto driver supporting hash 2023-05-16 12:07:24 +02:00