Home
last modified time | relevance | path

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

/system/keymaster/
Daes_operation.cpp184 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()
[all …]
Daes_operation.h99 size_t aad_block_buf_length_; variable