Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp604999yba; Thu, 18 Apr 2019 06:43:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+TQ1OM6/5Anii82hL5PHaeNNqpfBxYmp/K/f7Hf92bcU6T5azlbOnkzVShfHVS2GZvfFz X-Received: by 2002:a17:902:7b97:: with SMTP id w23mr6416506pll.335.1555594989351; Thu, 18 Apr 2019 06:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555594989; cv=none; d=google.com; s=arc-20160816; b=d8234IXODQhrPVGq9eK21KzXKXw0btWjxIJ+sSFKX+Bcj6CWJWt1XemVM+uiPbtOgB 8N0cob5yM0NhBq7zxTR47pYxrjJ2y/VT+zggzgywAZ8Nf09I8/GO35UFMhq9LTNSLwP3 8/jZcYqyq/Mni2hlHrutS7p6r7X328kQiV/Tvp4/V5k6+SEctzs3osNAax0cXcX/u2wB pm3vw6RjwnVv3mo8kTVWr04S+bLpG0NYWnRX0DQBp3LLSibEiCIATsRBpO+WsznVnhHZ 2zt1t9p+V4kBjWJFjtrD8n/YEkP82Alj+QUJrtUJznRNfd0kv8udUevwbU7x/p3eY8JY 367g== 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 g123si2271765pfc.58.2019.04.18.06.42.54; Thu, 18 Apr 2019 06:43:09 -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 S2389411AbfDRNlW (ORCPT + 99 others); Thu, 18 Apr 2019 09:41:22 -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 Content-Transfer-Encoding: 8bit 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(-) 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; -- 2.21.0