Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754108AbZFVCHf (ORCPT ); Sun, 21 Jun 2009 22:07:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751953AbZFVCH1 (ORCPT ); Sun, 21 Jun 2009 22:07:27 -0400 Received: from mga02.intel.com ([134.134.136.20]:19826 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751700AbZFVCH0 (ORCPT ); Sun, 21 Jun 2009 22:07:26 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.42,264,1243839600"; d="scan'208";a="526632433" Subject: Re: [RFC 2/7] crypto: Use GHASH digest algorithm in GCM From: Huang Ying To: Herbert Xu Cc: "linux-kernel@vger.kernel.org" , "linux-crypto@vger.kernel.org" In-Reply-To: <20090622020305.GA7843@gondor.apana.org.au> References: <20090621134635.GA2980@gondor.apana.org.au> <1245634876.22246.320.camel@yhuang-dev.sh.intel.com> <20090622020305.GA7843@gondor.apana.org.au> Content-Type: text/plain Date: Mon, 22 Jun 2009 10:07:27 +0800 Message-Id: <1245636447.22246.323.camel@yhuang-dev.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 894 Lines: 23 On Mon, 2009-06-22 at 10:03 +0800, Herbert Xu wrote: > On Mon, Jun 22, 2009 at 09:41:16AM +0800, Huang Ying wrote: > > > > Can crypto_alloc_ahash("ghash",...) select among different ghash > > implementation automatically based on priority? I think > > crypto_alloc_ablkcipher("cbc(aes)",...) can select among different AES > > implementation automatically. They are different? > > Yes it will select the highest priority implementation of ghash. > Adding it as an extra parameter would allow the user to specify > an implementation that is not necessarily the one with the highest > priority. Oh, I see. I will do this. Best Regards, Huang Ying -- 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/