]> www.infradead.org Git - users/hch/misc.git/commit
nfsd: use SHA-256 library API instead of crypto_shash API
authorEric Biggers <ebiggers@google.com>
Mon, 28 Apr 2025 19:36:58 +0000 (12:36 -0700)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 11 May 2025 23:48:29 +0000 (19:48 -0400)
commitc2c90a8b2620626cdb3eb315c2fafcc19fe24ee6
tree3eb7971bba6883fb5e7c3561b5b7b3ce69e13ff8
parent8ac6fcae5dc0e801f1c82a83f5ae2c0a4db19932
nfsd: use SHA-256 library API instead of crypto_shash API

This user of SHA-256 does not support any other algorithm, so the
crypto_shash abstraction provides no value.  Just use the SHA-256
library API instead, which is much simpler and easier to use.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/Kconfig
fs/nfsd/nfs4recover.c