aboutsummaryrefslogtreecommitdiff
path: root/include/openssl
diff options
context:
space:
mode:
authorDavid Asraf <dasraf9@gmail.com>2019-02-07 11:51:39 +0200
committerNicola Tuveri <nic.tuv@gmail.com>2019-02-15 16:43:18 +0200
commitfa1f03061037cbdac5369849a885c1191a2550d9 (patch)
tree06b371795d89501717698c4a6f5cadf38666d182 /include/openssl
parent48fe4ce104df060dd5d2b4188a56eb554d94d819 (diff)
downloadopenssl-fa1f03061037cbdac5369849a885c1191a2550d9.zip
openssl-fa1f03061037cbdac5369849a885c1191a2550d9.tar.gz
openssl-fa1f03061037cbdac5369849a885c1191a2550d9.tar.bz2
Add EC_GROUP_get0_field
New function to return internal pointer for field. Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8195)
Diffstat (limited to 'include/openssl')
-rw-r--r--include/openssl/ec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index 4afaad4..7c15368 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -212,6 +212,12 @@ void EC_GROUP_set_curve_name(EC_GROUP *group, int nid);
*/
int EC_GROUP_get_curve_name(const EC_GROUP *group);
+/** Gets the field of an EC_GROUP
+ * \param group EC_GROUP object
+ * \return the group field
+ */
+const BIGNUM *EC_GROUP_get0_field(const EC_GROUP *group);
+
void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag);
int EC_GROUP_get_asn1_flag(const EC_GROUP *group);