Home
last modified time | relevance | path

Searched refs:out_nonce (Results 1 – 2 of 2) sorted by relevance

/system/ulib/crypto/include/crypto/
A Daead.h61 zx_status_t Seal(const Bytes& ptext, uint64_t* out_nonce, Bytes* out_ctext) { in Seal() argument
62 return Seal(ptext, nullptr, 0, out_nonce, out_ctext); in Seal()
64 zx_status_t Seal(const Bytes& ptext, const Bytes& aad, uint64_t* out_nonce, Bytes* out_ctext) { in Seal() argument
65 return Seal(ptext, aad.get(), aad.len(), out_nonce, out_ctext); in Seal()
89 zx_status_t Seal(const Bytes& ptext, const uint8_t* aad, size_t aad_len, uint64_t* out_nonce,
/system/ulib/crypto/
A Daead.cpp117 zx_status_t AEAD::Seal(const Bytes& ptext, const uint8_t* aad, size_t aad_len, uint64_t* out_nonce, in Seal() argument
128 if (!out_nonce || !out_ctext) { in Seal()
129 xprintf("bad parameter(s): out_nonce=%p, ctext=%p\n", out_nonce, out_ctext); in Seal()
159 *out_nonce = nonce; in Seal()

Completed in 6 milliseconds