Searched refs:random_data (Results 1 – 13 of 13) 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 | 196 brillo::Blob random_data; in TEST_F() local 200 random_data.push_back(dis(gen)); in TEST_F() 204 brillo::Blob data_to_test = i == 0 ? random_data : ones; in TEST_F()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_messages.cpp | 503 return random_data.SerializedSize(); in SerializedSize() 507 return random_data.Serialize(buf, end); in Serialize() 511 return random_data.Deserialize(buf_ptr, end); in Deserialize()
|
D | android_keymaster.cpp | 303 response->error = context_->AddRngEntropy(request.random_data.peek_read(), in AddRngEntropy() 304 request.random_data.available_read()); in AddRngEntropy()
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 722 msg.random_data.Reinitialize("foo", 3); in TEST() 725 EXPECT_EQ(3U, deserialized->random_data.available_read()); in TEST() 726 EXPECT_EQ(0, memcmp("foo", deserialized->random_data.peek_read(), 3)); in TEST()
|
/system/core/trusty/keymaster/keymint/ |
D | TrustyKeyMintDevice.cpp | 110 request.random_data.Reinitialize(data.data(), data.size()); in addRngEntropy()
|
/system/keymaster/ng/ |
D | AndroidKeyMintDevice.cpp | 244 request.random_data.Reinitialize(data.data(), data.size()); in addRngEntropy()
|
D | AndroidKeymaster3Device.cpp | 269 request.random_data.Reinitialize(data.data(), data.size()); in addRngEntropy()
|
D | AndroidKeymaster4Device.cpp | 308 request.random_data.Reinitialize(data.data(), data.size()); in addRngEntropy()
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 225 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 | 557 Buffer random_data; member
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 590 request.random_data.Reinitialize(data, data_length); in add_rng_entropy()
|