[#EC_POINT_point2hex] = EC_POINT_point2hex :mrdocs: Encode an EC point as a newly allocated hexadecimal octet string. == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char* EC_POINT_point2hex( xref:EC_GROUP.adoc[EC_GROUP] const* group, xref:EC_POINT.adoc[EC_POINT] const* point, point_conversion_form_t form, xref:BN_CTX.adoc[BN_CTX]* ctx); ---- == Return Value NUL‐terminated hex string (caller must OPENSSL_free), or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *group* | Curve that defines the point encoding. | *point* | Point to encode. | *form* | Conversion form such as POINT_CONVERSION_UNCOMPRESSED. | *ctx* | BN_CTX for temporary values, or NULL to allocate internally. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#