crypto_aead_chacha20poly1305_ietf_decrypt method
int
crypto_aead_chacha20poly1305_ietf_decrypt(
- Pointer<
UnsignedChar> m, - Pointer<
UnsignedLongLong> mlen_p, - Pointer<
UnsignedChar> nsec, - Pointer<
UnsignedChar> c, - int clen,
- Pointer<
UnsignedChar> ad, - int adlen,
- Pointer<
UnsignedChar> npub, - Pointer<
UnsignedChar> k,
Implementation
int crypto_aead_chacha20poly1305_ietf_decrypt(
ffi.Pointer<ffi.UnsignedChar> m,
ffi.Pointer<ffi.UnsignedLongLong> mlen_p,
ffi.Pointer<ffi.UnsignedChar> nsec,
ffi.Pointer<ffi.UnsignedChar> c,
int clen,
ffi.Pointer<ffi.UnsignedChar> ad,
int adlen,
ffi.Pointer<ffi.UnsignedChar> npub,
ffi.Pointer<ffi.UnsignedChar> k,
) {
return _crypto_aead_chacha20poly1305_ietf_decrypt(
m,
mlen_p,
nsec,
c,
clen,
ad,
adlen,
npub,
k,
);
}