From: Herbert Xu Subject: Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem Date: Thu, 13 Aug 2015 15:29:18 +0800 Message-ID: <20150813072917.GA21449@gondor.apana.org.au> References: <1439432654-23322-1-git-send-email-iamjoonsoo.kim@lge.com> <20150813031954.GA19481@gondor.apana.org.au> <20150813063755.GA13352@js1304-P5Q-DELUXE> <20150813063823.GA20830@gondor.apana.org.au> <20150813073031.GC13352@js1304-P5Q-DELUXE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , Minchan Kim , Nitin Gupta , Sergey Senozhatsky , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, "David S. Miller" , Stephan Mueller To: Joonsoo Kim Return-path: Content-Disposition: inline In-Reply-To: <20150813073031.GC13352@js1304-P5Q-DELUXE> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Thu, Aug 13, 2015 at 04:30:31PM +0900, Joonsoo Kim wrote: > > How about introducing new functions to search supported algorithm in > kernel-side? As crypto API is used in more places, this interface > would be requested more. Defined list weaken the advantage of strong > point of generic crypto API. You're only getting the list so you can immediately reexport it to user-space, with no added value whatsoever. As I said we already have an interface for that so you should use it. If more genuine uses come up then I will reconsider. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt