From fa1f03061037cbdac5369849a885c1191a2550d9 Mon Sep 17 00:00:00 2001 From: David Asraf Date: Thu, 7 Feb 2019 11:51:39 +0200 Subject: Add EC_GROUP_get0_field New function to return internal pointer for field. Reviewed-by: Nicola Tuveri Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8195) --- include/openssl/ec.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/openssl/ec.h') 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); -- cgit v1.1