Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dblock_cipher_operation.cpp147 : Operation(purpose, key.hw_enforced_move(), key.sw_enforced_move()), block_mode_(block_mode), in BlockCipherEvpOperation()
173 if (block_mode_ == KM_MODE_GCM && !HandleAad(additional_params, input, &error)) return error; in Update()
194 if (block_mode_ == KM_MODE_GCM && aad_block_buf_len_ > 0 && !ProcessBufferedAadBlock(&error)) { in Finish()
214 switch (block_mode_) { in need_iv()
231 cipher_description_.GetCipherInstance(key.key_material_size, block_mode_, &error); in InitializeCipher()
250 if (block_mode_ == KM_MODE_GCM) { in InitializeCipher()
266 if (block_mode_ != KM_MODE_GCM && iv_blob.data_length != block_size_bytes()) { in GetIv()
272 if (block_mode_ == KM_MODE_GCM && iv_blob.data_length != GCM_NONCE_SIZE) { in GetIv()
444 iv_.Reset((block_mode_ == KM_MODE_GCM) ? GCM_NONCE_SIZE : block_size_bytes()); in GenerateIv()
476 if (block_mode_ == KM_MODE_GCM) { in Update()
Dblock_cipher_operation.h103 const keymaster_block_mode_t block_mode_; variable