crypto_chacha20_h function
Specialised hash. Used to hash X25519 shared secrets.
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<ffi.Uint8>,
ffi.Pointer<ffi.Uint8>,
ffi.Pointer<ffi.Uint8>,
)
>()
external void crypto_chacha20_h(
ffi.Pointer<ffi.Uint8> out,
ffi.Pointer<ffi.Uint8> key,
ffi.Pointer<ffi.Uint8> in$,
);