Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp597504iog; Mon, 13 Jun 2022 08:51:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZd4ii5UpnmySFPhYStn5J9ODYhGYbWvqZSh+B1MwzKCCdqpmorMbJYDiktFgPACnqycIc X-Received: by 2002:a05:6402:2684:b0:431:497e:699e with SMTP id w4-20020a056402268400b00431497e699emr368049edd.343.1655135489573; Mon, 13 Jun 2022 08:51:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655135489; cv=none; d=google.com; s=arc-20160816; b=A+Tf+hUTXTrEkfGMuik0+okGYzR7sW/LrmlrTqi1XgBfq9D2F6yQG+EexYfL/IOIjG N+u+4V8zuqcedf/hS7KgFzdIZ1SZDeO+0hra+/6LAP1/os3C7Dn3ng+oi4nODmEwO3Ff v3kvKd6Z7zTPO6Co9U7e6azG+eOFnBHJbGVJ4gGY3WhXjqHMAwbUiwom/FWxNzHIXFLZ GrwYtx3vZXfMzo1n/o9rTtY+4VNqlViIdkloVlyxe33Mw5IaL76Vh3nWNjs9W/DOt1C5 6FJnIosOU4ShbQMx7rxl0Db+m5oU8qnY3O9h/oF5H7zG3tjWgVtrGC+WXrl3uQTTrCZ1 EQhw== 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=RP91m8jMYzfCARxht3hu76ut0gwAHtzbW21YZKGttek=; b=w2CZmqbdDQ+/GhfRMG6fLIo0T9mkL4wX9iRIbCIQ2wrDfc448KPkHm/29gcOPxln1u gGmMHFqa+/kl+WLhd6rGtcQV9YLpT4RvB4LSm7DjboxdWcGrU82XYbAtjrX866nuj0jQ kuJPUsGl/VdRPzf/Gsn7jBH7cHTBOw2dBRreJbTRibT0HVbO3GyXdRfJEDr2Q15Wsleu hur4aCtdNlxXRFJof/sfvI5/bKn+9QFpj5lm8cuQxYg74hW/eI0LKxYDuGoCmkEgrwgs QuDn5Nh5XQpIDPd8Ay6o0uJIRYPShCMRulIj4ru5TTy18kfBZaWJ0SCUH9P/W9RRE4DM oaaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ikrYPmXg; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d29-20020a1709067a1d00b006e8d1d9dc28si8135632ejo.32.2022.06.13.08.51.04; Mon, 13 Jun 2022 08:51:29 -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=@linuxfoundation.org header.s=korg header.b=ikrYPmXg; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353675AbiFMLYM (ORCPT + 99 others); Mon, 13 Jun 2022 07:24:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353721AbiFMLQP (ORCPT ); Mon, 13 Jun 2022 07:16:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F13AB13E1A; Mon, 13 Jun 2022 03:39:36 -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 ams.source.kernel.org (Postfix) with ESMTPS id AB194B80EA8; Mon, 13 Jun 2022 10:39:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27F00C34114; Mon, 13 Jun 2022 10:39:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655116774; bh=EumGoZnvVUxZgmkrlrTsB9+SO65+xnXWFbs49uZFuTA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ikrYPmXg0KUAf2Lty+hkMLudRG67XuoWPN2a3NcN83N/bGjuhhMdE/H2ErYazKFEA hUezv3kWWjSwc2fNa9+MqaOEbQ6DimjgT/J0dPiBORO4/JLi/ojf4x1Zx4Qv9S6bEG BcRFA0MGqIhDJK1mvw9DTVPtnCXYz+l8HgtVKJGE= 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.4 169/411] crypto: marvell/cesa - ECB does not IV Date: Mon, 13 Jun 2022 12:07:22 +0200 Message-Id: <20220613094933.727962967@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094928.482772422@linuxfoundation.org> References: <20220613094928.482772422@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=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: 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/cipher.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/marvell/cipher.c b/drivers/crypto/marvell/cipher.c index 84ceddfee76b..708dc63b2f09 100644 --- a/drivers/crypto/marvell/cipher.c +++ b/drivers/crypto/marvell/cipher.c @@ -610,7 +610,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