Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2205945iof; Tue, 7 Jun 2022 23:10:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwL+Gaf/VnVm2zl5rT2yMIUV4ZhWppAXS911csmntMaqXCyduvpT+eGCUETWaZ1g0h5Qpeq X-Received: by 2002:a17:902:ec81:b0:163:3142:e0dd with SMTP id x1-20020a170902ec8100b001633142e0ddmr26506641plg.40.1654668645853; Tue, 07 Jun 2022 23:10:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654668645; cv=none; d=google.com; s=arc-20160816; b=ycWgU79/QL6w4jIEaezwCL9PyfNhJ9VLoyyq5Mn9BnC5YsaGCy+u3w4qgzKxFhFKJH EQ1KqcmYklKAKybDn9iS9SkDdOISf2JqyTcusYDRMOzzLP7HYikYhmV3uKpI0eM73aos pyXeELW2c4L2CK+dotMDVvcBoRV+GusnILxs7oWHf8PD40scfVK+P6lriHNxt3aJVjmY ylq0s7NNh5qoFgsTYutyUamQHjGPQzy/1RfCdMB21PsE8rRJnbSBsT0kbwPWbwFv2Z3A EIBdrn5URi5AjiLib7lCaP2k2r7fjPANw9tSdzyhThFjyKHzDKyl39Dcftfae/PdJplz WeUQ== 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=gqmNxtPo6bs6sg3Akrv+L7feuKyqic/EyYkvneFimWA=; b=G8JWm4moxXO320CPjgpopmFBG4jglHIRuDLyBWZcDViKJSs27nBusVUWsp7jTT2moC 3Ct3chESfPbTdpDVwU9s6cKSUOOjjMl9nVLj0oq9r+2tog5K+rCXujhRtGyFz6nYeuZj Fd60dl04lR0LzFSprzURRC59XPhcWXsyeEvaSot99ku47S+m8w8zUYhLK7+NvSWYuKPA my/N9bPJySdfgrO2tg2+PO5aNdoZEbOEXFAZyBCyM/RyRPQVSgWvWetSwLpyJfa7o9ba Oq4bfVlN8+CJbItPQPjBLxMrhuVawRkFMrm3Df0i7T7+0XOEdp7HWxJBiNTg+h3RoDGa mSdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NDc2Ufhd; 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 d13-20020a63734d000000b003c5ea42d972si26760994pgn.168.2022.06.07.23.10.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 23:10:45 -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=NDc2Ufhd; 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 978E11732BB; Tue, 7 Jun 2022 22:33:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348623AbiFHBnV (ORCPT + 99 others); Tue, 7 Jun 2022 21:43:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383644AbiFGVxX (ORCPT ); Tue, 7 Jun 2022 17:53:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 477782453B5; Tue, 7 Jun 2022 12:12:03 -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 563FF618EC; Tue, 7 Jun 2022 19:11:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67A97C385A2; Tue, 7 Jun 2022 19:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629113; bh=yCzJMVCUlRwnYxLiqzwsBgrMgG0o7TJdZI532aPA9YI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NDc2UfhdZd44JJXxR8tghzUQ1YxxN4JUkelML7gFBP3mW/QmehUFWZQk0nMQoN5DI KoRwiK501k809m48VjY7pLkzCw0T3oqrHOHBPXe8zbxkpzwEzi41bQqeKabTRwGbcE fc2RZw2kx/op0+Pd7jAfjUUqP5iMB+v2Fyl8eFio= 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.18 573/879] crypto: marvell/cesa - ECB does not IV Date: Tue, 7 Jun 2022 19:01:31 +0200 Message-Id: <20220607165019.487265247@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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 b739d3b873dc..c6f2fa753b7c 100644 --- a/drivers/crypto/marvell/cesa/cipher.c +++ b/drivers/crypto/marvell/cesa/cipher.c @@ -624,7 +624,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