Re: [dpdk-dev] [PATCH v1] app/test-crypto-perf: fix double allocation of memory

2018-09-26 Thread Akhil Goyal
On 9/10/2018 12:10 PM, Anoob Joseph wrote: The field, 'cipher_iv.data' is allocated twice when cipher is not null. Ideally the allocation should depend only on the field 'cperf_options.cipher_iv_sz'. This will make sure this code path gets valid for ciphers which doesn't require IV. Fixes: 0f

Re: [dpdk-dev] [PATCH v1] app/test-crypto-perf: fix double allocation of memory

2018-09-25 Thread Akhil Goyal
On 9/10/2018 12:10 PM, Anoob Joseph wrote: The field, 'cipher_iv.data' is allocated twice when cipher is not null. Ideally the allocation should depend only on the field 'cperf_options.cipher_iv_sz'. This will make sure this code path gets valid for ciphers which doesn't require IV. Fixes: 0f

[dpdk-dev] [PATCH v1] app/test-crypto-perf: fix double allocation of memory

2018-09-10 Thread Anoob Joseph
The field, 'cipher_iv.data' is allocated twice when cipher is not null. Ideally the allocation should depend only on the field 'cperf_options.cipher_iv_sz'. This will make sure this code path gets valid for ciphers which doesn't require IV. Fixes: 0fbd75a99fc9 ("cryptodev: move IV parameters to se