Home
last modified time | relevance | path

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

/aosp12/system/keymaster/km_openssl/
H A Dblock_cipher_operation.cpp458 tag_buf_.reset(new (std::nothrow) uint8_t[tag_length_]); in Begin()
459 if (!tag_buf_) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in Begin()
515 if (!InternalUpdate(tag_buf_.get(), to_process, output, error)) return false; in ProcessTagBufContentsAsData()
517 memmove(tag_buf_.get(), tag_buf_.get() + to_process, tag_buf_len_ - to_process); in ProcessTagBufContentsAsData()
526 memcpy(tag_buf_.get() + tag_buf_len_, data, data_length); in BufferCandidateTagData()
541 !EVP_CIPHER_CTX_ctrl(&ctx_, EVP_CTRL_GCM_SET_TAG, tag_length_, tag_buf_.get())) { in Finish()
H A Dblock_cipher_operation.h165 UniquePtr<uint8_t[]> tag_buf_; variable