Home
last modified time | relevance | path

Searched hist:"2723 d6254dbb73a1f5054826a2a592f2c2cf739b" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/crypto/
H A Dcbc-mac.c2723d6254dbb73a1f5054826a2a592f2c2cf739b Wed Jan 10 14:30:34 UTC 2024 Clement Faure <clement.faure@nxp.com> core: initialize buffer with calloc()

Allocate out_tmp buffer with calloc() instead of malloc()
This relates to a Coverity issue where out_tmp is reported to be
potentially used as uninitialized in memcpy().

Signed-off-by: Clement Faure <clement.faure@nxp.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>