Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3292546pxb; Mon, 25 Jan 2021 11:50:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhOMJJR9cJ9hfVxmfh57b+bSlkl/Xl4OdCsjMDqxJC0kGp/wlY7cQffWH60paIt+/tTZx8 X-Received: by 2002:a17:906:1a14:: with SMTP id i20mr1398262ejf.548.1611604242063; Mon, 25 Jan 2021 11:50:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611604242; cv=none; d=google.com; s=arc-20160816; b=KASXNX+RQbRpLcD579Vt/8hRaPnXzaq0+S2/0KtB1pbQm+dMzNIHJpq6Z6kMBR1Ytv ya70MIRiexCtj8TfrE/gkGQAvbEuhIcLXi4uTqRu/1uMwRt1JRz98nRSOTvgbVXhXaFu B+KOueEnaBmvIejLOf/T2Buo2CqnOGIRXIcbUo4Z3NI8/Vmqd2PR4IEXxwTlULLKZ7ZT B7tCj4W/Kxm8DFNKjpnC5Tm1CndPbJ/o32qjoT5DlEu6qJBY294isAFubD+vSnYOWVyQ AshiOSZmrjF+ROHbdTU36sm/l3AWI10CNH8AEl0Ek2EYdAJFdx9vEP3iIgHqJO1yKs/B coSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RACfGCkhI5scU7X7ybvkFm/nrdSxi4NbSKB3Ciwz/80=; b=WAtynNx7+jVe5/gvcji1kVollecdpwcQ4kQCI/H/lACuqPwB3szI5h8dOXlFt/i3Q2 6SASFS2duBprRwJENvviwp00KYZT/5jkoXST1jTdl/QUEnaIaqmumrdI7ZtL9NKRcSQ/ hwz2oAynizlU/c3PNFvbfimp1JIrET/QaJYS3+4sOvNTKRBvtWqcjhkM/iUq3gfXCwQI 6HG6OzvkT88Tg5zt7M4yMoVW7m53JMePumgNUNRAIMCb8oAlGf40NPBjFkiJNcHsJJmj NNFMCc/8dU2eqCV2oX58ouZs8kWf9sG7ru+9O2GGo3vkVGoix+S7hwWvUbZc4Rwqy3CA Zo5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=R+YIlUOV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si850154edp.368.2021.01.25.11.50.17; Mon, 25 Jan 2021 11:50:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=R+YIlUOV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732169AbhAYTtA (ORCPT + 99 others); Mon, 25 Jan 2021 14:49:00 -0500 Received: from mx2.suse.de ([195.135.220.15]:46112 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726381AbhAYTeY (ORCPT ); Mon, 25 Jan 2021 14:34:24 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1611602091; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RACfGCkhI5scU7X7ybvkFm/nrdSxi4NbSKB3Ciwz/80=; b=R+YIlUOVpaeaDnsYXuqRDLAWnxLc15ZmI+0PoNuM9AExN/9QM4YNlQrBHrZDwk+qAIS/7e 0XPH6zNXUBbn7amR2QqW5wvxIVMbDIivLK5Gysm3KHEjGMQMUZRdk7nIGY+EQGDuxm6Sqz FLx7yWYc0ayhMSjIienUXxTuSkyGKLQ= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 2A2CDAF11; Mon, 25 Jan 2021 19:14:51 +0000 (UTC) Date: Mon, 25 Jan 2021 20:14:48 +0100 From: Anthony Iliopoulos To: Pavel Machek Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Mike Snitzer , Sasha Levin Subject: Re: [PATCH 4.19 12/58] dm integrity: select CRYPTO_SKCIPHER Message-ID: References: <20210125183156.702907356@linuxfoundation.org> <20210125183157.221452946@linuxfoundation.org> <20210125185829.GA2818@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210125185829.GA2818@duo.ucw.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 25, 2021 at 07:58:29PM +0100, Pavel Machek wrote: > Hi! > > > From: Anthony Iliopoulos > > > > [ Upstream commit f7b347acb5f6c29d9229bb64893d8b6a2c7949fb ] > > > > The integrity target relies on skcipher for encryption/decryption, but > > certain kernel configurations may not enable CRYPTO_SKCIPHER, leading to > > compilation errors due to unresolved symbols. Explicitly select > > CRYPTO_SKCIPHER for DM_INTEGRITY, since it is unconditionally dependent > > on it. > > There is no such config option in 4.19. This patch is not suitable > here. > > grep -r CRYPTO_SKCIPHER . > ./include/crypto/skcipher.h:#ifndef _CRYPTO_SKCIPHER_H > ./include/crypto/skcipher.h:#define _CRYPTO_SKCIPHER_H > ./include/crypto/skcipher.h:#endif /* _CRYPTO_SKCIPHER_H */ This is due to commit b95bba5d0114 ("crypto: skcipher - rename the crypto_blkcipher module and kconfig option"), which was applied in v5.5-rc1. As already pointed out in [1], if this is to be backported to any earlier releases then SKCIPHER needs to be changed to BLKCIPHER. Best regards, Anthony [1] https://lore.kernel.org/lkml/YAfD81Jw%2F0NU0eWN@sol.localdomain/#t