crypto: shash - Move null setkey check to registration time
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 11 Jul 2009 14:17:39 +0000 (22:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 12 Jul 2009 02:46:02 +0000 (10:46 +0800)
commit57cfe44bccb0e38ddb44a34a42f517deef1f4e82
tree76407ea6aa11d7441aa4bb6811eb6e398554f041
parent7d024608265eb815ae4ce1e5da097ec9d800dda4
crypto: shash - Move null setkey check to registration time

This patch moves the run-time null setkey check to shash_prepare_alg
just like we did for finup/digest.

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