Re: Accelerate GCM with PCLMULQDQ-NI

2009-03-29 Thread Huang Ying
On Sun, 2009-03-29 at 15:43 +0800, Herbert Xu wrote: > On Wed, Mar 18, 2009 at 04:52:12PM +0800, Huang Ying wrote: > > > > To accelerate GCM with it, I make the following design: > > > > 1. Implement ghash as an ahash algorithm, Use ghash in gcm > > implementation. > > 2. Provide a new implementat

Re: Accelerate GCM with PCLMULQDQ-NI

2009-03-29 Thread Herbert Xu
On Wed, Mar 18, 2009 at 04:52:12PM +0800, Huang Ying wrote: > > To accelerate GCM with it, I make the following design: > > 1. Implement ghash as an ahash algorithm, Use ghash in gcm > implementation. > 2. Provide a new implementation of ghash with PCLMULQDQ-NI. > > What do you think about that?