Home
last modified time | relevance | path

Searched refs:out_ctext (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()
90 Bytes* out_ctext);
/system/ulib/crypto/
A Daead.cpp118 Bytes* out_ctext) { 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()
135 if ((rc = out_ctext->Resize(ctext_len)) != ZX_OK) { in Seal()
141 if (EVP_AEAD_CTX_seal(&ctx_->impl, out_ctext->get(), &out_len, ctext_len, iv8, iv_len_, in Seal()

Completed in 5 milliseconds