On Fri, Jul 24, 2009 at 03:23:11PM +0800, Herbert Xu wrote:
Ah, that makes sense. I've done the prehash patch, let me know
if this works.
Yes, it works.
Thanks!
--
To unsubscribe from this list: send the line unsubscribe linux-crypto in
the body of a message to majord...@vger.kernel.org
On Tue, Jul 21, 2009 at 09:07:25PM +0800, Herbert Xu wrote:
On Tue, Jul 21, 2009 at 02:25:09PM +0200, Steffen Klassert wrote:
I just noticed that your shash version of hmac keeps the paded keys
on the transform. I assumed the hashing to be reentrant, so I
removed the locks arround the hash
On Wed, Jul 22, 2009 at 03:02:59PM +0800, Herbert Xu wrote:
On Tue, Jul 21, 2009 at 11:02:17AM +0200, Steffen Klassert wrote:
+ err = crypto_ahash_finup(ahreq);
+ if (err == -EINPROGRESS)
+ return;
This is redundant. All completion functions must expect to be
called
On Wed, Jul 22, 2009 at 09:32:11AM +0200, Steffen Klassert wrote:
On Wed, Jul 22, 2009 at 03:02:59PM +0800, Herbert Xu wrote:
On Tue, Jul 21, 2009 at 11:02:17AM +0200, Steffen Klassert wrote:
+ err = crypto_ahash_finup(ahreq);
+ if (err == -EINPROGRESS)
+ return;
This
This patch converts authenc to the new ahash interface.
Signed-off-by: Steffen Klassert steffen.klass...@secunet.com
---
crypto/authenc.c | 371 --
1 files changed, 302 insertions(+), 69 deletions(-)
diff --git a/crypto/authenc.c
On Tue, Jul 21, 2009 at 02:25:09PM +0200, Steffen Klassert wrote:
I just noticed that your shash version of hmac keeps the paded keys
on the transform. I assumed the hashing to be reentrant, so I
removed the locks arround the hash functions here.
The padded keys are in the transform because
On Tue, Jul 21, 2009 at 09:07:25PM +0800, Herbert Xu wrote:
On Tue, Jul 21, 2009 at 02:25:09PM +0200, Steffen Klassert wrote:
I just noticed that your shash version of hmac keeps the paded keys
on the transform. I assumed the hashing to be reentrant, so I
removed the locks arround the hash