Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dblock_cipher_operation.cpp494 const size_t to_process = data_available - tag_length_; in ProcessAllButTagLengthBytes() local
495 const size_t to_process_from_tag_buf = min(to_process, tag_buf_len_); in ProcessAllButTagLengthBytes()
496 const size_t to_process_from_input = to_process - to_process_from_tag_buf; in ProcessAllButTagLengthBytes()
498 if (!output->reserve(to_process + block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in ProcessAllButTagLengthBytes()
512 bool BlockCipherEvpDecryptOperation::ProcessTagBufContentsAsData(size_t to_process, Buffer* output, in ProcessTagBufContentsAsData() argument
514 assert(to_process <= tag_buf_len_); in ProcessTagBufContentsAsData()
515 if (!InternalUpdate(tag_buf_.get(), to_process, output, error)) return false; in ProcessTagBufContentsAsData()
516 if (to_process < tag_buf_len_) { in ProcessTagBufContentsAsData()
517 memmove(tag_buf_.get(), tag_buf_.get() + to_process, tag_buf_len_ - to_process); in ProcessTagBufContentsAsData()
519 tag_buf_len_ -= to_process; in ProcessTagBufContentsAsData()
Dblock_cipher_operation.h162 bool ProcessTagBufContentsAsData(size_t to_process, Buffer* output, keymaster_error_t* error);