[KDF] Add feedback-mode and CMAC support to KBKDF
authorRobbie Harwood <rharwood@redhat.com>
Thu, 17 Oct 2019 02:45:03 +0000 (12:45 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Thu, 17 Oct 2019 02:45:03 +0000 (12:45 +1000)
Implement SP800-108 section 5.2 with CMAC support.  As a side effect,
enable 5.1 with CMAC and 5.2 with HMAC.  Add test vectors from RFC 6803.

Add OSSL_KDF_PARAM_CIPHER and PROV_R_INVALID_SEED_LENGTH.

Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10143)


No differences found