crypto_aead_chacha20poly1305_decrypt_detached method

int crypto_aead_chacha20poly1305_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

@pragma('vm:prefer-inline')
int crypto_aead_chacha20poly1305_decrypt_detached(
  _i1.Pointer<_i1.UnsignedChar> m,
  _i1.Pointer<_i1.UnsignedChar> nsec,
  _i1.Pointer<_i1.UnsignedChar> c,
  int clen,
  _i1.Pointer<_i1.UnsignedChar> mac,
  _i1.Pointer<_i1.UnsignedChar> ad,
  int adlen,
  _i1.Pointer<_i1.UnsignedChar> npub,
  _i1.Pointer<_i1.UnsignedChar> k,
) => _i2.crypto_aead_chacha20poly1305_decrypt_detached(
  m,
  nsec,
  c,
  clen,
  mac,
  ad,
  adlen,
  npub,
  k,
);