Message ID | 20230110135042.2940847-8-vincent.whitchurch@axis.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2758852wrt; Tue, 10 Jan 2023 05:56:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXvfD4GfZ0rNUotxcnktn7mXQoc9ldS+UFF7ly/HWftB77A4rI/p5yR8mLkI4UnwcGo4tUVV X-Received: by 2002:a17:90b:4391:b0:226:412e:20a7 with SMTP id in17-20020a17090b439100b00226412e20a7mr37437947pjb.26.1673358986612; Tue, 10 Jan 2023 05:56:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673358986; cv=none; d=google.com; s=arc-20160816; b=gv6gSR7Qug1yhTVY/as/rDz0/LuX/B9MHuIm5hVpJwfIHSqpT32TuC5p7B8paeTX0W 3lwbRQ748Rn8T5LZstW0NzCW3j2SdWHDf5ko60o7aXKCviLJ/AHlg++Zar3McM/Xglz7 mYOE/W4uZfdt/XzPSdFPqdChZqCy9e1dXLk6A8Ndtuff3MLSggTcCbJZlBVY61XTyVk2 g1dpYvTKLvq2pklqUnWVinUjDcq6EstqIh3RaywogCi8TyNfakv5o0jH//cRhhoIliEY gegE+mTvNrg4I4VsoE3xDsduQDSuL8h21Q4GuUG0OqScvA1G/3QqSUtkiYVHDbFWo5Ma ivkg== 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=lvf8Py85+laCpLifVy0ksENVI/hrPFpksg+ojS6TM10=; b=gFdugMfhBpBlJ0acWnAM/TsT4wZ1Ju6WU4VkNI5c0bpht+3Ft2IcgfO82cOJ5luFOP QCbj7FYq3UTuPAgsj33shwRFnfEposxYFjZfzX/JxEsoSXqtFo02hkP02/yUkUaWn7hs WWBXFtrzVJcTRzasl741UneSmtK3gpQLIC9onFU3Pnju0DQ8kye0DHo1TYlZDOr0N7bl kaMsKHOcAH1QtOATjQ/k39eJiCaUqrZImy/Nn8SHo+pmtTVyMjEf+aY5T81wYHBgL2t9 vUB7oeY0VNSLoXcdavjL3ClDe0g5di1EEdeJ8PK4yD43Y0/JzovXPg3MGG1YSccW3qYA Ip6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b="h0JmM4T/"; 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=NONE sp=NONE dis=NONE) header.from=axis.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rj4-20020a17090b3e8400b0021e41006030si11869114pjb.76.2023.01.10.05.56.06; Tue, 10 Jan 2023 05:56:26 -0800 (PST) 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 (test mode) header.i=@axis.com header.s=axis-central1 header.b="h0JmM4T/"; 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=NONE sp=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238635AbjAJNvi (ORCPT <rfc822;syz17693488234@gmail.com> + 99 others); Tue, 10 Jan 2023 08:51:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238372AbjAJNvD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 10 Jan 2023 08:51:03 -0500 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF93D2F7A7; Tue, 10 Jan 2023 05:50:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1673358660; x=1704894660; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lvf8Py85+laCpLifVy0ksENVI/hrPFpksg+ojS6TM10=; b=h0JmM4T/fLgrBeEcYwca5bXVSFqSPvY8i58kSVV6oCmQFc+al+6CMS0h jBEeWwVgPRtGbRbSQvLLB4YlhhyfSCZ9tbKleOABR4JGSXaddiJETasrX B1CXZ72A7/Bb9PfIEisBHtoItweD10MXpx0KQTMiBzAGNas5S+rbQiUGS 419pWsRA6UftGuLD4PM1D0qu+QngKc1TsEts16RIYA8J8BHKdnEjF2JBP 1jIhWHrgWfF/9VneHGN8PwzNGxAVwD+F4B2/vw1tJvMpGUHhXg2G4FovJ Jqd3R4Ky+hZ78Lp+ClWqhgrwhfJc2xJy4katrBnRwaq43ksDUkw/MnedH Q==; From: Vincent Whitchurch <vincent.whitchurch@axis.com> To: <herbert@gondor.apana.org.au>, <davem@davemloft.net>, <jesper.nilsson@axis.com>, <lars.persson@axis.com> CC: <kernel@axis.com>, Vincent Whitchurch <vincent.whitchurch@axis.com>, <linux-crypto@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH 07/12] crypto: axis - fix XTS blocksize Date: Tue, 10 Jan 2023 14:50:37 +0100 Message-ID: <20230110135042.2940847-8-vincent.whitchurch@axis.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230110135042.2940847-1-vincent.whitchurch@axis.com> References: <20230110135042.2940847-1-vincent.whitchurch@axis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS autolearn=ham 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?1754644072714937567?= X-GMAIL-MSGID: =?utf-8?q?1754644072714937567?= |
Series |
crypto: axis - make tests pass
|
|
Commit Message
Vincent Whitchurch
Jan. 10, 2023, 1:50 p.m. UTC
Use the correct XTS blocksize to fix this warning with
CRYPTO_MANAGER_EXTRA_TESTS:
skcipher: blocksize for artpec6-xts-aes (1) doesn't match generic impl
(16)
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
---
drivers/crypto/axis/artpec6_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/axis/artpec6_crypto.c b/drivers/crypto/axis/artpec6_crypto.c index 78d067ce4138..5f30f3d0315f 100644 --- a/drivers/crypto/axis/artpec6_crypto.c +++ b/drivers/crypto/axis/artpec6_crypto.c @@ -2831,7 +2831,7 @@ static struct skcipher_alg crypto_algos[] = { .cra_priority = 300, .cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_ALLOCATES_MEMORY, - .cra_blocksize = 1, + .cra_blocksize = AES_BLOCK_SIZE, .cra_ctxsize = sizeof(struct artpec6_cryptotfm_context), .cra_alignmask = 3, .cra_module = THIS_MODULE,