From: Pablo de Lara Date: Fri, 8 Jul 2016 08:40:08 +0000 (+0100) Subject: crypto/kasumi: fix AAD size of F9 function X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=372201e2070e3ca9a2342269becef447892ba636;p=dpdk.git crypto/kasumi: fix AAD size of F9 function Additional authenticated data (AAD) in KASUMI F9 (UIA1) is 8 bytes and not 9 bytes, since direction bit is obtained just after the end of the message, and it is separated from the AAD. Fixes: 2773c86d061a ("crypto/kasumi: add driver for KASUMI library") Signed-off-by: Pablo de Lara --- diff --git a/drivers/crypto/kasumi/rte_kasumi_pmd_ops.c b/drivers/crypto/kasumi/rte_kasumi_pmd_ops.c index da5854ebf5..b9285a4385 100644 --- a/drivers/crypto/kasumi/rte_kasumi_pmd_ops.c +++ b/drivers/crypto/kasumi/rte_kasumi_pmd_ops.c @@ -57,8 +57,8 @@ static const struct rte_cryptodev_capabilities kasumi_pmd_capabilities[] = { .increment = 0 }, .aad_size = { - .min = 9, - .max = 9, + .min = 8, + .max = 8, .increment = 0 } }, }