Decodes a EC_POINT from a octet string
Declared in <openssl/ec.h>
int
EC_POINT_oct2point(
EC_GROUP const* group,
EC_POINT* p,
unsigned char const* buf,
size_t len,
BN_CTX* ctx);
1 on success and 0 if an error occurred
| Name | Description |
|---|---|
| group | underlying EC_GROUP object |
| p | EC_POINT object |
| buf | memory buffer with the encoded ec point |
| len | length of the encoded ec point |
| ctx | BN_CTX object (optional) |