Messages in this thread | | | Subject | Re: [RFC 2/7] crypto: Use GHASH digest algorithm in GCM | From | Huang Ying <> | Date | Mon, 22 Jun 2009 10:07:27 +0800 |
| |
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
| |