[PATCH v2] examples/fips_validation: fix memory leak in sha test

Akhil Goyal gakhil at marvell.com
Mon Jul 4 09:00:10 CEST 2022


> Subject: [PATCH v2] examples/fips_validation: fix memory leak in sha test
> 
> There is wrong size used for allocation of digest buffer which in
> some cases cause memory corruption. Also, fixed places where memory
> leak is observed. This fix would enable sha 384 and 512 NIST vectors
> be supported fully.
> 
> Fixes: 93d797d94f1 ("examples/fips_validation: add parsing for sha")
> 
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
> ---
Applied to dpdk-next-crypto

Thanks.


More information about the dev mailing list