[PATCH v3] examples/fips_validation: fix memory leak in sha test
Akhil Goyal
gakhil at marvell.com
Mon Jul 4 19:32:13 CEST 2022
> Subject: RE: [PATCH v3] examples/fips_validation: fix memory leak in sha test
>
> > Subject: [PATCH v3] 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: c9819d389b4b ("examples/fips_validation: add parsing for SHA")
>
> ++David/Thomas
Squashed with original commit.
Thanks.
More information about the dev
mailing list