]> git.ipfire.org Git - thirdparty/linux.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)
commit13855fd8ce641e567c1b972048b5fd1451984e88
tree4fb01cb99ef4e42ba075ebd197084d2c59fa10b0
parentd099ea6e6fde5f311bea5bcdadaa85fc3af79259
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