RE: [EXT] Re: [PATCH v2] examples/ipsec-secgw: set AES-CTR IV length to 16

2023-02-22 Thread Akhil Goyal
> Hi Tejasree, I think it will make more sense but I will let Akhil decide. > > Hi Radu, > > Shall I change AES-128-CTR iv_len field in cipher_algos struct of sa.c from 8 > to > 16 and revert below change? > It is ok to do that, but make sure to add a comment that it includes 4B nonce and 4B

RE: [EXT] Re: [PATCH v2] examples/ipsec-secgw: set AES-CTR IV length to 16

2023-02-22 Thread Nicolau, Radu
ob Joseph ; dev@dpdk.org; Tejasree Kondoj > > Subject: [EXT] Re: [PATCH v2] examples/ipsec-secgw: set AES-CTR IV > length to > 16 > > External Email > > -- > Hi > > On 2/1/2023 2:16 PM, Akhil Go

RE: [EXT] Re: [PATCH v2] examples/ipsec-secgw: set AES-CTR IV length to 16

2023-02-21 Thread Tejasree Kondoj
k.org; Tejasree Kondoj > > Subject: [EXT] Re: [PATCH v2] examples/ipsec-secgw: set AES-CTR IV length to > 16 > > External Email > > -- > Hi > > On 2/1/2023 2:16 PM, Akhil Goyal wrote: > > H

Re: [PATCH v2] examples/ipsec-secgw: set AES-CTR IV length to 16

2023-02-01 Thread Nicolau, Radu
Hi On 2/1/2023 2:16 PM, Akhil Goyal wrote: Hi Radu, Subject: [PATCH v2] examples/ipsec-secgw: set AES-CTR IV length to 16 Set AES-CTR IV length as 16 instead of taking from SA config option since the application populates 16B IV in the datapath. AES-CTR requires 16B IV constructed from nonce

RE: [PATCH v2] examples/ipsec-secgw: set AES-CTR IV length to 16

2023-02-01 Thread Akhil Goyal
Hi Radu, > Subject: [PATCH v2] examples/ipsec-secgw: set AES-CTR IV length to 16 > > Set AES-CTR IV length as 16 instead of taking from > SA config option since the application populates > 16B IV in the datapath. AES-CTR requires 16B IV > constructed from nonce and counter.

[PATCH v2] examples/ipsec-secgw: set AES-CTR IV length to 16

2022-12-14 Thread Tejasree Kondoj
Set AES-CTR IV length as 16 instead of taking from SA config option since the application populates 16B IV in the datapath. AES-CTR requires 16B IV constructed from nonce and counter. Signed-off-by: Tejasree Kondoj --- v2: * Rebased v1 examples/ipsec-secgw/sa.c | 7 ++- 1 file changed, 6 i