[#EC_POINT_point2oct] = EC_POINT_point2oct :mrdocs: Encodes a EC_POINT object to a octet string == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- size_t EC_POINT_point2oct( xref:EC_GROUP.adoc[EC_GROUP] const* group, xref:EC_POINT.adoc[EC_POINT] const* p, point_conversion_form_t form, unsigned char* buf, size_t len, xref:BN_CTX.adoc[BN_CTX]* ctx); ---- == Return Value the length of the encoded octet string or 0 if an error occurred == Parameters [cols="1,4"] |=== | Name| Description | *group* | underlying EC_GROUP object | *p* | EC_POINT object | *form* | point conversion form | *buf* | memory buffer for the result. If NULL the function returns required buffer size. | *len* | length of the memory buffer | *ctx* | BN_CTX object (optional) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#