]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: lib/sha256 - return void
authorEric Biggers <ebiggers@google.com>
Fri, 1 May 2020 16:42:29 +0000 (09:42 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 May 2020 05:32:12 +0000 (15:32 +1000)
commit06166df33c472b8685b9c86542e8f8ef42497f67
tree4fb01cb99ef4e42ba075ebd197084d2c59fa10b0
parent28e74df178e2c57563f0a340e65223f6f849e503
crypto: lib/sha256 - return void

The SHA-256 / SHA-224 library functions can't fail, so remove the
useless return value.

Also long as the declarations are being changed anyway, also fix some
parameter names in the declarations to match the definitions.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/sha256_generic.c
include/crypto/sha.h
include/crypto/sha256_base.h
lib/crypto/sha256.c