Change the DRBG HMAC implementation to lookup allowed digest names
authorMatt Caswell <matt@openssl.org>
Thu, 20 Jun 2019 12:17:22 +0000 (13:17 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 28 Jun 2019 09:22:21 +0000 (10:22 +0100)
commit53a11c6da09988efba93eccfdd10bf7edf1d53b2
tree3ac795da57025faea1604d2a5550dcedd2ff54ef
parent671aaecd365644d6981c9542d48a1c32666da18d
Change the DRBG HMAC implementation to lookup allowed digest names

As per the previous commit we make the same change for DRBG HMAC and
more closely align the FIPS_MODE and non FIPS_MODE implementations.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9035)
crypto/rand/drbg_hmac.c