summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man3/EC_GROUP_new.3ssl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:33 +0000
commit2c3307fb903f427be3d021c5780b75cac9af2ce8 (patch)
tree65cf431f40b7481d81ae2dfce9576342686448f7 /upstream/debian-unstable/man3/EC_GROUP_new.3ssl
parentReleasing progress-linux version 4.22.0-1~progress7.99u1. (diff)
downloadmanpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.tar.xz
manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.zip
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man3/EC_GROUP_new.3ssl')
-rw-r--r--upstream/debian-unstable/man3/EC_GROUP_new.3ssl17
1 files changed, 15 insertions, 2 deletions
diff --git a/upstream/debian-unstable/man3/EC_GROUP_new.3ssl b/upstream/debian-unstable/man3/EC_GROUP_new.3ssl
index a6166ec8..c1646b01 100644
--- a/upstream/debian-unstable/man3/EC_GROUP_new.3ssl
+++ b/upstream/debian-unstable/man3/EC_GROUP_new.3ssl
@@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "EC_GROUP_NEW 3SSL"
-.TH EC_GROUP_NEW 3SSL 2024-02-03 3.1.5 OpenSSL
+.TH EC_GROUP_NEW 3SSL 2024-04-04 3.2.2-dev OpenSSL
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -64,6 +64,7 @@
EC_GROUP_get_ecparameters,
EC_GROUP_get_ecpkparameters,
EC_GROUP_new_from_params,
+EC_GROUP_to_params,
EC_GROUP_new_from_ecparameters,
EC_GROUP_new_from_ecpkparameters,
EC_GROUP_new,
@@ -89,6 +90,8 @@ Functions for creating and destroying EC_GROUP objects
\&
\& EC_GROUP *EC_GROUP_new_from_params(const OSSL_PARAM params[],
\& OSSL_LIB_CTX *libctx, const char *propq);
+\& OSSL_PARAM *EC_GROUP_to_params(const EC_GROUP *group, OSSL_LIB_CTX *libctx,
+\& const char *propq, BN_CTX *bnctx);
\& EC_GROUP *EC_GROUP_new_from_ecparameters(const ECPARAMETERS *params);
\& EC_GROUP *EC_GROUP_new_from_ecpkparameters(const ECPKPARAMETERS *params);
\& void EC_GROUP_free(EC_GROUP *group);
@@ -168,6 +171,16 @@ The values for \fIctx\fR and \fIpropq\fR may be NULL.
The \fIparams\fR that can be used are described in
\&\fBEVP_PKEY\-EC\fR(7).
.PP
+EC_GROUP_to_params creates an OSSL_PARAM array with the corresponding parameters
+describing the given EC_GROUP. The resulting parameters may contain parameters
+describing a named or explicit curve depending on the EC_GROUP.
+The library context \fIlibctx\fR (see \fBOSSL_LIB_CTX\fR\|(3)) and property query string
+\&\fIpropq\fR are used to fetch algorithms from providers.
+\&\fIbnctx\fR is an optional preallocated BN_CTX (to save the overhead of allocating
+and freeing the structure in a loop).
+The values for \fIlibctx\fR, \fIpropq\fR and \fIbnctx\fR may be NULL.
+The caller is responsible for freeing the OSSL_PARAM pointer returned.
+.PP
\&\fBEC_GROUP_new_from_ecparameters()\fR will create a group from the
specified \fIparams\fR and
\&\fBEC_GROUP_new_from_ecpkparameters()\fR will create a group from the specific PK
@@ -277,7 +290,7 @@ instead.
.Ve
.SH COPYRIGHT
.IX Header "COPYRIGHT"
-Copyright 2013\-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2013\-2023 The OpenSSL Project Authors. All Rights Reserved.
.PP
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