[#EC_POINT_point2bn] = EC_POINT_point2bn :mrdocs: Encode an EC point as a BIGNUM holding the SEC1 octet form (deprecated). == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:BIGNUM.adoc[BIGNUM]* EC_POINT_point2bn( xref:EC_GROUP.adoc[EC_GROUP] const* group, xref:EC_POINT.adoc[EC_POINT] const* point, point_conversion_form_t form, xref:BIGNUM.adoc[BIGNUM]* bn, xref:BN_CTX.adoc[BN_CTX]* ctx); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[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 [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#