commit | 2b0f059919e6e9a0aa442dece33dd30131da4e2c | [log] [tgz] |
---|---|---|
author | Gaurav Jain <gaurav.jain@nxp.com> | Fri Apr 15 16:52:34 2022 +0530 |
committer | Stefano Babic <sbabic@denx.de> | Thu Apr 21 15:18:25 2022 +0200 |
tree | 4882ba3ad83673cea353e25cab6f400c400a5f72 | |
parent | 11ba63fe1021f94644473fb49a60f1307a253fd7 [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>