[#EC_KEY_oct2key] = EC_KEY_oct2key :mrdocs: Decodes a EC_KEY public key from a octet string == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int EC_KEY_oct2key( xref:EC_KEY.adoc[EC_KEY]* key, unsigned char const* buf, size_t len, 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 1 on success and 0 if an error occurred == Parameters [cols="1,4"] |=== | Name| Description | *key* | key to decode | *buf* | memory buffer with the encoded ec point | *len* | length of the encoded ec point | *ctx* | BN_CTX object (optional) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#