mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
89cccbea51
The X942 KDF had been modified so that it supports all optional fields - not just the fields used by CMS. As there are 2 types of KDF for X942 - this has been made a bit clearer by adding an X942KDF-ASN1 alias. X942KDF-CONCAT has also been added as an alias of X963KDF. This work was instigated as a result of the ACVP tests optionally being able to use keybits for the supp_pubinfo field. Setting the parameter OSSL_KDF_PARAM_X942_USE_KEYBITS to 0 allows this to be disabled. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13418)
36 lines
892 B
Plaintext
36 lines
892 B
Plaintext
=pod
|
|
|
|
=head1 NAME
|
|
|
|
EVP_KDF-X942-CONCAT - The X942 Concat EVP_KDF implementation
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
The EVP_KDF-X942-CONCAT algorithm is identical to EVP_KDF-X963. It is
|
|
used for key agreement to derive a key using input such as a shared secret key
|
|
and shared info.
|
|
|
|
=head2 Identity
|
|
|
|
"X942KDF_CONCAT" is the name for this implementation; it
|
|
can be used with the EVP_KDF_fetch() function.
|
|
|
|
This is an alias for "X963KDF".
|
|
|
|
See <EVP_KDF-X963(7)> for a list of supported parameters and examples.
|
|
|
|
=head1 HISTORY
|
|
|
|
This functionality was added to OpenSSL 3.0.
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
this file except in compliance with the License. You can obtain a copy
|
|
in the file LICENSE in the source distribution or at
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
=cut
|