From d19db9f91204c6f296db86b9ec88c1ed1c029af7 Mon Sep 17 00:00:00 2001 From: Arek Kusztal Date: Fri, 23 Dec 2016 08:24:53 +0000 Subject: [PATCH] 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 Acked-by: Fiona Trahe --- drivers/crypto/qat/qat_crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/qat/qat_crypto.c b/drivers/crypto/qat/qat_crypto.c index 025341df07..43e1d00f84 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 } }, } -- 2.20.1