From: Arek Kusztal Date: Fri, 23 Dec 2016 08:24:53 +0000 (+0000) Subject: crypto/qat: fix IV size in capabilities X-Git-Tag: spdx-start~4707 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d19db9f91204c6f296db86b9ec88c1ed1c029af7;p=dpdk.git 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 --- 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 } }, }