Hi Steve, thanks for flagging this, I will follow up with a fix shortly.

-----Original Message-----
From: Steve Rizor <[email protected]> 
Sent: Friday, 20 November, 2026 6:44 PM
To: [email protected]
Cc: Steve Rizor <[email protected]>; Nicolau, Radu 
<[email protected]>; Ji, Kai <[email protected]>
Subject: Re: [PATCH v6 2/4] crypto/ipsec_mb: add support for 256-NxA4/5/6 
algorithms

Hi Radu, Kai,

I found what looks like a digest placement issue in the AESNI MB PMD when 
chaining NIA4/5/6 authentication with NEA4/5/6 ciphering and encrypting an 
appended MAC-I. The same omission is still present in DPDK main at
c36aa2ffce75d4f91a4fe7f082db748e1f8854d1 (26.11-rc4).

Although IPsec MB 3 removed support for non-byte-aligned input, the DPDK 
cipher/auth operation offsets and lengths for these algorithms remain in bits. 
The job setup correctly converts them to bytes for IPsec MB.
However, aesni_mb_digest_appended_in_src() and the corresponding
post_process_mb_job() path omit NEA4/5/6 and NIA4/5/6 from their bit-to-byte 
conversions.

Thanks,
Steve

Reply via email to