EC_KEY_oct2key function
EC_KEY_oct2key decodes |len| bytes from |in| as an EC public key in X9.62 form. |key| must already have a group configured. On success, it sets the public key in |key| to the result and returns one. Otherwise, it returns zero. |ctx| may be NULL.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<EC_KEY>,
ffi.Pointer<ffi.Uint8>,
ffi.Size,
ffi.Pointer<BN_CTX>,
)
>(symbol: 'bssl_dart_EC_KEY_oct2key')
external int EC_KEY_oct2key(
ffi.Pointer<EC_KEY> key,
ffi.Pointer<ffi.Uint8> in$,
int len,
ffi.Pointer<BN_CTX> ctx,
);