EC_KEY_oct2priv function
EC_KEY_oct2priv decodes a big-endian, zero-padded integer from len bytes
from in and sets key's private key to the result. It returns one on
success and zero on error. The input must be padded to the size of key's
group order.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(ffi.Pointer<EC_KEY>, ffi.Pointer<ffi.Uint8>, ffi.Size)
>(symbol: 'bssl_dart_EC_KEY_oct2priv')
external int EC_KEY_oct2priv(
ffi.Pointer<EC_KEY> key,
ffi.Pointer<ffi.Uint8> in$,
int len,
);