[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>
Showing
- arch/s390/crypto/sha1_s390.c 12 additions, 11 deletionsarch/s390/crypto/sha1_s390.c
- arch/s390/crypto/sha256_s390.c 0 additions, 1 deletionarch/s390/crypto/sha256_s390.c
- crypto/sha256.c 0 additions, 1 deletioncrypto/sha256.c
- crypto/sha512.c 0 additions, 2 deletionscrypto/sha512.c
- crypto/tgr192.c 0 additions, 1 deletioncrypto/tgr192.c
Loading
Please register or sign in to comment