EC_POINT_oct2point

Decodes a EC_POINT from a octet string

Synopsis

Declared in <openssl/ec.h>

int
EC_POINT_oct2point(
    EC_GROUP const* group,
    EC_POINT* p,
    unsigned char const* buf,
    size_t len,
    BN_CTX* ctx);

Return Value

1 on success and 0 if an error occurred

Parameters

NameDescription
groupunderlying EC_GROUP object
pEC_POINT object
bufmemory buffer with the encoded ec point
lenlength of the encoded ec point
ctxBN_CTX object (optional)