Home
last modified time | relevance | path

Searched defs:GenerateKeyRequest (Results 1 – 2 of 2) sorted by relevance

/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h269 struct GenerateKeyRequest : public KeymasterMessage { struct
270 explicit GenerateKeyRequest(int32_t ver = MAX_MESSAGE_VERSION) : KeymasterMessage(ver) {} in KeymasterMessage() argument
272 size_t SerializedSize() const override { return key_description.SerializedSize(); } in SerializedSize()
273 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize()
276 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize()
280 AuthorizationSet key_description;
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp130 TEST(RoundTrip, GenerateKeyRequest) { in TEST() argument