Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp995694pxk; Fri, 18 Sep 2020 00:32:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsXHlCNp60d2equsRscaJVA8A78V1T7r/YUGT5CPDA70rn2bHX2GH5OABvSEXcLzA71YKv X-Received: by 2002:a17:906:2b83:: with SMTP id m3mr16729398ejg.456.1600414320117; Fri, 18 Sep 2020 00:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600414320; cv=none; d=google.com; s=arc-20160816; b=s5fFh38dWFfGUVt4Ur4Vy0gq70OSNZvHmlAj4Vojaw/B8TEgiZ7K/RFxAm8ku5uxVb AcPQhKPqs/29+fK+PzCzyDpk4t/5VFd2mp6ySunpwNUxNzAj6eboONF+3teK0/EIkMAS lvVDQ/Z7SaDwS3bCTRW3xwua0zaEYPJcAjDkAqRv4/m1RYqFZ8skqkXfZmQ7yl7SYkyL fjB/jrsCwgTVtlpXbrYCcR4Nttf2blse2wHHNcovKQg3hSelNSozYdhOpQDczVSJAoMp Op0gyAbr9BZLyIzoFMCsZk8JIoRAN43CP4i7RMbOgmrqRquNNjyH281vqA9P+XMas7id lTgA== 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=gdsEVRPfLvnwZYP3p06UwQORxS5fIibsNumJSt3GDAM=; b=KmFTVygIH8BrML2IaRqXxQZe6RbLVjX56NXkOrhVdndaxU1ZqFpWcS0VU6XWTFTIk6 GPp+ps6/6PdWXohRakDCY69ancu/KvaubzYB5e890vs4kVdq2SdlKZ6WIjb8bDYKcNuP I3QaAgxjMTPDelpUZCAVkJvfk8AHoViWMmEICW9WB3CuV1El0QI4TZ0tA1BSbF9Da3Wa BILcN4s2ZpScTF5/RUevab7gDjS2X8YxeXkKlKug6zqlbDrjn/JYUgbj/jGtib1hQSMi r6ZWqCEXLOewbcY0HYS9+2UTj2cFRfmn5NWGqRNAY1QFUivmF+3Gw8Ukso7JBw0l0lCP Nfgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 l8si1572173edr.396.2020.09.18.00.31.36; Fri, 18 Sep 2020 00:32:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726655AbgIRHa1 (ORCPT + 99 others); Fri, 18 Sep 2020 03:30:27 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:57668 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726565AbgIRHa1 (ORCPT ); Fri, 18 Sep 2020 03:30:27 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1kJAqf-0003ZI-4V; Fri, 18 Sep 2020 17:30:26 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 18 Sep 2020 17:30:25 +1000 Date: Fri, 18 Sep 2020 17:30:25 +1000 From: Herbert Xu To: Ard Biesheuvel Cc: linux-crypto@vger.kernel.org, ebiggers@kernel.org Subject: Re: [PATCH] crypto: mark unused ciphers as obsolete Message-ID: <20200918073025.GJ23319@gondor.apana.org.au> References: <20200911141103.14832-1-ardb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200911141103.14832-1-ardb@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Sep 11, 2020 at 05:11:03PM +0300, Ard Biesheuvel wrote: > We have a few interesting pieces in our cipher museum, which are never > used internally, and were only ever provided as generic C implementations. > > Unfortunately, we cannot simply remove this code, as we cannot be sure > that it is not being used via the AF_ALG socket API, however unlikely. > > So let's mark the Anubis, Khazad, SEED and TEA algorithms as obsolete, > which means they can only be enabled in the build if the socket API is > enabled in the first place. > > Signed-off-by: Ard Biesheuvel > --- > Hopefully, I will be able to convince the distro kernel maintainers to > disable CRYPTO_USER_API_ENABLE_OBSOLETE in their v5.10+ builds once the > iwd changes for arc4 make it downstream (Debian already has an updated > version in its unstable distro). With the joint coverage of their QA, > we should be able to confirm that these algos are never used, and > actually remove them altogether. > > crypto/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt