Home
last modified time | relevance | path

Searched refs:random_data (Results 1 – 5 of 5) sorted by relevance

/system/keymaster/
Dandroid_keymaster_messages.cpp271 return random_data.SerializedSize(); in SerializedSize()
275 return random_data.Serialize(buf, end); in Serialize()
279 return random_data.Deserialize(buf_ptr, end); in Deserialize()
Dandroid_keymaster.cpp159 response->error = context_->AddRngEntropy(request.random_data.peek_read(), in AddRngEntropy()
160 request.random_data.available_read()); in AddRngEntropy()
Dandroid_keymaster_messages_test.cpp506 msg.random_data.Reinitialize("foo", 3); in TEST()
509 EXPECT_EQ(3U, deserialized->random_data.available_read()); in TEST()
510 EXPECT_EQ(0, memcmp("foo", deserialized->random_data.peek_read(), 3)); in TEST()
Dsoft_keymaster_device.cpp523 request.random_data.Reinitialize(data, data_length); in add_rng_entropy()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h383 Buffer random_data; member