]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[CRYPTO] digest: Remove unnecessary zeroing during init
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 May 2006 12:06:54 +0000 (22:06 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 26 Jun 2006 07:34:38 +0000 (17:34 +1000)
commit43600106e32809a4dead79fec67a63e9860e3d5d
tree20590746b98c41d6cc8b590b01cecddf9a185270
parent8b55ba0303bb59c34fab8e015634018780491614
[CRYPTO] digest: Remove unnecessary zeroing during init

Various digest algorithms operate one block at a time and therefore
keep a temporary buffer of partial blocks.  This buffer does not need
to be initialised since there is a counter which indicates what is and
isn't valid in it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/sha1_s390.c
arch/s390/crypto/sha256_s390.c
crypto/sha256.c
crypto/sha512.c
crypto/tgr192.c