[#EC_GROUP_get_curve] = EC_GROUP_get_curve :mrdocs: Gets the parameters of the ec curve defined by yˆ2 = xˆ3 + a*x + b (for GFp) or yˆ2 + x_y = xˆ3 + a_xˆ2 + b (for GF2m) == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EC_GROUP_get_curve( xref:EC_GROUP.adoc[EC_GROUP] const* group, xref:BIGNUM.adoc[BIGNUM]* p, xref:BIGNUM.adoc[BIGNUM]* a, xref:BIGNUM.adoc[BIGNUM]* b, xref:BN_CTX.adoc[BN_CTX]* ctx); ---- == Return Value 1 on success and 0 if an error occurred == Parameters [cols="1,4"] |=== | Name| Description | *group* | EC_GROUP object | *p* | BIGNUM with the prime number (GFp) or the polynomial defining the underlying field (GF2m) | *a* | BIGNUM for parameter a of the equation | *b* | BIGNUM for parameter b of the equation | *ctx* | BN_CTX object (optional) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#