Searched refs:keymaster_message (Results 1 – 4 of 4) sorted by relevance
21 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()
31 struct keymaster_message { struct43 using keymaster::keymaster_message; argument51 void operator()(keymaster_message* ptr);56 std::unique_ptr<keymaster_message, KeymasterCommandDestroyer>;
55 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()
33 using keymaster::keymaster_message;129 auto write_size = payload_size + sizeof(keymaster_message); in SendMessage()195 struct keymaster_message message_header; in ReceiveMessage()