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

Fabio Estevam festevam at gmail.com
Sat Apr 16 15:35:17 CEST 2022


On Fri, Apr 15, 2022 at 8:23 AM Gaurav Jain <gaurav.jain at nxp.com> wrote:
>
> 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>


More information about the U-Boot mailing list