crypto: mv_cesa - make count_sgs() null-pointer proof
authorPhil Sutter <phil.sutter@viprinet.com>
Thu, 5 May 2011 13:29:06 +0000 (15:29 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 May 2011 05:06:22 +0000 (15:06 +1000)
This also makes the dummy scatterlist in mv_hash_final() needless, so
drop it.

XXX: should this routine be made pulicly available? There are probably
other users with their own implementations.

Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found