crypto_aead_xchacha20poly1305_ietf_decrypt_detached method
int
crypto_aead_xchacha20poly1305_ietf_decrypt_detached(
- Pointer<
UnsignedChar> m, - Pointer<
UnsignedChar> nsec, - Pointer<
UnsignedChar> c, - int clen,
- Pointer<
UnsignedChar> mac, - Pointer<
UnsignedChar> ad, - int adlen,
- Pointer<
UnsignedChar> npub, - Pointer<
UnsignedChar> k,
Implementation
int crypto_aead_xchacha20poly1305_ietf_decrypt_detached(
ffi.Pointer<ffi.UnsignedChar> m,
ffi.Pointer<ffi.UnsignedChar> nsec,
ffi.Pointer<ffi.UnsignedChar> c,
int clen,
ffi.Pointer<ffi.UnsignedChar> mac,
ffi.Pointer<ffi.UnsignedChar> ad,
int adlen,
ffi.Pointer<ffi.UnsignedChar> npub,
ffi.Pointer<ffi.UnsignedChar> k,
) {
return _crypto_aead_xchacha20poly1305_ietf_decrypt_detached(
m,
nsec,
c,
clen,
mac,
ad,
adlen,
npub,
k,
);
}