generate_public_key function

  1. @Native<Void Function(Pointer<UnsignedChar>, Pointer<UnsignedChar>)>(ffi.Pointer<ffi.UnsignedChar>, ffi.Pointer<ffi.UnsignedChar>)>(symbol: 'generate_public_key')
void generate_public_key(
  1. Pointer<UnsignedChar> private,
  2. Pointer<UnsignedChar> result
)

Generate a public key and store it in result. @param private The private key to which the public key should correspond. @param result Pointer to the location where the key will be stored.

Implementation

@ffi.Native<
    ffi.Void Function(ffi.Pointer<ffi.UnsignedChar>,
        ffi.Pointer<ffi.UnsignedChar>)>(symbol: 'generate_public_key')
external void generate_public_key(
  ffi.Pointer<ffi.UnsignedChar> private,
  ffi.Pointer<ffi.UnsignedChar> result,
);