[PATCH] crypto/cnxk: fix out of place AES GCM

Akhil Goyal gakhil at marvell.com
Wed Jun 24 21:46:59 CEST 2026


> Acked-by: Tejasree Kondoj <ktejasree at marvell.com>
> 
> > -----Original Message-----
> > From: Daphne Priscilla <df at marvell.com>
> > Sent: Friday, June 12, 2026 11:50 AM
> > To: dev at dpdk.org
> > Cc: stable at dpdk.org; Akhil Goyal <gakhil at marvell.com>; Tejasree Kondoj
> > <ktejasree at marvell.com>; Anoob Joseph <anoobj at marvell.com>; Daphne
> > Priscilla F <df at marvell.com>
> > Subject: [PATCH] crypto/cnxk: fix out of place AES GCM
> >
> > For AES-GCM out of place, when AAD is present in inbuf before the data, it is
> > treated as passthrough data. This results in AAD being present in outbuf
> > header, but test expects outbuf header to remain zero. Passthrough data is
> > now diverted to metabuf so outbuf header remains zero.
> >
> > Fixes: 7c19abdd0cf1 ("common/cnxk: support 103XX CPT")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Daphne Priscilla <df at marvell.com>
> > ---
> >  .mailmap                                 |  1 +
> >  drivers/common/cnxk/roc_se.h             |  2 +-
> >  drivers/crypto/cnxk/cnxk_cryptodev_ops.c |  3 +
> >  drivers/crypto/cnxk/cnxk_se.h            | 96 ++++++++++++++++++++++--
> >  4 files changed, 93 insertions(+), 9 deletions(-)
Applied to dpdk-next-crypto


More information about the dev mailing list