summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArek Kusztal <arkadiuszx.kusztal@intel.com>2016-12-23 08:24:53 +0000
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2017-01-18 21:48:56 +0100
commitd19db9f91204c6f296db86b9ec88c1ed1c029af7 (patch)
tree80e7fb346ed0cb621d58a6db4997dde133becb45
parent39dc49db37b9539cda685c7922fe9258a36613a8 (diff)
downloaddpdk-d19db9f91204c6f296db86b9ec88c1ed1c029af7.zip
dpdk-d19db9f91204c6f296db86b9ec88c1ed1c029af7.tar.gz
dpdk-d19db9f91204c6f296db86b9ec88c1ed1c029af7.tar.xz
crypto/qat: fix IV size in capabilities
This patch sets iv size in qat PMD to 12 bytes to be conformant with nist SP800-38D. Fixes: 26c2e4ad5ad4 ("cryptodev: add capabilities discovery") Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
-rw-r--r--drivers/crypto/qat/qat_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/qat/qat_crypto.c b/drivers/crypto/qat/qat_crypto.c
index 025341d..43e1d00 100644
--- a/drivers/crypto/qat/qat_crypto.c
+++ b/drivers/crypto/qat/qat_crypto.c
@@ -303,8 +303,8 @@ static const struct rte_cryptodev_capabilities qat_pmd_capabilities[] = {
.increment = 8
},
.iv_size = {
- .min = 16,
- .max = 16,
+ .min = 12,
+ .max = 12,
.increment = 0
}
}, }