Home
last modified time | relevance | path

Searched refs:ExportKeyResponse (Results 1 – 14 of 14) sorted by relevance

/aosp12/system/core/trusty/keymaster/include/trusty_keymaster/
H A DTrustyKeymaster.h52 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
/aosp12/system/keymaster/include/keymaster/
H A Dandroid_keymaster.h83 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
H A Dandroid_keymaster_messages.h616 struct ExportKeyResponse : public KeymasterResponse { struct
617 explicit ExportKeyResponse(int32_t ver) : KeymasterResponse(ver), key_data(nullptr) {} in ExportKeyResponse() function
618 ~ExportKeyResponse() { delete[] key_data; } in ~ExportKeyResponse() argument
/aosp12/system/keymaster/android_keymaster/
H A Dandroid_keymaster_messages.cpp599 void ExportKeyResponse::SetKeyMaterial(const void* key_material, size_t length) { in SetKeyMaterial()
605 size_t ExportKeyResponse::NonErrorSerializedSize() const { in NonErrorSerializedSize()
609 uint8_t* ExportKeyResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
613 bool ExportKeyResponse::NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) { in NonErrorDeserialize()
H A Dandroid_keymaster.cpp718 void AndroidKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey()
/aosp12/system/keymaster/tests/fuzzers/
H A Dserializable_types.h143 return std::make_unique<ExportKeyResponse>(kMaxMessageVersion); in getSerializable()
/aosp12/system/keymaster/tests/
H A Dandroid_keymaster_messages_test.cpp562 TEST(RoundTrip, ExportKeyResponse) { in TEST() argument
564 ExportKeyResponse msg(ver); in TEST()
568 UniquePtr<ExportKeyResponse> deserialized(round_trip(ver, msg, 11)); in TEST()
939 GARBAGE_TEST(ExportKeyResponse);
/aosp12/system/keymaster/ng/
H A DAndroidKeymaster3Device.cpp46 using ::keymaster::ExportKeyResponse;
349 ExportKeyResponse response(impl_->message_version()); in exportKey()
H A DAndroidKeymaster4Device.cpp415 ExportKeyResponse response(impl_->message_version()); in exportKey()
/aosp12/system/core/trusty/keymaster/3.0/
H A DTrustyKeymaster3Device.cpp36 using ::keymaster::ExportKeyResponse;
305 ExportKeyResponse response(impl_->message_version()); in exportKey()
/aosp12/system/core/trusty/keymaster/
H A DTrustyKeymaster.cpp195 void TrustyKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey()
/aosp12/system/core/trusty/keymaster/4.0/
H A DTrustyKeymaster4Device.cpp37 using ::keymaster::ExportKeyResponse;
446 ExportKeyResponse response(impl_->message_version()); in exportKey()
/aosp12/system/core/trusty/keymaster/keymint/
H A DTrustyKeyMintDevice.cpp314 keymaster::ExportKeyResponse response(impl_->message_version()); in convertStorageKeyToEphemeral()
/aosp12/system/keymaster/contexts/
H A Dsoft_keymaster_device.cpp955 ExportKeyResponse response(impl_->message_version()); in export_key()