Home
last modified time | relevance | path

Searched refs:ExportKey (Results 1 – 16 of 16) sorted by relevance

/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_engine.h52 virtual keymaster_error_t ExportKey(keymaster_key_format_t format,
/system/keymaster/legacy_support/
Dkeymaster_passthrough_key.cpp74 keymaster_error_t error = engine_->ExportKey(format, key_material(), client_id, app_data, in formatted_key_material()
Dkeymaster_passthrough_engine.cpp94 keymaster_error_t ExportKey(keymaster_key_format_t format, in ExportKey() function in keymaster::TKeymasterPassthroughEngine
/system/core/trusty/keymaster/include/trusty_keymaster/
DTrustyKeymaster.h50 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
/system/keymaster/include/keymaster/
Dandroid_keymaster.h80 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
/system/core/trusty/keymaster/
DTrustyKeymaster.cpp134 void TrustyKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey() function in keymaster::TrustyKeymaster
/system/security/keystore/
Dkeystore_cli_v2.cpp335 int ExportKey(const std::string& name) { in ExportKey() function
636 return ExportKey(command_line->GetSwitchValueASCII("name")); in main()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp1103 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P()
1198 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P()
1569 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1582 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1597 ASSERT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_PKCS8, &export_data)); in TEST_P()
1610 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1620 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1621 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_PKCS8, &export_data)); in TEST_P()
1622 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_RAW, &export_data)); in TEST_P()
2124 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &exported)); in TEST_P()
Dandroid_keymaster_test_utils.h193 keymaster_error_t ExportKey(keymaster_key_format_t format, std::string* export_data);
Dandroid_keymaster_test_utils.cpp615 keymaster_error_t Keymaster2Test::ExportKey(keymaster_key_format_t format, string* export_data) { in ExportKey() function in keymaster::test::Keymaster2Test
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp306 impl_->ExportKey(request, &response); in exportKey()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp348 impl_->ExportKey(request, &response); in exportKey()
DAndroidKeymaster4Device.cpp420 impl_->ExportKey(request, &response); in exportKey()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp375 void AndroidKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey() function in keymaster::AndroidKeymaster
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp447 impl_->ExportKey(request, &response); in exportKey()
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp1037 convert_device(dev)->impl_->ExportKey(request, &response); in export_key()