Change the DRBG HMAC implementation to lookup allowed digest names
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 <1910231d24f125aceac7850dc92279eee8d52323@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9035)

openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl