Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix gcm iv length

2019-11-05 Thread Akhil Goyal
> > The example IPsec application does not work properly when using > AES-GCM with crypto_openssl. > > ESP with AES-GCM uses standard 96bit long algorithm IV ([1]) which > later concatenated with be32(1) forms a J0 block. GCM specification > ([2], chapter 7.1) states that when length of IV is

[dpdk-dev] [PATCH] examples/ipsec-secgw: fix gcm iv length

2019-10-31 Thread Marcin Smoczynski
The example IPsec application does not work properly when using AES-GCM with crypto_openssl. ESP with AES-GCM uses standard 96bit long algorithm IV ([1]) which later concatenated with be32(1) forms a J0 block. GCM specification ([2], chapter 7.1) states that when length of IV is different than 96b