test/crypto-perf: add option to enable session HFN
authorAkhil Goyal <akhil.goyal@nxp.com>
Mon, 6 Jul 2020 05:00:34 +0000 (10:30 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Jul 2020 16:16:17 +0000 (18:16 +0200)
commit5a61bdb9444763a7f6bcb2f6eb1229b0a601d20b
tree32d6b827049c0be2d48fdd2c8e1f5c8d945f2ced
parentd3be77833f6fcc0eb55b13a3356de5374ea7540a
test/crypto-perf: add option to enable session HFN

Add a new option for PDCP cases to enable use of session
based fixed HFN value instead of per packet HFN which was
enabled by hfn override feature.
By default HFN override is enabled and if session based
fixed HFN need to be tested, add "--pdcp-ses-hfn-en" in the
command line.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
app/test-crypto-perf/cperf_ops.c
app/test-crypto-perf/cperf_options.h
app/test-crypto-perf/cperf_options_parsing.c
doc/guides/tools/cryptoperf.rst