]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: drbg - Use HMAC-SHA512 library API
authorEric Biggers <ebiggers@kernel.org>
Mon, 20 Apr 2026 06:34:06 +0000 (23:34 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 7 May 2026 08:10:00 +0000 (16:10 +0800)
commit245c8d0d177f129d105f84331272494e2cd31f2a
treead63ba1a9e91a46092b651dcefe9def2ff509e77
parentfcc62e0991ff0ceb7f53a93f4b12982b7d91d233
crypto: drbg - Use HMAC-SHA512 library API

Since the HMAC algorithm is now fixed at HMAC-SHA512, just use the
HMAC-SHA512 library API.  This is simpler and more efficient.

Remove error-handling code that is no longer needed.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/drbg.c