Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp228764rwe; Fri, 26 Aug 2022 04:05:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR7i9tW6+6E4zCfIa0/Yy+RCCVQ2jptq2WFQErhmQZ/s3rEnn2KIRDGVh788sAyhXWiV/vTb X-Received: by 2002:a05:6402:4441:b0:43d:5bcf:afa0 with SMTP id o1-20020a056402444100b0043d5bcfafa0mr6210463edb.91.1661511953089; Fri, 26 Aug 2022 04:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661511953; cv=none; d=google.com; s=arc-20160816; b=E7B7shUzzH/avhPOBIyB58wnK8CHE+83ci59dOTZnA4BHXgb4LJ7685wZC8pEfL5n8 QzDtYD2FsdABhjhwavFAm+1X9YPkozPVtdBTes2iKwUfvP6G122PxcwAaf2OGoys07cv pHh0STGB4qcu3blV9NKvG27qdnvzj4P6rNmhFVzVoK4v8D/GuCjZoI0iA2BHKEqg6kfj Kp3dLPkO49ecMN7HfBWDNJSNGqw7UrEvkpavKaVUh+7JEyfsioMxw7SHTvG2tbv4w9cq bf9KZr0SY6bhv5dhWvs2zvb15gp9z1CaCvmgGCtVnWSebIGMsGuH6Q9u6PIjHcQcQ6zg JTGg== 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; bh=5wBvxACNEZb8jRY4pSxDeVjDdmq8fdaLhVZuFH+buOU=; b=BQu5ukY4X2so2ninEYuy4In+02rO5zd38ZDfSeNF9sTeXHLAmVoqPWk6i0m+SD6+dg lyJ68CfDGNAvcJASl0JstLMBGhRdQ8kXmjpy2k4PPIGcIzxDeiGC1hLRc/rKEVDZLk6B IyevbeWOOaFqRpPoIX6Z6L0H1RgzqKiEQMavujru3PoVeYlwAvzcA10i0lQtWenv1mtr 1TmS7ajTUkp5N/A5MQYpWuqR7m3TlaeXZrss1L0uW1PJtGc2yEbBYvIidnPw3CgAive9 NnEN4xVG78aCgf9GB52VsraRgIr4RrGBLPsd63SAhqqRpcIiTlp/NosCd7aiYRL87FFV GXTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz14-20020a0564021d4e00b0043df391fc6asi1479348edb.578.2022.08.26.04.04.47; Fri, 26 Aug 2022 04:05:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343998AbiHZLEl (ORCPT + 99 others); Fri, 26 Aug 2022 07:04:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245361AbiHZLEZ (ORCPT ); Fri, 26 Aug 2022 07:04:25 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92627FF9; Fri, 26 Aug 2022 04:03:32 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1oRX7X-00FQ0Q-5e; Fri, 26 Aug 2022 21:03:28 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 26 Aug 2022 19:03:27 +0800 Date: Fri, 26 Aug 2022 19:03:27 +0800 From: Herbert Xu To: Robert Elliott Cc: davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, ardb@kernel.org, toshi.kani@hpe.com Subject: Re: [PATCH] crypto: tcrypt - remove mode=1000 Message-ID: References: <20220815042915.44547-1-elliott@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220815042915.44547-1-elliott@hpe.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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-crypto@vger.kernel.org On Sun, Aug 14, 2022 at 11:29:15PM -0500, Robert Elliott wrote: > The lists of algothms checked for existence by > modprobe tcrypt mode=1000 > generates three bogus errors: > modprobe tcrypt mode=1000 > > console log: > tcrypt: alg rot13 not found > tcrypt: alg cts not found > tcrypt: alg arc4 not found > > rot13 is not an algorithm in the crypto API or tested. > > cts is a wrapper, not a base algorithm. > > arc4 is named ecb(arc4), not arc4. > > Also, the list is missing numerous algorithms that are tested by > other test modes: > blake2b-512 > blake2s-256 > crct10dif > xxhash64 > ghash > cast5 > sm4 > ansi_prng > > Several of the algorithms are only available if > CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE is enabled: > arc4 > khazad > seed > tea, xtea, xeta > > Rather that fix that list, remove test mode=1000 entirely. > It seems to have limited utility, and a web search shows no > discussion of anybody using it. > > Suggested-by: Ard Biesheuvel > Signed-off-by: Robert Elliott > --- > crypto/tcrypt.c | 28 ---------------------------- > 1 file changed, 28 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt