Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp605607yba; Thu, 18 Apr 2019 06:43:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFJu1+XYjxco+cAwT+46UbzFKzl1grfiPKpKiCcVezep43sXrcaxEH5B/ZmyODH1Pv8uuo X-Received: by 2002:a17:902:7481:: with SMTP id h1mr95776358pll.206.1555595031282; Thu, 18 Apr 2019 06:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555595031; cv=none; d=google.com; s=arc-20160816; b=O0f/HBZ3WCMk71w7Lgpq9UhiRpyk3le8OukNc+MSoZSjRUinOGhfEErrFNyx9D0Qs6 /eSdInTLfQAD2zH/Giay8a8LMIB7R+g5WfsI5M4+i/RYaU5cos4soRtPRUaVAGpMl3Nm z1QGvorr+QQz7VL8uj3qw1XQRIa4xCF8GeJqD2hALevN6o+Mm8gPeoCLJun3wiBiZBtx pf9R9MiqfjRWcapswXgdvC02X0iVO+UTupFpPUeg4soNd72ak9hxoaDi0+tc+BcPz00a aefrWMhFpJxlPicYt0WQuQ12BmBD3h8rF/itXX9ERlZM2qilv74UpFAMHPWoAICsuSN6 rYYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=LPt34BOdFAYvX3nYPAhuqouYqNb/dDq4nDI4LgTEt9I=; b=E1LIvrWDIunw939ZPSCwG/sU5grNOhNdYkIxLTLtdtvyUHNtBbfJqDR4JzVX7/Yu5d jUlLJERh+ZcCBRjBiK6OC/mESV4DGJznIDZZHJMoQf/ooNPFoZHm81Ir3WZ/+bjjFcLF HnGRIoZF5jbywPCG3Ug2dh90wCpXslLbHZxXf7FQofQc7am5Ch0CwtPD0i7DeJl6dww0 biYp7cjKitnEX+0raxfTLVBSrkUotOniYuFqV9nwkP/K9r2usAjuJCU7hZZfZyD3YwDM fRMBqSB9cM9BPqAhg+JTpi3yeQD75Ir3fGkk5QjlsVmkCO9EWXgKxomIi6UgsBmXJq5R xz7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si1823392pgv.22.2019.04.18.06.43.35; Thu, 18 Apr 2019 06:43:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389466AbfDRNmC (ORCPT + 99 others); Thu, 18 Apr 2019 09:42:02 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:33734 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388858AbfDRNmB (ORCPT ); Thu, 18 Apr 2019 09:42:01 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E669B1688; Thu, 18 Apr 2019 06:42:00 -0700 (PDT) Received: from e110176-lin.kfn.arm.com (e110176-lin.kfn.arm.com [10.50.4.178]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7AAE83F5AF; Thu, 18 Apr 2019 06:41:59 -0700 (PDT) From: Gilad Ben-Yossef To: Herbert Xu , "David S. Miller" Cc: Ofir Drang , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 28/35] crypto: ccree: allow more AEAD assoc data fragments Date: Thu, 18 Apr 2019 16:39:03 +0300 Message-Id: <20190418133913.9122-29-gilad@benyossef.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190418133913.9122-1-gilad@benyossef.com> References: <20190418133913.9122-1-gilad@benyossef.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Increase the maximum supported AEAD associated data fragments. Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/ccree/cc_lli_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/ccree/cc_lli_defs.h b/drivers/crypto/ccree/cc_lli_defs.h index 43aca6b79b9b..f891ab813f41 100644 --- a/drivers/crypto/ccree/cc_lli_defs.h +++ b/drivers/crypto/ccree/cc_lli_defs.h @@ -14,7 +14,7 @@ #define CC_MAX_MLLI_ENTRY_SIZE 0xFFFF #define LLI_MAX_NUM_OF_DATA_ENTRIES 128 -#define LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES 4 +#define LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES 8 #define MLLI_TABLE_MIN_ALIGNMENT 4 /* 32 bit alignment */ #define MAX_NUM_OF_BUFFERS_IN_MLLI 4 #define MAX_NUM_OF_TOTAL_MLLI_ENTRIES \ -- 2.21.0