Searched refs:out_ptext (Results 1 - 2 of 2) sorted by relevance

/fuchsia/zircon/system/ulib/crypto/include/crypto/
H A Daead.h72 zx_status_t Open(uint64_t nonce, const Bytes& ctext, Bytes* out_ptext) { argument
73 return Open(nonce, ctext, nullptr, 0, out_ptext);
75 zx_status_t Open(uint64_t nonce, const Bytes& ctext, const Bytes& aad, Bytes* out_ptext) { argument
76 return Open(nonce, ctext, aad.get(), aad.len(), out_ptext);
92 Bytes* out_ptext);
/fuchsia/zircon/system/ulib/crypto/
H A Daead.cpp160 zx_status_t AEAD::Open(uint64_t nonce, const Bytes& ctext, const uint8_t* aad, size_t aad_len, Bytes* out_ptext) { argument
169 if (ctext_len < tag_len_ || !out_ptext) {
170 xprintf("bad parameter(s): ctext.len=%zu, ptext=%p\n", ctext_len, out_ptext);
175 if ((rc = out_ptext->Resize(ptext_len)) != ZX_OK) {
183 if (EVP_AEAD_CTX_open(&ctx_->impl, out_ptext->get(), &out_len, ptext_len, iv8, iv_len_,

Completed in 21 milliseconds