Decode an EC point from a BIGNUM holding the SEC1 octet form (deprecated).

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
EC_POINT*
EC_POINT_bn2point(
    EC_GROUP const* group,
    BIGNUM const* bn,
    EC_POINT* point,
    BN_CTX* ctx);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Pointer to the result EC_POINT (same as point when non‐NULL), or NULL on error.

Parameters

Name

Description

group

Curve that defines the point encoding.

bn

BIGNUM whose big‐endian content is the SEC1 octet string of the point.

point

Optional EC_POINT to reuse for the result, or NULL to allocate one.

ctx

BN_CTX for temporary values, or NULL.

Created with MrDocs