> -----Original Message----- > From: Zhang, Roy Fan > Sent: Thursday, February 09, 2017 6:23 PM > To: De Lara Guarch, Pablo; Doherty, Declan > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] examples/l2fwd-crypto: fix incorrect > padding addition > > > > On 09/02/2017 12:27, Pablo de Lara wrote: > > L2fwd-crypto app was padding an incoming buffer, > > to be aligned with the algorithm block size, in all cases. > > This was not the right approach, as padding is only necessary > > when using block cipher algorithms, such as AES-CBC. > > In case of using a stream cipher algorithm, such as SNOW3G UEA2, > > there is no need to include padding and increase the buffer size. > > > > Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample application") > > > > Signed-off-by: Pablo de Lara <pablo.de.lara.gua...@intel.com> > > > Acked-by : Fan Zhang <roy.fan.zh...@intel.com>
Applied to dpdk-next-crypto. Pablo