crypto_aead_aes256gcm_encrypt_detached_afternm method

int crypto_aead_aes256gcm_encrypt_detached_afternm(
  1. Pointer<UnsignedChar> c,
  2. Pointer<UnsignedChar> mac,
  3. Pointer<UnsignedLongLong> maclen_p,
  4. Pointer<UnsignedChar> m,
  5. int mlen,
  6. Pointer<UnsignedChar> ad,
  7. int adlen,
  8. Pointer<UnsignedChar> nsec,
  9. Pointer<UnsignedChar> npub,
  10. Pointer<crypto_aead_aes256gcm_state> ctx_,
)

Implementation

int crypto_aead_aes256gcm_encrypt_detached_afternm(
  ffi.Pointer<ffi.UnsignedChar> c,
  ffi.Pointer<ffi.UnsignedChar> mac,
  ffi.Pointer<ffi.UnsignedLongLong> maclen_p,
  ffi.Pointer<ffi.UnsignedChar> m,
  int mlen,
  ffi.Pointer<ffi.UnsignedChar> ad,
  int adlen,
  ffi.Pointer<ffi.UnsignedChar> nsec,
  ffi.Pointer<ffi.UnsignedChar> npub,
  ffi.Pointer<crypto_aead_aes256gcm_state> ctx_,
) {
  return _crypto_aead_aes256gcm_encrypt_detached_afternm(
    c,
    mac,
    maclen_p,
    m,
    mlen,
    ad,
    adlen,
    nsec,
    npub,
    ctx_,
  );
}