]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: fsl_validate: Fix Double free Issue
authorKshitiz Varshney <kshitiz.varshney@nxp.com>
Sun, 19 Sep 2021 15:09:53 +0000 (17:09 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 09:13:24 +0000 (14:43 +0530)
commitbd2a4eb977232c7062489251cdb5a36a99757fc1
tree6a19bff40c85cdadf674ef2343a387b43a51ac09
parentc0e0cf4989d1de847c4b2ce1927ea7a121351801
board: fsl_validate: Fix Double free Issue

Remove Double free issue from calc_img_key_hash() and
calc_esbchdr_esbc_hash() function.
Verified the secure boot changes using lx2162aqds board.

Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/common/fsl_validate.c
drivers/crypto/fsl/fsl_hash.c