Encode an EC point as a BIGNUM holding the SEC1 octet form (deprecated).
Declared in <openssl/ec.h>
[[deprecated]]
BIGNUM*
EC_POINT_point2bn(
EC_GROUP const* group,
EC_POINT const* point,
point_conversion_form_t form,
BIGNUM* bn,
BN_CTX* ctx);
Deprecated. Use of this entity is allowed but discouraged.
Pointer to the result BIGNUM (same as bn when non-NULL), or NULL on error.
| Name | Description |
|---|---|
| group | Curve that defines point. |
| point | Point to encode. |
| form | Conversion form passed to EC_POINT_point2oct(). |
| bn | Optional BIGNUM to reuse for the result, or NULL to allocate one. |
| ctx | BN_CTX for temporary values, or NULL. |