In l2fwd-crypto application, file main.c , the digest length is not getting decremented for AEAD ciphers. Line 410: if (cparams->do_hash && cparams->hash_verify) data_len -= cparams->digest_length; I think this results in wrong values assignment in line 517 op->sym->aead.data.length = data_len; and wrong digest data pointer assignment in line 524 op->sym->aead.digest.data = rte_pktmbuf_mtod(m, uint8_t *) + ipdata_offset + data_len;
The above issue was seen on the decryption side with aes-gcm cipher.
Ankur, Is this still an issue? Pablo, Can you please take this to closure? Thanks Ajit
(In reply to Ajit Khaparde from comment #2) > Ankur, > Is this still an issue? > > Pablo, > Can you please take this to closure? > > Thanks > Ajit Hi Ajit, Yes this is still an issue with aes-gcm cipher in the case of decryption/verify.
Will take a look at this shortly.
Patch sent and verified by Ankur.
Patch applied in dpdk-next-crypto.