test HKDF with empty IKM
authorBenjamin Kaduk <bkaduk@akamai.com>
Thu, 21 May 2020 19:53:59 +0000 (12:53 -0700)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 28 May 2020 17:01:47 +0000 (10:01 -0700)
commit2cd3ebc76c7d8e76a8e337ef1eef43753eacef00
treefdc1ea7fe33637b1f4498f96426621b3087cb8c3
parent5ddec6a7d3206c61209a016db4227b847dcaad27
test HKDF with empty IKM

Add an extra EVP test that provides empty input key material.  It
currently fails, since we lose the information about "key present but
zero length" as we deserialize parameters in the provider.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11920)
test/evp_extra_test.c