numam-dpdk/app/test-crypto-perf
Anoob Joseph c61518ed86 app/test-crypto-perf: fix double allocation of memory
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: 0fbd75a99f ("cryptodev: move IV parameters to session")
Cc: stable@dpdk.org

Signed-off-by: Akash Saxena <akash.saxena@caviumnetworks.com>
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2018-09-25 17:57:25 +02:00
..
data cryptodev: add auth IV 2017-07-06 22:26:48 +02:00
cperf_ops.c app/crypto-perf: fix auth IV offset 2018-08-03 09:14:24 +02:00
cperf_ops.h app/crypto-perf: support IMIX 2018-01-20 16:10:20 +01:00
cperf_options_parsing.c app/crypto-perf: support IMIX 2018-01-20 16:10:20 +01:00
cperf_options.h app/crypto-perf: honour min headroom/tailroom 2018-07-11 03:57:24 +02:00
cperf_test_common.c app/crypto-perf: honour min headroom/tailroom 2018-07-11 03:57:24 +02:00
cperf_test_common.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_latency.c app/crypto-perf: support IMIX 2018-01-20 16:10:20 +01:00
cperf_test_latency.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_pmd_cyclecount.c app/crypto-perf: fix burst size calculation 2018-05-10 17:46:20 +01:00
cperf_test_pmd_cyclecount.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_throughput.c app/crypto-perf: support IMIX 2018-01-20 16:10:20 +01:00
cperf_test_throughput.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_vector_parsing.c app/crypto-perf: use strcpy for allocated string 2018-05-22 16:36:11 +02:00
cperf_test_vector_parsing.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_vectors.c app/test-crypto-perf: fix double allocation of memory 2018-09-25 17:57:25 +02:00
cperf_test_vectors.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf_test_verify.c app/crypto-perf: support IMIX 2018-01-20 16:10:20 +01:00
cperf_test_verify.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cperf.h app: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
main.c app/test-crypto-perf: fix check for cipher IV 2018-09-25 17:57:25 +02:00
Makefile app/crypto-perf: compile with -O3 2018-07-24 01:48:10 +02:00
meson.build app/crypto-perf: support non default mempools 2018-04-23 18:20:09 +01:00