crypto: shash - Add shash_instance
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 7 Jul 2009 07:17:12 +0000 (15:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 8 Jul 2009 10:57:10 +0000 (18:57 +0800)
commit2e4fddd8e420e8f531a34e7a97f9cdb851a6ad13
tree8f708150f9dca8286a0b6f1d347bda657a3c57a9
parent70ec7bb91ad0d6cce84c8e17f8cbb608dda7b18c
crypto: shash - Add shash_instance

This patch adds shash_instance and the associated alloc/free
functions.  This is meant to be an instance that with a shash
algorithm under it.  Note that the instance itself doesn't have
to be shash.

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