Searched refs:keymaster_message (Results 1 – 2 of 2) sorted by relevance
28 auto memory = new uint8_t[payload_size + sizeof(keymaster_message)]; in CreateKeymasterMessage()29 auto message = reinterpret_cast<keymaster_message*>(memory); in CreateKeymasterMessage()36 void KeymasterCommandDestroyer::operator()(keymaster_message* ptr) { in operator ()()38 keymaster::Eraser(ptr, sizeof(keymaster_message) + ptr->payload_size); in operator ()()64 auto write_size = payload_size + sizeof(keymaster_message); in SendMessage()74 struct keymaster_message message_header; in ReceiveMessage()76 if (read != sizeof(keymaster_message)) { in ReceiveMessage()77 LOG(ERROR) << "Expected " << sizeof(keymaster_message) << ", received " in ReceiveMessage()
33 struct keymaster_message { struct45 using keymaster::keymaster_message; argument53 void operator()(keymaster_message* ptr);58 std::unique_ptr<keymaster_message, KeymasterCommandDestroyer>;