crypto/aesni_gcm: fix IV size in capabilities

This patch sets iv size in aesni gcm PMD to 12 bytes to be
conformant with nist SP800-38D.

Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations")

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com>
This commit is contained in:
Arek Kusztal 2016-12-23 08:24:52 +00:00 committed by Pablo de Lara
parent b9719b996a
commit 39dc49db37

View File

@ -77,8 +77,8 @@ static const struct rte_cryptodev_capabilities aesni_gcm_pmd_capabilities[] = {
.increment = 0
},
.iv_size = {
.min = 16,
.max = 16,
.min = 12,
.max = 12,
.increment = 0
}
}, }