Searched refs:to_process (Results 1 – 2 of 2) sorted by relevance
/system/keymaster/km_openssl/ |
D | block_cipher_operation.cpp | 491 const size_t to_process = data_available - tag_length_; in ProcessAllButTagLengthBytes() local 492 const size_t to_process_from_tag_buf = min(to_process, tag_buf_len_); in ProcessAllButTagLengthBytes() 493 const size_t to_process_from_input = to_process - to_process_from_tag_buf; in ProcessAllButTagLengthBytes() 495 if (!output->reserve(to_process + block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in ProcessAllButTagLengthBytes() 509 bool BlockCipherEvpDecryptOperation::ProcessTagBufContentsAsData(size_t to_process, Buffer* output, in ProcessTagBufContentsAsData() argument 511 assert(to_process <= tag_buf_len_); in ProcessTagBufContentsAsData() 512 if (!InternalUpdate(tag_buf_.get(), to_process, output, error)) return false; in ProcessTagBufContentsAsData() 513 if (to_process < tag_buf_len_) { in ProcessTagBufContentsAsData() 514 memmove(tag_buf_.get(), tag_buf_.get() + to_process, tag_buf_len_ - to_process); in ProcessTagBufContentsAsData() 516 tag_buf_len_ -= to_process; in ProcessTagBufContentsAsData()
|
D | block_cipher_operation.h | 162 bool ProcessTagBufContentsAsData(size_t to_process, Buffer* output, keymaster_error_t* error);
|