crypto_x25519 function
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<ffi.Uint8>,
ffi.Pointer<ffi.Uint8>,
ffi.Pointer<ffi.Uint8>,
)
>()
external void crypto_x25519(
ffi.Pointer<ffi.Uint8> raw_shared_secret,
ffi.Pointer<ffi.Uint8> your_secret_key,
ffi.Pointer<ffi.Uint8> their_public_key,
);