Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1111234lqo; Sat, 11 May 2024 07:52:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdkJ4kHpFoAAdl8H3GzsurKaJFWAFnrkt0J2fsckGRjzksGqOyw9Cw8lesJQVdSPWObNTmEmm4MuxEJQUDhItfyZtaUUUFVOnGA8vQzw== X-Google-Smtp-Source: AGHT+IGbudWbO85o67reR3p2A/QU33Hqup1rI72EQmPzi2j8OqaAhYVD8KwBi60LO1Jh7pRaJm+E X-Received: by 2002:a50:9993:0:b0:571:bed1:3a36 with SMTP id 4fb4d7f45d1cf-5734d707663mr5472651a12.38.1715439132093; Sat, 11 May 2024 07:52:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715439132; cv=pass; d=google.com; s=arc-20160816; b=HHWOy5NNo5Gsw2Bu7hQYxYhdtqOcaB0CeKVoVSxms4KfpMApWsCzi8l5/oaFg9GlTT XR00SEu38e+8ndCkie8N80/xmQK/RATIaTuwhpQ87RPDZ0IniSMR1RYUbh0so6sT60Bz +7EvApk90i2jpcgaXzagoVCzbfZF3k4BahaXz/TctL1tMbkxvJV5BvrKZUR2AEckUzGa Tt4BVfHaTYMtcFuDluOUeiLeoOgYP9MR45hp7r0Vv9t6AexN0LlpiTgwebeC/FWj3E+S pD7z7Sr/Jpv2vW6hgz7PZZY7i2urG8EbEktpvTx2x11i6RO/L4JMzsd3+8AeIJFlPV35 Frjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=d2vLCzehgHm47XW0WpV2IkhRw0DOIxl0U0Um3oclJ28=; fh=vzR/OZBl9jD0wu4Q55My0NZmsaG1U69AG8/YQfSPYq8=; b=NdtbuLWf7Esjrv8FAalCYxLqHmcDW3b+IZsCsHa8uWvRJXqM6a/pyDIe7D80hA1v2R dPsQUfC8JKkt61/lC+pUg2uTJWkV/981f24cLK3HNZ/Xd2QbATA463YiWxd3LwutZp+3 FO/OeqM/33LiLDqFa4Jvap0t7HDAGWHlXGVBmLc8aOKomX9zB+D2WEz+cqLF5a2vVb+P /EIOiwrIgXagGZzKK7V2odSWpKi2qgTQWeB+dvAlPXwJ1LUHFo7x6U7p5h/L6rgA6RTU kCTKpaYr1B8tOa30pN9PW8lKkLJ7J6yRtxee0rhF/+Ge9eWRSNSZ1UgftLj86MIyCYHJ lUkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=fv47BPLk; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-crypto+bounces-4131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4131-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c2dfdcesi3246294a12.247.2024.05.11.07.52.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 07:52:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=fv47BPLk; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-crypto+bounces-4131-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4131-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C759E1F2166A for ; Sat, 11 May 2024 14:52:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34A51535B8; Sat, 11 May 2024 14:52:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="fv47BPLk" X-Original-To: linux-crypto@vger.kernel.org Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23C4D54F83; Sat, 11 May 2024 14:52:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715439127; cv=none; b=AhAKeuWyZM+jGXqbPRU00bVnZ7ax4MljjnTVCoM4sMLJDNqKia2r3tJmPz8DVdi8Is/X5IvCTfCouCbZhbjVXuwAF3iVa6h+MyF/jUBQ6AAcbuJo42j+6Aw119BwBot5aoMkQWPDgXPTYzB4mWUKxCopfUpj0sQX0XXGtryy/G8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715439127; c=relaxed/simple; bh=hESMlG+DyjJvYR3YjuIVOG1Vn3/rspdgNSEah+6LKgo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hWHpNvW9RqpgLHmBr0M5ujKuyoUs23Wv6UlVZAdckeitTWlGwQ5GEdOMl8Y4r8xaMYzLvBMS+P6yUQ3hSpaSlsISsYekWsESwAaR+J1UtR5HW4mEL3p3pDFF0XY+AajaBZPIJcT84dZy9gD3IFSYo2QKr08rJ/6HO9nzkfgoDOI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=fv47BPLk; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=d2vLCzehgHm47XW0WpV2IkhRw0DOIxl0U0Um3oclJ28=; b=fv47BPLk9y7JW0Cd 4xRqcaTaU9jZgdJQSEZfrS9DiiCGlmAJe/VRbH79CWKeJftX219p2x9T6WCvFIrkZ2eJx9pDdqOup PtIR9PNtCfZKMdaWNrxRId+Bj+Xv666CVcuw3jgiK1R9celsO+v19iZNPFJDf8HL1187Gmvvfacxr anMk7Kslq563NGe8Exe3lA+sX3j2tfmW44IBnvYv/sTRo8o0yBwN1EOmbNL73rslmeF/zv6Fg16Rt ebtA3qDcPxsKePQgq/aHlf/Pf97EYZafEpOS/EL6oUp3LvI+A8mg1PrsgGBLOtn5eHpIg/BcSIE8z YhL5Yr+S1KR0RYHgzg==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s5o4v-000W4D-0L; Sat, 11 May 2024 14:52:01 +0000 From: linux@treblig.org To: gilad@benyossef.com, herbert@gondor.apana.org.au Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] crypto: ccree: Remove unused struct 'tdes_keys' Date: Sat, 11 May 2024 15:52:00 +0100 Message-ID: <20240511145200.226295-1-linux@treblig.org> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'tdes_keys' appears unused. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/crypto/ccree/cc_cipher.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/crypto/ccree/cc_cipher.c b/drivers/crypto/ccree/cc_cipher.c index cd66a580e8b64..3fb667a17bbb1 100644 --- a/drivers/crypto/ccree/cc_cipher.c +++ b/drivers/crypto/ccree/cc_cipher.c @@ -261,12 +261,6 @@ static void cc_cipher_exit(struct crypto_tfm *tfm) kfree_sensitive(ctx_p->user.key); } -struct tdes_keys { - u8 key1[DES_KEY_SIZE]; - u8 key2[DES_KEY_SIZE]; - u8 key3[DES_KEY_SIZE]; -}; - static enum cc_hw_crypto_key cc_slot_to_hw_key(u8 slot_num) { switch (slot_num) { -- 2.45.0