crypto: ahash - Add unaligned handling and default operations
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Jul 2009 04:40:40 +0000 (12:40 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Jul 2009 04:40:40 +0000 (12:40 +0800)
commit66f6ce5e52f2f209d5bf1f06167cec888f4f4c13
treeaa7b21af00649d2f458b72ebfba071816cb340c3
parent093900c2b964da73daf234374225b5ce5d49f941
crypto: ahash - Add unaligned handling and default operations

This patch exports the finup operation where available and adds
a default finup operation for ahash.  The operations final, finup
and digest also will now deal with unaligned result pointers by
copying it.  Finally export/import operations are will now be
exported too.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c
crypto/shash.c
include/crypto/hash.h
include/crypto/internal/hash.h