[#EC_KEY_priv2buf] = EC_KEY_priv2buf :mrdocs: Encodes an EC_KEY private key to an allocated octet string == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] size_t EC_KEY_priv2buf( xref:EC_KEY.adoc[EC_KEY] const* eckey, unsigned char** pbuf); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value the length of the encoded octet string or 0 if an error occurred == Parameters [cols="1,4"] |=== | Name| Description | *eckey* | key to encode | *pbuf* | returns pointer to allocated buffer |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#