crypto: shash - Move finup/digest null checks to registration time
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Jul 2009 12:36:44 +0000 (20:36 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 11 Jul 2009 10:23:33 +0000 (18:23 +0800)
commit8267adab9433593adb09d94626475c2a5921f111
treef05bc75fb3b6ee993bfb1d94715f794dc2d7ef40
parent99d27e1c59e34869605de625b033c52163f5bfa7
crypto: shash - Move finup/digest null checks to registration time

This patch moves the run-time null finup/digest checks to the
shash_prepare_alg function which is run at registration time.

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