Commit f7b2254eee for openssl.org
commit f7b2254eeebdc68bd4e57a3147606590b8188ab1
Author: mkpark <minkyungp@unist.ac.kr>
Date: Sat Sep 5 18:19:08 2026 +0900
doc/man3/EC_GROUP_new.pod: document EC_GROUP_get_ecpkparameters function
Added EC_GROUP_get_ecpkparameters() function description and usage details.
Complements: 60b350a3ef96 "RT3676: Expose ECgroup i2d functions"
Reviewed-by: Jakub Zelenka <jakub.zelenka@openssl.foundation>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Merge-date: Sun Oct 18 15:26:52 2026
Merged-from: https://github.com/openssl/openssl/pull/32169
diff --git a/doc/man3/EC_GROUP_new.pod b/doc/man3/EC_GROUP_new.pod
index 10a9659da4..c552e675a0 100644
--- a/doc/man3/EC_GROUP_new.pod
+++ b/doc/man3/EC_GROUP_new.pod
@@ -129,6 +129,11 @@ specified I<params> and
EC_GROUP_new_from_ecpkparameters() will create a group from the specific PK
I<params>.
+EC_GROUP_get_ecpkparameters() creates an ECPKPARAMETERS object for the given
+I<group>. If I<params> is NULL a new object is allocated, otherwise
+I<params> is filled in and returned. Please note that I<params> is freed on
+failure and must not be used or freed by the caller in such case.
+
EC_GROUP_set_curve() sets the curve parameters I<p>, I<a> and I<b>. For a curve
over Fp I<p> is the prime for the field. For a curve over F2^m I<p> represents
the irreducible polynomial - each bit represents a term in the polynomial.