Decodes a EC_KEY public key from a octet string
Declared in <openssl/ec.h>
[[deprecated]]
int
EC_KEY_oct2key(
EC_KEY* key,
unsigned char const* buf,
size_t len,
BN_CTX* ctx);
Deprecated. Use of this entity is allowed but discouraged.
1 on success and 0 if an error occurred
| 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) |