Searched refs:new_counter_block (Results 1 – 1 of 1) sorted by relevance
212 std::vector<unsigned char> new_counter_block(data, data + params.iv.size()); in BlockWithZeroedCounter() local214 size_t index = new_counter_block.size() - length_bytes; in BlockWithZeroedCounter()215 memset(&new_counter_block.front() + index, 0, length_bytes); in BlockWithZeroedCounter()218 new_counter_block[index - 1] &= 0xFF << remainder; in BlockWithZeroedCounter()220 return new_counter_block; in BlockWithZeroedCounter()328 std::vector<unsigned char> new_counter_block = BlockWithZeroedCounter(params); in AES_CTR_Cipher() local337 new_counter_block.data(), in AES_CTR_Cipher()