Home
last modified time | relevance | path

Searched refs:keymaster_message (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/common/libs/security/
Dkeymaster_channel.cpp21 void KeymasterCommandDestroyer::operator()(keymaster_message* ptr) { in operator ()()
22 { keymaster::Eraser(ptr, sizeof(keymaster_message) + ptr->payload_size); } in operator ()()
29 auto memory = std::malloc(payload_size + sizeof(keymaster_message)); in CreateKeymasterMessage()
30 auto message = reinterpret_cast<keymaster_message*>(memory); in CreateKeymasterMessage()
Dkeymaster_channel.h31 struct keymaster_message { struct
43 using keymaster::keymaster_message; argument
51 void operator()(keymaster_message* ptr);
56 std::unique_ptr<keymaster_message, KeymasterCommandDestroyer>;
Dkeymaster_channel_sharedfd.cpp55 auto write_size = payload_size + sizeof(keymaster_message); in SendMessage()
65 struct keymaster_message message_header; in ReceiveMessage()
67 if (read != sizeof(keymaster_message)) { in ReceiveMessage()
68 LOG(ERROR) << "Expected " << sizeof(keymaster_message) << ", received " in ReceiveMessage()
Dkeymaster_channel_windows.cpp33 using keymaster::keymaster_message;
129 auto write_size = payload_size + sizeof(keymaster_message); in SendMessage()
195 struct keymaster_message message_header; in ReceiveMessage()