[#EC_POINT_get_affine_coordinates_GFp]
= EC&lowbar;POINT&lowbar;get&lowbar;affine&lowbar;coordinates&lowbar;GFp
:mrdocs:

Gets the affine coordinates of an EC&lowbar;POINT&period; A synonym of EC&lowbar;POINT&lowbar;get&lowbar;affine&lowbar;coordinates

== Synopsis

Declared in `&lt;openssl&sol;ec&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
EC&lowbar;POINT&lowbar;get&lowbar;affine&lowbar;coordinates&lowbar;GFp(
    xref:EC_GROUP.adoc[EC&lowbar;GROUP] const* group,
    xref:EC_POINT.adoc[EC&lowbar;POINT] const* p,
    xref:BIGNUM.adoc[BIGNUM]* x,
    xref:BIGNUM.adoc[BIGNUM]* y,
    xref:BN_CTX.adoc[BN&lowbar;CTX]* ctx);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success and 0 if an error occurred

== Parameters

[cols="1,4"]
|===
| Name| Description
| *group*
| underlying EC&lowbar;GROUP object
| *p*
| EC&lowbar;POINT object
| *x*
| BIGNUM for the x&hyphen;coordinate
| *y*
| BIGNUM for the y&hyphen;coordinate
| *ctx*
| BN&lowbar;CTX object (optional)
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
