Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4018237pxb; Tue, 26 Jan 2021 10:11:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNXwCtNHANSsKFKYijh3Pk0kB+/dIMRAwi9RPw8T4j+Y++dRYQzuCeWkV20cjVolRsTVe1 X-Received: by 2002:a17:906:5002:: with SMTP id s2mr4095490ejj.16.1611684712097; Tue, 26 Jan 2021 10:11:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611684712; cv=none; d=google.com; s=arc-20160816; b=JQLUX7z75aGPybIOJBEgQR6PtgGTbLpl9WAdIQyDgeHBl5haSlp3A/UBoMUzPNJeM2 GYZ/lcIyur9j5t+tL/ulta7oH+IKQASBEYJ45s6u8C7Vb1g9M/bDcvtmdRq7MwTKqgvK vsSjqMDZ1UUiFmp1UYmsCM8AuzbijANEibCmbLsvpqQyrQK5DfWax+inOzR6dU6N8lRj GlyC7TCRdqYKIoe/QXZ6ejN89LoPrSoc33p7f04yOauKnWDleWaSJVATEYC2TTAeqoz1 fCAQ2xTKVhdLGdwBC1CZwJaL3NvlEkR4a49ZuKXDGBO8dr4cF958mjaa0syN8tHPPTjM QftQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Lghp1niq5qG8N9Rs2H2JQAB1q1Z/tYDGjubmlznnt10=; b=TMUCc1Fea0Aeyh0t+R9gblxnAHyxbjYjI8JztjhqjxJV0NDlXkXdPXNU4qV612BblA yQXK5xdgfaKev4DNIaDzpmne5rLqJw2UEfPMVBBJ3H666oIB0287iQQqZpZV03n8jCYs 7Kx60tc8hmVtKuj9rkrMqvYw1rOpd262FMwZIRrbK40deVtiGyiVoC4XE8KtvM7SEMfC rBEiaTkVOvbCd2+zujFSJYhh7iwgcFYvOOdgtYF3Evef17xtkPgfoG1LF14CwbAKZsP4 lQkKMOnw59eEbCnCvP/7KZwdzX0QpiDb7Lx34gC4grcokRJyatV4M9KTDrWLaUnPRbiW oNzg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz4si7162144ejc.132.2021.01.26.10.11.24; Tue, 26 Jan 2021 10:11:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391430AbhAZKIP (ORCPT + 99 others); Tue, 26 Jan 2021 05:08:15 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:35938 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731442AbhAYS7l (ORCPT ); Mon, 25 Jan 2021 13:59:41 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 9F1A11C0B78; Mon, 25 Jan 2021 19:58:29 +0100 (CET) Date: Mon, 25 Jan 2021 19:58:29 +0100 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Anthony Iliopoulos , Mike Snitzer , Sasha Levin Subject: Re: [PATCH 4.19 12/58] dm integrity: select CRYPTO_SKCIPHER Message-ID: <20210125185829.GA2818@duo.ucw.cz> References: <20210125183156.702907356@linuxfoundation.org> <20210125183157.221452946@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <20210125183157.221452946@linuxfoundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Anthony Iliopoulos >=20 > [ Upstream commit f7b347acb5f6c29d9229bb64893d8b6a2c7949fb ] >=20 > 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 . =2E/include/crypto/skcipher.h:#ifndef _CRYPTO_SKCIPHER_H =2E/include/crypto/skcipher.h:#define _CRYPTO_SKCIPHER_H =2E/include/crypto/skcipher.h:#endif /* _CRYPTO_SKCIPHER_H */ Best regards, Pavel > +++ b/drivers/md/Kconfig > @@ -527,6 +527,7 @@ config DM_INTEGRITY > select BLK_DEV_INTEGRITY > select DM_BUFIO > select CRYPTO > + select CRYPTO_SKCIPHER > select ASYNC_XOR > ---help--- > This device-mapper target emulates a block device that has --=20 http://www.livejournal.com/~pavelmachek --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYA8U1QAKCRAw5/Bqldv6 8rEVAJ0bHdzq+GcOETeQUFDZ3r73okWsVACfQ4ljhvoDXG5rfaqCk9Oig7CqDNM= =n2XG -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--