Don't allow SHAKE128/SHAKE256 with HMAC
authorMatt Caswell <matt@openssl.org>
Tue, 26 Mar 2019 13:32:39 +0000 (13:32 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 27 Mar 2019 14:37:22 +0000 (14:37 +0000)
commit66ed53c848c60cbaf7a11fa56f1959abf5ef09c0
treeba009336636f9047f45572b42083565c4b7caea5
parente7a621d57b69014490574ffb3f9ba5bb9b0a61fc
Don't allow SHAKE128/SHAKE256 with HMAC

See discussion in github issue #8563

Fixes #8563

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/8585)
crypto/hmac/hmac.c
doc/man3/HMAC.pod
test/recipes/30-test_evp_data/evpmac.txt