crypto: hash - Make setkey optional
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 8 Nov 2008 00:56:57 +0000 (08:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2008 00:02:06 +0000 (11:02 +1100)
commit3751f402e099893c34089ed303dca6f5f92dbfd1
treeb052aa508f5c82478fb90a1525bfd854644406df
parentb812eb0076235743872b5c9d18714d2324cc668d
crypto: hash - Make setkey optional

Since most cryptographic hash algorithms have no keys, this patch
makes the setkey function optional for ahash and shash.

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