Re: PadLock XSHA

2008-08-31 Thread Herbert Xu
On Mon, Sep 01, 2008 at 01:32:48PM +1200, Michal Ludvig wrote: > > That's right, I confused SHA with AES in PadLock, sorry. With AES the > first versions required 16-byte alignment on input and output data as > well as on the control word and there's a flag in newer PadLocks that > allow doing A

Re: PadLock XSHA

2008-08-31 Thread Michal Ludvig
Herbert Xu wrote: On Sat, Aug 30, 2008 at 09:55:00PM +1200, Michal Ludvig wrote: IIRC The first versions of VIA PadLock required the input data to be aligned on 16-bytes boundaries and more importantly they always finalised the hash. Therefore we had to collect all data before hashing them. Hm