Return-Path: Received: from orcrist.hmeau.com ([104.223.48.154]:45166 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726628AbeKTNhu (ORCPT ); Tue, 20 Nov 2018 08:37:50 -0500 Date: Tue, 20 Nov 2018 11:10:47 +0800 From: Herbert Xu To: Ard Biesheuvel Cc: Corentin Labbe , "David S. Miller" , Eric Biggers , nhorman@tuxdriver.com, "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Linux Kernel Mailing List Subject: Re: [PATCH v2 01/11] crypto: move crypto_alg_get/crypto_alg_put to linux/crypto.h Message-ID: <20181120031047.diqgmbluclbbkhav@gondor.apana.org.au> References: <1542657210-37739-1-git-send-email-clabbe@baylibre.com> <1542657210-37739-2-git-send-email-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org List-ID: On Mon, Nov 19, 2018 at 12:25:10PM -0800, Ard Biesheuvel wrote: > On Mon, 19 Nov 2018 at 11:53, Corentin Labbe wrote: > > > > Since we will need crypto_alg_get/crypto_alg_put for "locking" > > crypto_alg when updating stats, we need it to be via linux/crypto.h > > > > This seems backwards to me. Surely, crypto stats are permitted to use > the internal crypto API? I agree. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt