Skip to content
Commit e35974c8 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Carles Cufí
Browse files

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: default avatarErwan Gouriou <erwan.gouriou@st.com>
parent d647a85f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment