Lines Matching refs:aad_block_buf_length_
184 aad_block_buf_length_ = 0; in Begin()
224 if (block_mode_ == KM_MODE_GCM && aad_block_buf_length_ > 0 && !ProcessBufferedAadBlock(&error)) in Finish()
338 aad_block_buf_length_ = 0; in InitializeCipher()
389 if (aad_block_buf_length_ > 0) { in HandleAad()
391 if (aad_block_buf_length_ == AES_BLOCK_SIZE && !ProcessBufferedAadBlock(error)) in HandleAad()
408 if (aad_block_buf_length_ > 0 && !ProcessBufferedAadBlock(error)) in HandleAad()
418 aad_block_buf_length_)) { in ProcessBufferedAadBlock()
419 aad_block_buf_length_ = 0; in ProcessBufferedAadBlock()
440 size_t to_buffer = min(AES_BLOCK_SIZE - aad_block_buf_length_, aad->data_length); in FillBufferedAadBlock()
441 memcpy(aad_block_buf_.get() + aad_block_buf_length_, aad->data, to_buffer); in FillBufferedAadBlock()
444 aad_block_buf_length_ += to_buffer; in FillBufferedAadBlock()