crypto_aead_xchacha20poly1305_ietf_decrypt method

int crypto_aead_xchacha20poly1305_ietf_decrypt(
  1. Pointer<UnsignedChar> m,
  2. Pointer<UnsignedLongLong> mlen_p,
  3. Pointer<UnsignedChar> nsec,
  4. Pointer<UnsignedChar> c,
  5. int clen,
  6. Pointer<UnsignedChar> ad,
  7. int adlen,
  8. Pointer<UnsignedChar> npub,
  9. Pointer<UnsignedChar> k,
)

Implementation

int crypto_aead_xchacha20poly1305_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_xchacha20poly1305_ietf_decrypt(
    m,
    mlen_p,
    nsec,
    c,
    clen,
    ad,
    adlen,
    npub,
    k,
  );
}