app/crypto-perf: support AES-CCM
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 21 Sep 2017 13:11:16 +0000 (14:11 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 14:15:10 +0000 (15:15 +0100)
commit7df074333930f84a0d7f855c5a9f97524a6606c5
tree8a5f66755d1798905301c5130bb8007077ef0732
parentff5d5b01f8f21a87387042843b8494bc2d82b1cd
app/crypto-perf: support AES-CCM

According to the API, AES-CCM has special requirements
when setting IV and AAD fields.
The L2fwd-crypto app is updated to set the nonce (IV)
and AAD in the right positions in these two fields
(1 byte after start of IV field and 18 bytes after start
of AAD).

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
app/test-crypto-perf/cperf_ops.c
app/test-crypto-perf/cperf_test_common.c