summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-05-20 16:20:27 +0100
committerMatt Caswell <matt@openssl.org>2020-06-05 11:04:11 +0100
commit6a9bd9298bd706e3a4a40ecfa1d89f65f8592c65 (patch)
tree38fdba8151948162bbaf8df6c073844ee05c1e46 /doc
parent0d52ede71685e4176999cc5e52000dcb540747fc (diff)
Make EVP_PKEY_[get1|set1]_tls_encodedpoint work with provided keys
EVP_PKEY_[get1|set1]_tls_encodedpoint() only worked if an ameth was present which isn't the case for provided keys. Support has been added to dh, ec and ecx keys. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11898)
Diffstat (limited to 'doc')
-rw-r--r--doc/man7/EVP_PKEY-DH.pod5
-rw-r--r--doc/man7/EVP_PKEY-EC.pod5
-rw-r--r--doc/man7/EVP_PKEY-X25519.pod5
3 files changed, 15 insertions, 0 deletions
diff --git a/doc/man7/EVP_PKEY-DH.pod b/doc/man7/EVP_PKEY-DH.pod
index 33b19a74f9..d2a49b7bfa 100644
--- a/doc/man7/EVP_PKEY-DH.pod
+++ b/doc/man7/EVP_PKEY-DH.pod
@@ -54,6 +54,11 @@ validation is required. The default value is 2.
These are not named safe prime groups so setting this value for the OpenSSL FIPS
provider will instead choose a named safe prime group based on the size of I<p>.
+=item "tls-encoded-pt" (B<OSSL_PKEY_PARAM_TLS_ENCODED_PT>) <octet string>
+
+Used for getting and setting the encoding of the DH public key used in a key
+exchange message for the TLS protocol.
+
=back
=head2 DH domain parameter / key generation parameters
diff --git a/doc/man7/EVP_PKEY-EC.pod b/doc/man7/EVP_PKEY-EC.pod
index 1995cf7676..85e633ceed 100644
--- a/doc/man7/EVP_PKEY-EC.pod
+++ b/doc/man7/EVP_PKEY-EC.pod
@@ -39,6 +39,11 @@ The public key value in EC point format.
The private key value.
+=item "tls-encoded-pt" (B<OSSL_PKEY_PARAM_TLS_ENCODED_PT>) <octet string>
+
+Used for getting and setting the encoding of the EC public key used in key
+exchange message for the TLS protocol.
+
=back
=head1 EXAMPLES
diff --git a/doc/man7/EVP_PKEY-X25519.pod b/doc/man7/EVP_PKEY-X25519.pod
index fa8c86844a..ebeda8d814 100644
--- a/doc/man7/EVP_PKEY-X25519.pod
+++ b/doc/man7/EVP_PKEY-X25519.pod
@@ -34,6 +34,11 @@ The public key value.
The private key value.
+=item "tls-encoded-pt" (B<OSSL_PKEY_PARAM_TLS_ENCODED_PT>) <octet string>
+
+Used for getting and setting the encoding of the public key used in a key exchange
+message for the TLS protocol.
+
=back
=head2 ED25519 and ED448 parameters