aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2018-12-05 17:46:49 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-12-13 12:30:20 +0300
commite58e2231c36d433fab999ba1255bbd3429ddb066 (patch)
tree56b562e8eff68d4d75239d78ad64b1d247ff27ce
parentf43c1e40ffaf5b93f4524aff2d2912ac4dec138d (diff)
downloadodp-dpdk-master.tar.gz
linux-dpdk: crypto: initialize capability bit_mode valueHEADmaster
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r--platform/linux-dpdk/odp_crypto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linux-dpdk/odp_crypto.c b/platform/linux-dpdk/odp_crypto.c
index 2f3f9089..d694ef79 100644
--- a/platform/linux-dpdk/odp_crypto.c
+++ b/platform/linux-dpdk/odp_crypto.c
@@ -634,6 +634,7 @@ static int cipher_gen_capability(const struct rte_crypto_param_range *key_size,
capa.key_len = key_len;
capa.iv_len = iv_size;
+ capa.bit_mode = false;
idx = cipher_capa_insert(src, &capa, idx, num_copy);
@@ -834,6 +835,7 @@ static int auth_gen_capability(const struct rte_crypto_param_range *key_size,
capa.digest_len = digest_len;
capa.key_len = key_len;
capa.iv_len = iv_size;
+ capa.bit_mode = false;
capa.aad_len.min = aad_size->min;
capa.aad_len.max = aad_size->max;
capa.aad_len.inc = aad_size->increment;