mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
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>
This commit is contained in:
parent
fcc62e0991
commit
245c8d0d17
2 changed files with 41 additions and 175 deletions
213
crypto/drbg.c
213
crypto/drbg.c
Loading…
Add table
Add a link
Reference in a new issue