Searched refs:block_size_bytes (Results 1 – 4 of 4) sorted by relevance
191 if (!output->reserve(block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in Finish()205 assert(static_cast<size_t>(output_written) <= block_size_bytes()); in Finish()248 aad_block_buf_.reset(new (std::nothrow) uint8_t[block_size_bytes()]); in InitializeCipher()263 if (block_mode_ != KM_MODE_GCM && iv_blob.data_length != block_size_bytes()) { in GetIv()264 LOG_E("Expected %d-byte IV for operation, but got %d bytes", block_size_bytes(), in GetIv()301 if (aad_block_buf_len_ == block_size_bytes() && !ProcessBufferedAadBlock(error)) in HandleAad()305 size_t block_size = block_size_bytes(); in HandleAad()340 blocks * block_size_bytes())) { in ProcessAadBlocks()352 size_t to_buffer = min(block_size_bytes() - aad_block_buf_len_, aad->data_length); in FillBufferedAadBlock()366 if (!output->reserve(input_length + block_size_bytes())) { in InternalUpdate()[all …]
39 virtual size_t block_size_bytes() const = 0;101 size_t block_size_bytes() const { return cipher_description_.block_size_bytes(); } in block_size_bytes() function
35 size_t block_size_bytes() const override { return AES_BLOCK_SIZE; } in block_size_bytes() function
35 size_t block_size_bytes() const override { return 8 /* DES_BLOCK_SIZE */; } in block_size_bytes() function