RE: [PATCH v2] crypto/qat: fix NULL algorithm digest placement

2023-07-03 Thread Akhil Goyal
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Monday, June 26, 2023 11:51 PM > To: Power, Ciara ; dev@dpdk.org > Cc: Power, Ciara ; Ji, Kai > Subject: [EXT] RE: [PATCH v2] crypto/qat: fix NULL algorithm digest placement &

RE: [PATCH v2] crypto/qat: fix NULL algorithm digest placement

2023-06-26 Thread Kusztal, ArkadiuszX
> -Original Message- > From: Ciara Power > Sent: Friday, June 23, 2023 3:51 PM > To: dev@dpdk.org > Cc: Power, Ciara ; Ji, Kai > Subject: [PATCH v2] crypto/qat: fix NULL algorithm digest placement > > QAT HW generates bytes of 0x00 digest, even when a digest

[PATCH v2] crypto/qat: fix NULL algorithm digest placement

2023-06-23 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