Message ID | 5a21411d8dd263155f86fb067d446b3359a60c9b.1680019905.git.Ryan.Wanner@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2480715vqo; Tue, 28 Mar 2023 13:18:21 -0700 (PDT) X-Google-Smtp-Source: AKy350axz+9f8pqT1KhEJOgWoOO2ScxXtsv5wr4NkMrgCro1yrBnNNNx/9mtcdDd/GthKnKa4Kpo X-Received: by 2002:a05:6402:70a:b0:4fb:9b54:ccb8 with SMTP id w10-20020a056402070a00b004fb9b54ccb8mr17157706edx.21.1680034701302; Tue, 28 Mar 2023 13:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680034701; cv=none; d=google.com; s=arc-20160816; b=f/hKBSRULJfC9sDA1ucA34janHbU+bFsaJpQrs1zPHN3I3XSmYo2esRxuDWQmsKBek OgYSEC+Rb6qLQULO6UsunoaYvYzWei3KuhaYwdNVfNPR3F2jWveAEXNlSVjG1guUxGS4 77bl6YRcjGWhBD+glHGjeCkCM2Dn6PZTiUSTTrwj6oitVhHLRhEG1MWlFTyj1kcbOvZN EU8LaiyS71yCjOIEjUQOC1H97uqg7SVmTlzB3m95lhqkolQKmAiL3RuG7ITWBb3vjzRd rGgZurR5lFUU5afFwqsHLs5dPRoGUejWlGzLDyWnks7zmWfjyKgRfEpA8k02qsyyRLuJ b6Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pcCX9rhsSImDolHrOPY4rJ7h8SwNa26jKrpgwFXuRws=; b=dEv60R2r4v7oDsOgzmJvWuA9ZYyRqw4KE0PIuLgWtnsL6NrkLT2iGBjBQBWK5bs/j8 QcKM0KCEphBIPUSQxyEOJV6+KXGt7OOH959yyZ1nB4CeBB+zXshYUSow7m6nBp4Sz08N NNT3vDNFJlkJ3qbY7KAOQdwM+At/ngBW+oQKz0rRtWU/B1rYZxrBtUuxsiXq71b4HZ7y d/dJWFK4CaFPpCxdl395V+Mciy45XbdWOPBLPAVPCXzzseMCdyLlrmtZZOIcm7ccFU5x 6XapYZlo95eNKuOlZWZTmYtxf79fySJNaAS4PJOBwReEGQi0fPmpsRs2JO85LIWIhKEx So5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="zw+8y/FJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v14-20020aa7d64e000000b005021f0d5766si12752807edr.685.2023.03.28.13.17.53; Tue, 28 Mar 2023 13:18:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="zw+8y/FJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229729AbjC1T4f (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Tue, 28 Mar 2023 15:56:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229718AbjC1T41 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 28 Mar 2023 15:56:27 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FFAD3AAA; Tue, 28 Mar 2023 12:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1680033386; x=1711569386; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=d3xmdzUlUHuX0xIMraGebBNCDEpGfEWNIysVoHmlrc8=; b=zw+8y/FJNMzxhqxyGfJl+LARhaNqM2Kk+ZFtBSVpLwychdlJw67JExZX 9R0VX1hIfD7W3qbR6WOmuAvHXe0qzg123dyMN7JM8dVjRhImawzoqtMlo t4WHES7wrQpjQYLhNoUnE0RRdv43KJd9Aq9BKu4+LT4o9kPcnU+5uNcLM 6IrhIoDETgzlGtaN3luU+xuYO9OBVVaVlWcpnwvkCjc9PIliCHE/TUJqb uHA0Bm4RAH7uTmfXl+ucjnVlwL9e/DChS2OUzTv4ryoSWOBSSDfrL0cDV 27UahbTXJDMetk/M9FvVm5p+YTWUzc/vem/CnogM3G9FQzFLDr8x6ylXY A==; X-IronPort-AV: E=Sophos;i="5.98,297,1673938800"; d="scan'208";a="144351916" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Mar 2023 12:56:24 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 28 Mar 2023 12:56:22 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Tue, 28 Mar 2023 12:56:22 -0700 From: <Ryan.Wanner@microchip.com> To: <herbert@gondor.apana.org.au>, <davem@davemloft.net>, <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <claudiu.beznea@microchip.com> CC: <linux-crypto@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Ryan Wanner <Ryan.Wanner@microchip.com> Subject: [PATCH 4/4] crypto: atmel-aes - Match cfb block size with generic implementation Date: Tue, 28 Mar 2023 12:56:29 -0700 Message-ID: <5a21411d8dd263155f86fb067d446b3359a60c9b.1680019905.git.Ryan.Wanner@microchip.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <cover.1680019905.git.Ryan.Wanner@microchip.com> References: <cover.1680019905.git.Ryan.Wanner@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761644066489822873?= X-GMAIL-MSGID: =?utf-8?q?1761644066489822873?= |
Series |
Atmel crypto engine fixes
|
|
Commit Message
Ryan.Wanner@microchip.com
March 28, 2023, 7:56 p.m. UTC
From: Ryan Wanner <Ryan.Wanner@microchip.com> Change blocksize to match the cfb(aes) generic implementation. Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> --- drivers/crypto/atmel-aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index 08a923c2a0eb..012cdf60d9d2 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c @@ -1335,7 +1335,7 @@ static struct skcipher_alg aes_algs[] = { { .base.cra_name = "cfb(aes)", .base.cra_driver_name = "atmel-cfb-aes", - .base.cra_blocksize = AES_BLOCK_SIZE, + .base.cra_blocksize = 1, .base.cra_ctxsize = sizeof(struct atmel_aes_ctx), .init = atmel_aes_init_tfm,