Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/
Dandroid_keymaster.h72 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
/system/security/keystore/
Dkeystore_cli_v2.cpp306 int ExportKey(const std::string& name) { in ExportKey() function
453 return ExportKey(command_line->GetSwitchValueASCII("name")); in main()
/system/keymaster/
Dandroid_keymaster_test.cpp1152 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P()
1247 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P()
1613 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1626 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1641 ASSERT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_PKCS8, &export_data)); in TEST_P()
1654 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1664 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1665 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_PKCS8, &export_data)); in TEST_P()
1666 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_RAW, &export_data)); in TEST_P()
1921 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &exported)); in TEST_P()
Dandroid_keymaster.cpp358 void AndroidKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey() function in keymaster::AndroidKeymaster
Dandroid_keymaster_test_utils.h193 keymaster_error_t ExportKey(keymaster_key_format_t format, std::string* export_data);
Dandroid_keymaster_test_utils.cpp604 keymaster_error_t Keymaster2Test::ExportKey(keymaster_key_format_t format, string* export_data) { in ExportKey() function in keymaster::test::Keymaster2Test
Dsoft_keymaster_device.cpp1038 convert_device(dev)->impl_->ExportKey(request, &response); in export_key()
/system/core/trusty/keymaster/
Dtrusty_keymaster_device_test.cpp101 return fake_call(impl_, &keymaster::AndroidKeymaster::ExportKey, in_buf, in_size, out_buf, in trusty_keymaster_call()