diff options
author | Gaurav Jain <gaurav.jain@nxp.com> | 2022-04-15 16:52:34 +0530 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-21 15:18:25 +0200 |
commit | cc84edddd17ed6eedbd17ad1ab9672854ec5fa27 (patch) | |
tree | 4882ba3ad83673cea353e25cab6f400c400a5f72 /drivers/ddr/microchip/ddr2.c | |
parent | e3b330e489e777d4cf0d8d83e4d89cfe674ed597 (diff) |
crypto/fsl: Clear the memory when blob decapsulation fails
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@nxp.com>
Reviewed-by: Kshitiz Varshney <kshitiz.varshney@nxp.com>
Tested-by: Kshitiz Varshney <kshitiz.varshney@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'drivers/ddr/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions