crypto_secretstream_xchacha20poly1305_push method

int crypto_secretstream_xchacha20poly1305_push(
  1. Pointer<crypto_secretstream_xchacha20poly1305_state> state,
  2. Pointer<UnsignedChar> c,
  3. Pointer<UnsignedLongLong> clen_p,
  4. Pointer<UnsignedChar> m,
  5. int mlen,
  6. Pointer<UnsignedChar> ad,
  7. int adlen,
  8. int tag,
)

Implementation

int crypto_secretstream_xchacha20poly1305_push(
  ffi.Pointer<crypto_secretstream_xchacha20poly1305_state> state,
  ffi.Pointer<ffi.UnsignedChar> c,
  ffi.Pointer<ffi.UnsignedLongLong> clen_p,
  ffi.Pointer<ffi.UnsignedChar> m,
  int mlen,
  ffi.Pointer<ffi.UnsignedChar> ad,
  int adlen,
  int tag,
) {
  return _crypto_secretstream_xchacha20poly1305_push(
    state,
    c,
    clen_p,
    m,
    mlen,
    ad,
    adlen,
    tag,
  );
}