Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2172294iof; Tue, 7 Jun 2022 22:07:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8GSEQiS+Dk553f5VpLUtNpSxWT8IBabkeJ9RQnxijq+WOgrAcwXiRJBEHeFt34LgX/MdM X-Received: by 2002:a17:902:c946:b0:167:6e53:6a51 with SMTP id i6-20020a170902c94600b001676e536a51mr17119199pla.70.1654664863523; Tue, 07 Jun 2022 22:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654664863; cv=none; d=google.com; s=arc-20160816; b=lslmPmQdXxGmIg0dh0gNdnlZhs+FbSR4uPuZcGmgtGxecM0E938TX1+EUJ1t1ruBCQ AcL1pKw3JBkoRth5MXLCHa2oY2Fx23SjOFYwY5qkxwZr1OXhvSAlBN3zbvUKlFvjmXWb Nd3gDAvwi9dPJV6vOZ+suTxn5UZpIqzMFq6h/3uXr03AhBCHbX4kap+gu+c4XgEmq2lq g9TSTVvRcNS05IS71Ve7Wte3K01MPt1KFNfC/qCLC5zOM/R7XfxWwv2HkP4xx6dgJ77t sLGOxpwJ4bm4CyQ4wfZOM9bjU2JE+bIQdLFCDV8CJQWlYKrd0qtWf1ECW40PN0HNMuUN FMAQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=QLsi1NcBTIO6nGR1xkD8UrA16aUQe4xm5BKu0xXtI2c=; b=gfCVQzu50DcoyNFMGXOrTQaOCRgRtJLxfIGyRrZrqq6bFrdLWy1J/1YVVfZLk0e8Gl JxI+FlEKozDflFOZRynftEPJUNslnmZhoSNDhgEXLK0AHTB5OXB9RRpOi1HA98NQxVwH d/tt5WsmRYJm5EuE22EaZAyR5hGit7rOs+tYgvye4xOb7eq0MZzCVlxApCO4n+GO57I6 TS4ShtLAIifd4yf4Lva9r1lK/D7h/dps0Da7m6CdFXG5I9pMh6azeUZZRuhvZpZLX3q0 pMamUCOeQXvpdUDjKATCp3Rjre2Nc1HT2XzsgU7dCTLrwt030N2YAtChMNARLyHanvLt 5QlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yLKvSrbK; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f1-20020a63e301000000b003fddf71dab4si8489593pgh.692.2022.06.07.22.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:07:43 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yLKvSrbK; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ACC053B70FD; Tue, 7 Jun 2022 21:35:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348773AbiFGRyp (ORCPT + 99 others); Tue, 7 Jun 2022 13:54:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347701AbiFGRfo (ORCPT ); Tue, 7 Jun 2022 13:35:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D860F5061; Tue, 7 Jun 2022 10:31:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 72A76614AE; Tue, 7 Jun 2022 17:31:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8566FC385A5; Tue, 7 Jun 2022 17:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654623060; bh=UXT6frlTpLfQse3nCoBzL5EmELwi+AfmgLZ/R0K0RmU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yLKvSrbK8aU8JYNiyDT1LdUKQSgwGcq5t5K9YQcDUKYTzP+ykM0yOUDENlSyhdyYR zNJDwx0uFA/wmtGLL6I2i0v7eWNRxojbcKOkCIcIYAgcVQXC4UaJfxGCXCfFRUL7yp h3SkIcQdDPAS5Wy4Hr0csUKWQC7xkwjAIAaOoknM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Corentin Labbe , Herbert Xu , Sasha Levin Subject: [PATCH 5.10 280/452] crypto: marvell/cesa - ECB does not IV Date: Tue, 7 Jun 2022 19:02:17 +0200 Message-Id: <20220607164916.893543938@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org From: Corentin Labbe [ Upstream commit 4ffa1763622ae5752961499588f3f8874315f974 ] The DES3 ECB has an IV size set but ECB does not need one. Fixes: 4ada483978237 ("crypto: marvell/cesa - add Triple-DES support") Signed-off-by: Corentin Labbe Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- drivers/crypto/marvell/cesa/cipher.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/marvell/cesa/cipher.c b/drivers/crypto/marvell/cesa/cipher.c index b4a6ff9dd6d5..596a8c74e40a 100644 --- a/drivers/crypto/marvell/cesa/cipher.c +++ b/drivers/crypto/marvell/cesa/cipher.c @@ -614,7 +614,6 @@ struct skcipher_alg mv_cesa_ecb_des3_ede_alg = { .decrypt = mv_cesa_ecb_des3_ede_decrypt, .min_keysize = DES3_EDE_KEY_SIZE, .max_keysize = DES3_EDE_KEY_SIZE, - .ivsize = DES3_EDE_BLOCK_SIZE, .base = { .cra_name = "ecb(des3_ede)", .cra_driver_name = "mv-ecb-des3-ede", -- 2.35.1