From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arek Kusztal Subject: [PATCH] crypto/openssl: fix aad capabilities for AES-GCM Date: Tue, 25 Apr 2017 15:40:48 +0100 Message-ID: <1493131248-20969-1-git-send-email-arkadiuszx.kusztal@intel.com> Cc: declan.doherty@intel.com, Arek Kusztal To: dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 84D109E3 for ; Tue, 25 Apr 2017 16:40:52 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fix aad capabilities for AES-GCM authtentication, aad is changed from range 8-12 to 0-65535 Fixes: 8a9867a635c0 ("crypto/openssl: rename libcrypto to openssl") Signed-off-by: Arek Kusztal --- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/openssl/rte_openssl_pmd_ops.c b/drivers/crypto/openssl/rte_openssl_pmd_ops.c index 25d1a4b..7cb21f8 100644 --- a/drivers/crypto/openssl/rte_openssl_pmd_ops.c +++ b/drivers/crypto/openssl/rte_openssl_pmd_ops.c @@ -350,9 +350,9 @@ static const struct rte_cryptodev_capabilities openssl_pmd_capabilities[] = { .increment = 0 }, .aad_size = { - .min = 8, - .max = 12, - .increment = 4 + .min = 0, + .max = 65535, + .increment = 1 } }, } }, } -- 2.1.0