[PATCH] crypto/fsl: Clear the memory when blob decapsulation fails

sbabic at denx.de sbabic at denx.de
Fri Apr 22 10:46:11 CEST 2022


> issue: blob decapsulation operation store the decrypted data
>        in memory even if ICV check failed.
> fix: clear the blob data output memory.
> Fixes: c5de15cbc8 (crypto/fsl: Add command for encapsulating/decapsulating blobs)
> Signed-off-by: Gaurav Jain <gaurav.jain at nxp.com>
> Reviewed-by: Kshitiz Varshney <kshitiz.varshney at nxp.com>
> Tested-by: Kshitiz Varshney <kshitiz.varshney at nxp.com>
> Reviewed-by: Fabio Estevam <festevam at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list