Encode an EC point as a BIGNUM holding the SEC1 octet form (deprecated).
Synopsis
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);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
Pointer to the result BIGNUM (same as bn when non‐NULL), or NULL on error.
Parameters
Name |
Description |
group |
Curve that defines |
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. |
Created with MrDocs