Gets the affine coordinates of an EC_POINT.
Declared in <openssl/ec.h>
int
EC_POINT_get_affine_coordinates(
EC_GROUP const* group,
EC_POINT const* p,
BIGNUM* x,
BIGNUM* y,
BN_CTX* ctx);
1 on success and 0 if an error occurred
| Name | Description |
|---|---|
| group | underlying EC_GROUP object |
| p | EC_POINT object |
| x | BIGNUM for the x-coordinate |
| y | BIGNUM for the y-coordinate |
| ctx | BN_CTX object (optional) |