Change the ASN1 variant of x942kdf so that it can test acvp data.
authorShane Lontis <shane.lontis@oracle.com>
Fri, 5 Feb 2021 07:45:39 +0000 (17:45 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Wed, 10 Feb 2021 00:28:32 +0000 (10:28 +1000)
commit8a686bdb3ac7d61b6d5f02b9132c4878ae80a7e5
treec82f6f791129ae7cff64d7031544eaefaaaff3c9
parent7e365d51a1ac7f092b7c2e459332051126f76d72
Change the ASN1 variant of x942kdf so that it can test acvp data.

This 'special' way of specifying the data should only be used for testing
purposes. It should not be used in production environments.
ACVP passes a blob of DER encoded data for some of the fields rather
than passing them as separate fields that need to be DER encoded.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14077)
doc/man7/EVP_KDF-X942-ASN1.pod
include/openssl/core_names.h
providers/implementations/kdfs/x942kdf.c
test/recipes/30-test_evp_data/evpkdf_x942.txt