RE: [EXT] [PATCH] crypto/qat: fix raw API null algorithm digest

2023-09-21 Thread Akhil Goyal
> QAT HW generates bytes of 0x00 digest, even when a digest of len 0 is > requested for NULL. This caused test failures when the test vector had > digest len 0, as the buffer has unexpected changed bytes. > > By placing the digest into the cookie for NULL authentication, > the buffer remains uncha

[PATCH] crypto/qat: fix raw API null algorithm digest

2023-09-07 Thread Ciara Power
QAT HW generates bytes of 0x00 digest, even when a digest of len 0 is requested for NULL. This caused test failures when the test vector had digest len 0, as the buffer has unexpected changed bytes. By placing the digest into the cookie for NULL authentication, the buffer remains unchanged as expe