From patchwork Thu Apr 18 13:39:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 162494 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp762652jan; Thu, 18 Apr 2019 06:42:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKP+FU7WV22IbepvEKdG1qXExbiRSRFjTp8LEfLrkzHl6NgY+cq2jNn8jrpguTMtxOyiae X-Received: by 2002:aa7:91d5:: with SMTP id z21mr14341606pfa.222.1555594923620; Thu, 18 Apr 2019 06:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555594923; cv=none; d=google.com; s=arc-20160816; b=d7kGjnTt1UuApulgGdDwLFss/SmzAfpv+Vz/2u5Eu3PHOVRXvEtZX5ZwVMuB3rG8k7 ALFqzsBuHC0baREQExqyL9lwcGv+g0gwYeg2uC/eYYZn/7qTOZD3TNePyk7wxBWertJT oKOHIAdyqTFFPT6msoQx/vFaVKzTBevDf9AFluOBZu4iL0ai9HcdeevcQ2gNDRGeoYff c/1DBAaAhkKOS7a4w3jR1yo0TKiWGGjkC1GWgux9oS0wIs2BgXHDYwp8+4g4FHnJVi/B /OGKPdNUEkgYcDcbNPk879IwvDFHttBoZtecx7ZG/d1eAsOxal3HEhG3NoahrCryAMhq 7v2A== 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=RcewQrc1sbdNHz8oIxjyqGqCfpGTt7nymMVPKGlXEPekaex5sFpqlfoLG7LnSi3dXt T2XbYSDGZiMWQ+uiZCHlCOm2UgcVLMnsl3Hfa+bQmw2aOiZQVrX7+on4i8/aSkuChvDQ 4DCS/AWX1/ZUT/fKQFbi6zU5fnwxz9qw+ND9YkHFBTvcttHyND0SIjh6wJB2uQRiMUgC rXgYzpni0ftSwYfe8tQVXkrYohkWMVuzbkLfRujXjaInezW/ypzZyTsh7bSs8xZQMSn7 jYf+Hr3KaZVUXPuwCPK4xsmCIgsMP96h4WZifrNtx6qNOtRqn4ZyzFeomHJmGwiN0xPr GRwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 p16si2384236pff.85.2019.04.18.06.42.03; Thu, 18 Apr 2019 06:42:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389226AbfDRNmB (ORCPT + 3 others); Thu, 18 Apr 2019 09:42:01 -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 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@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(-) -- 2.21.0 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 \