Update core_names.h fields and document most fields.
authorShane Lontis <shane.lontis@oracle.com>
Tue, 26 May 2020 03:53:07 +0000 (13:53 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Tue, 26 May 2020 03:53:07 +0000 (13:53 +1000)
commitb8086652650c0782bc8d63b620663e04a3c6a3a7
tree831362a2004a3b79808f04eb4e387b7e649177ab
parentf32af93c924dca25728d8e7b85b8e4b660154e12
Update core_names.h fields and document most fields.

Renamed some values in core_names i.e Some DH specific names were changed to use DH instead of FFC.
Added some strings values related to RSA keys.
Moved set_params related docs out of EVP_PKEY_CTX_ctrl.pod into its own file.
Updated Keyexchange and signature code and docs.
Moved some common DSA/DH docs into a shared EVP_PKEY-FFC.pod.
Moved Ed25519.pod into EVP_SIGNATURE-ED25519.pod and reworked it.

Added some usage examples. As a result of the usage examples the following change was also made:
ec allows OSSL_PKEY_PARAM_USE_COFACTOR_ECDH as a settable gen parameter.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11610)
42 files changed:
crypto/dh/dh_lib.c
crypto/ec/ec_backend.c
crypto/evp/pmeth_lib.c
crypto/ffc/ffc_backend.c
crypto/ffc/ffc_params.c
crypto/provider_core.c
doc/man3/EVP_KDF.pod
doc/man3/EVP_MAC.pod
doc/man3/EVP_PKEY_CTX_ctrl.pod
doc/man3/EVP_PKEY_CTX_set_params.pod [new file with mode: 0644]
doc/man7/EVP_KEYEXCH-DH.pod [new file with mode: 0644]
doc/man7/EVP_KEYEXCH-ECDH.pod [new file with mode: 0644]
doc/man7/EVP_KEYEXCH-X25519.pod [new file with mode: 0644]
doc/man7/EVP_PKEY-DH.pod [new file with mode: 0644]
doc/man7/EVP_PKEY-DSA.pod
doc/man7/EVP_PKEY-EC.pod
doc/man7/EVP_PKEY-FFC.pod [new file with mode: 0644]
doc/man7/EVP_PKEY-RSA.pod
doc/man7/EVP_PKEY-X25519.pod
doc/man7/EVP_SIGNATURE-DSA.pod [new file with mode: 0644]
doc/man7/EVP_SIGNATURE-ECDSA.pod [new file with mode: 0644]
doc/man7/EVP_SIGNATURE-ED25519.pod [new file with mode: 0644]
doc/man7/EVP_SIGNATURE-RSA.pod [new file with mode: 0644]
doc/man7/Ed25519.pod [deleted file]
doc/man7/OSSL_PROVIDER-FIPS.pod
doc/man7/OSSL_PROVIDER-default.pod
doc/man7/OSSL_PROVIDER-legacy.pod
doc/man7/provider-base.pod
doc/man7/provider-keyexch.pod
doc/man7/provider-signature.pod
include/crypto/ec.h
include/openssl/core_names.h
providers/fips/fipsprov.c
providers/implementations/asymciphers/rsa_enc.c
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c
providers/implementations/keymgmt/ec_kmgmt.c
providers/implementations/signature/dsa.c
providers/implementations/signature/eddsa.c
providers/implementations/signature/rsa.c
test/dsatest.c
test/evp_pkey_provided_test.c