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

2022-07-04 Thread Akhil Goyal
> 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

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

2022-07-04 Thread Akhil Goyal
> 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 NI

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

2022-07-04 Thread Gowrishankar Muthukrishnan
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. Signed-off-by: Gowrishankar Muthukrishnan --- v3: - addes fixes for sugge