Decodes an EC_KEY private key from an octet string
Synopsis
Declared in <openssl/ec.h>
[[deprecated]]
int
EC_KEY_oct2priv(
EC_KEY* key,
unsigned char const* buf,
size_t len);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
1 on success and 0 if an error occurred
Parameters
Name |
Description |
key |
key to decode |
buf |
memory buffer with the encoded private key |
len |
length of the encoded key |
Created with MrDocs