Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752212AbbHMHhs (ORCPT ); Thu, 13 Aug 2015 03:37:48 -0400 Received: from lgeamrelo01.lge.com ([156.147.1.125]:57654 "EHLO lgeamrelo01.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752029AbbHMHhq (ORCPT ); Thu, 13 Aug 2015 03:37:46 -0400 X-Original-SENDERIP: 10.177.222.220 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Date: Thu, 13 Aug 2015 16:43:24 +0900 From: Joonsoo Kim To: Herbert Xu Cc: Andrew Morton , Minchan Kim , Nitin Gupta , Sergey Senozhatsky , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, "David S. Miller" , Stephan Mueller Subject: Re: [PATCH 1/2] crypto: export crypto_alg_list and rwsem Message-ID: <20150813074323.GB14553@js1304-P5Q-DELUXE> 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> <20150813072917.GA21449@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150813072917.GA21449@gondor.apana.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 951 Lines: 23 On Thu, Aug 13, 2015 at 03:29:18PM +0800, Herbert Xu wrote: > 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. Okay. I will think this issue more and come back with better solution. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/