Searched refs:random_data (Results 1 – 11 of 11) sorted by relevance
/system/nvram/messages/tests/ |
D | nvram_messages_test.cpp | 401 uint8_t random_data[1024]; in TEST() local 402 for (size_t i = 0; i < sizeof(random_data); ++i) { in TEST() 403 random_data[i] = rand() & 0xff; in TEST() 407 for (size_t pos = 0; pos < sizeof(random_data); ++pos) { in TEST() 408 for (size_t end = pos; end < sizeof(random_data); ++end) { in TEST() 410 Decode(random_data + pos, end - pos, &request); in TEST() 413 Decode(random_data + pos, end - pos, &response); in TEST()
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils_unittest.cc | 206 brillo::Blob random_data; in TEST_F() local 210 random_data.push_back(dis(gen)); in TEST_F() 214 brillo::Blob data_to_test = i == 0 ? random_data : ones; in TEST_F()
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 535 msg.random_data.Reinitialize("foo", 3); in TEST() 538 EXPECT_EQ(3U, deserialized->random_data.available_read()); in TEST() 539 EXPECT_EQ(0, memcmp("foo", deserialized->random_data.peek_read(), 3)); in TEST()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 212 response->error = context_->AddRngEntropy(request.random_data.peek_read(), in AddRngEntropy() 213 request.random_data.available_read()); in AddRngEntropy()
|
D | android_keymaster_messages.cpp | 314 return random_data.SerializedSize(); in SerializedSize() 318 return random_data.Serialize(buf, end); in Serialize() 322 return random_data.Deserialize(buf_ptr, end); in Deserialize()
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 225 request.random_data.Reinitialize(data.data(), data.size()); in addRngEntropy()
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 268 request.random_data.Reinitialize(data.data(), data.size()); in addRngEntropy()
|
D | AndroidKeymaster4Device.cpp | 312 request.random_data.Reinitialize(data.data(), data.size()); in addRngEntropy()
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 340 request.random_data.Reinitialize(data.data(), data.size()); in addRngEntropy()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 445 Buffer random_data; member
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 642 request.random_data.Reinitialize(data, data_length); in add_rng_entropy()
|