Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4898829rwl; Tue, 28 Mar 2023 12:58:32 -0700 (PDT) X-Google-Smtp-Source: AKy350ZRyc1cuOtKLuHNVHTa2OHYV8xp8flk5TgF2UoyiovvmP4zLu5O/tqYRwCB5kxV/tH6R4B0 X-Received: by 2002:a05:6a00:1894:b0:626:62f:38d8 with SMTP id x20-20020a056a00189400b00626062f38d8mr14288569pfh.3.1680033512521; Tue, 28 Mar 2023 12:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680033512; cv=none; d=google.com; s=arc-20160816; b=n1Jajbx/pwW8WR96V1SBX4dggE38aRlhPVUWGuEMM1EHvntMMlinhSwUHrQ85HYCJy C4RQ/g4wfjSTh1YmgHsIgDkQkvUvOaXTQNqbk9M79aJjiwa2qGrxoFm74QMpG2ujkrt/ onPEu8A12cYSgKhsIpAtaofkAK0rd81vi3n3SYmjrtZ4uAH/6YV1JQAR8v06C8IoXhOX P8Inm6B8hMH83Y2+jnj4iKg3dxTqUw4JPyhqy/TqKUyNBznpYGNBVna5EZY2CWPg88OE bMtEJ/3szgiClB1CB+sT3HAiC24VXfRya3IRdcXScXFmWxJ0epySrc8bWEh93/bVVSim TGRQ== 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=ewDUrP/AZFoh9opiY9sS+8tu9HuPEKbnQPlftfxaM02swXu4TJJYGlsE2ZIg13ae9N uiDpH9//7nVScuRN5LgSPkC+ncizYMBgIx6EuUhuR066LTVZupAXDUCV5/Kus4myOwjo 9y4X371PnxPC2SQ2N4vPZ5dneELvwrdFlo4Cm9dM1K3Jf04JZjVyLMUZ9hUkBr8qPi+4 dpgO/6epEXlPbmOEaWE69ArT+ErjlD1nOIHuYucPyZXJw8PqL+pj0npDXNNGh+66OtB1 uudW9zYoOYeLzEpIGQz00AtzOiAE2hl6+Va2etUMhb09LEId6GtP/DxLndp9kExMySz9 t45g== 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-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a191-20020a6390c8000000b0050fb19bb123si18796163pge.781.2023.03.28.12.58.20; Tue, 28 Mar 2023 12:58:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S229654AbjC1T4c (ORCPT + 99 others); Tue, 28 Mar 2023 15:56:32 -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 ); 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: To: , , , , CC: , , , Ryan Wanner 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: References: 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: X-Mailing-List: linux-crypto@vger.kernel.org From: Ryan Wanner Change blocksize to match the cfb(aes) generic implementation. Signed-off-by: Ryan Wanner --- 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, -- 2.37.2