> -----Original Message-----
> From: Ciara Power <ciara.po...@intel.com>
> Sent: Friday, June 23, 2023 3:51 PM
> To: dev@dpdk.org
> Cc: Power, Ciara <ciara.po...@intel.com>; Ji, Kai <kai...@intel.com>
> Subject: [PATCH v2] crypto/qat: fix NULL algorithm digest placement
> 
> 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 expected, and the digest is placed to the side, as it 
> won't
> be used anyway.
> 
> Fixes: db0e952a5c01 ("crypto/qat: add NULL capability")
> 
> Signed-off-by: Ciara Power <ciara.po...@intel.com>
> ---
> v2: added fixes line as this was a bug
> ---
> --
> 2.25.1

Acked-by: Arek Kusztal <arkadiuszx.kusz...@intel.com>

Reply via email to