From patchwork Thu Apr 18 13:38:56 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: 162487 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp761987jan; Thu, 18 Apr 2019 06:41:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVRRxGu0ONLhzLjkoRD7x3uW9T95wvGYwznV3CEhDhpou54LJdFT5Vty8S4iFRdO7HCIZu X-Received: by 2002:a62:424b:: with SMTP id p72mr77424130pfa.167.1555594884495; Thu, 18 Apr 2019 06:41:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555594884; cv=none; d=google.com; s=arc-20160816; b=HtdH6hncH53D5iHKuXKWXrSgGu8ZqvR97q1HtfaZER4nBMfVH7uSc+Y8bVQhTNSCoc Sff6sZHe3NVXQ9ZnzmqZFzGBTkOuNXpWmD7Tt6kDsVxRlhDtlHs4CphXWPO1xU7KFZsL DW/DXcyRwb0invPK8/TNJy9OaWO+qRmKAgSPaFKpy4m+GNEPA/2q+f87JX/gcdz58+aB gF54yGFqnYKHk7/q5kdaxm+lucILn86OxNydPckpdUTD2BmEtffPPW5dNqFvGykvGUul L10jxHs6NSD3xeSuApNcIZo4acAn7XpfLJkstuA8l4mczGtHE+nZwc0NjwUSxLS9Wq9G 9KpA== 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=Alhj0/PJDnw6FHfRT/JuRheO7mrgFL98SJv+WX6PvYQ=; b=kX/5uLrNvH640CUJTRI+6j9uGFTrPaQdXH3eTNbvJrSMma1MCgxVyQPcATQSTFqBmP 23LiReF0+10I8HhwQTnbCqWoErdJ23Eg71x1AzWCeDWcO/DrV6H7bylVfWaSnh3AewoL 84iDB6UjvinpyM+gFvy7gDZ99qlJNybdAPEUnFyrQT5SpLYDYCm+LzuZr8TBY9JjbNbZ 3F1prql/bcfdGDYrLz0G6wB2uw+2RjF+8tD25zn/xEu3Z20iyGuxXoc6kUR64pwMKO2+ OMrTiCNF55d90OItPFLgZRKV0VTKldXJeiSGrE8oLOl1bw8q7V+i9bPQ++Hfo39nGBuI lPlg== 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 l59si1523572plb.298.2019.04.18.06.41.24; Thu, 18 Apr 2019 06:41:24 -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 S2389415AbfDRNlX (ORCPT + 30 others); Thu, 18 Apr 2019 09:41:23 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:33664 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388375AbfDRNlV (ORCPT ); Thu, 18 Apr 2019 09:41:21 -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 4BE451688; Thu, 18 Apr 2019 06:41:21 -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 D47323F5AF; Thu, 18 Apr 2019 06:41:19 -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 21/35] crypto: ccree: remove unused defines Date: Thu, 18 Apr 2019 16:38:56 +0300 Message-Id: <20190418133913.9122-22-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused definitions from AEAD driver code. Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/ccree/cc_aead.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.21.0 diff --git a/drivers/crypto/ccree/cc_aead.c b/drivers/crypto/ccree/cc_aead.c index 0e8d2381c175..f9e410de66a8 100644 --- a/drivers/crypto/ccree/cc_aead.c +++ b/drivers/crypto/ccree/cc_aead.c @@ -23,12 +23,8 @@ #define MAX_HMAC_DIGEST_SIZE (SHA256_DIGEST_SIZE) #define MAX_HMAC_BLOCK_SIZE (SHA256_BLOCK_SIZE) -#define AES_CCM_RFC4309_NONCE_SIZE 3 #define MAX_NONCE_SIZE CTR_RFC3686_NONCE_SIZE -/* Value of each ICV_CMP byte (of 8) in case of success */ -#define ICV_VERIF_OK 0x01 - struct cc_aead_handle { cc_sram_addr_t sram_workspace_addr; struct list_head aead_list;