crypto: lib/sha256 - improve function prototypes
authorEric Biggers <ebiggers@google.com>
Mon, 28 Apr 2025 17:00:38 +0000 (10:00 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:44 +0000 (18:20 +0800)
commit7350fef56b7629a539897c332d7324629580671d
tree2c5dbbdc0165378a0ca37ea7b922a4a1f61ede5e
parent5aab01777fd38ff820bd7ae6cbc15d03b85de92f
crypto: lib/sha256 - improve function prototypes

Follow best practices by changing the length parameters to size_t and
explicitly specifying the length of the output digest arrays.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/sha2.h
lib/crypto/sha256.c