EC_POINT_invert

Computes the inverse of a EC_POINT

Synopsis

Declared in <openssl/ec.h>

int
EC_POINT_invert(
    EC_GROUP const* group,
    EC_POINT* a,
    BN_CTX* ctx);

Return Value

1 on success and 0 if an error occurred

Parameters

NameDescription
groupunderlying EC_GROUP object
aEC_POINT object to be inverted (it's used for the result as well)
ctxBN_CTX object (optional)