crypto_aead_chacha20poly1305_ietf_decrypt_detached method

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

Implementation

int crypto_aead_chacha20poly1305_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_chacha20poly1305_ietf_decrypt_detached(
    m,
    nsec,
    c,
    clen,
    mac,
    ad,
    adlen,
    npub,
    k,
  );
}