Re: [RFC PATCH] Add VMAC(AES) to Linux for intel_txt support

2009-07-21 Thread Herbert Xu
On Thu, Jul 16, 2009 at 11:05:40PM +0800, Shane Wang wrote: The following VMAC(AES) patch, ported from http://fastcrypto.org/vmac, is used to support S3 memory integrity verification for Intel(R) Trusted Execution Technology (for more about Intel(R) TXT patches, see

[PATCH v2] crypto: authenc - convert to ahash

2009-07-21 Thread Steffen Klassert
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

Re: [PATCH v2] crypto: authenc - convert to ahash

2009-07-21 Thread Herbert Xu
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

Re: [PATCH v2] crypto: authenc - convert to ahash

2009-07-21 Thread Steffen Klassert
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

crypto: cryptd - Add finup/export/import for hash

2009-07-21 Thread Herbert Xu
Hi: This patch fills in the new finup/export/import functions in cryptd. commit 6fba00d176ab73b15bb8e31f261582943429a92b Author: Herbert Xu herb...@gondor.apana.org.au Date: Wed Jul 22 11:10:22 2009 +0800 crypto: cryptd - Add finup/export/import for hash This patch adds the