Home
last modified time | relevance | path

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

/aosp12/system/keymaster/include/keymaster/legacy_support/
H A Dkeymaster_passthrough_engine.h53 virtual keymaster_error_t ExportKey(keymaster_key_format_t format, const KeymasterKeyBlob& blob,
/aosp12/system/keymaster/legacy_support/
H A Dkeymaster_passthrough_key.cpp70 engine_->ExportKey(format, key_material(), client_id, app_data, &export_data); in formatted_key_material()
H A Dkeymaster_passthrough_engine.cpp93 keymaster_error_t ExportKey(keymaster_key_format_t format, const KeymasterKeyBlob& blob, in ExportKey() function in keymaster::TKeymasterPassthroughEngine
/aosp12/system/core/trusty/keymaster/include/trusty_keymaster/
H A DTrustyKeymaster.h52 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
/aosp12/hardware/interfaces/keymaster/4.0/vts/functional/
H A DKeymasterHidlTest.h113 ErrorCode ExportKey(KeyFormat format, const HidlBuf& key_blob, const HidlBuf& client_id,
115 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material);
H A DKeymasterHidlTest.cpp144 ErrorCode KeymasterHidlTest::ExportKey(KeyFormat format, const HidlBuf& key_blob, in ExportKey() function in android::hardware::keymaster::V4_0::test::KeymasterHidlTest
162 ErrorCode KeymasterHidlTest::ExportKey(KeyFormat format, HidlBuf* key_material) { in ExportKey() function in android::hardware::keymaster::V4_0::test::KeymasterHidlTest
164 return ExportKey(format, key_blob_, client_id, app_data, key_material); in ExportKey()
H A Dkeymaster_hidl_hal_test.cpp1691 ASSERT_EQ(ErrorCode::OK, ExportKey(KeyFormat::X509, &pubkey)); in TEST_P()
1771 ASSERT_EQ(ErrorCode::OK, ExportKey(KeyFormat::X509, &pubkey)) in TEST_P()
1885 ASSERT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::PKCS8, &export_data)); in TEST_P()
1906 ExportKey(KeyFormat::X509, corrupted, HidlBuf(), HidlBuf(), &export_data)) in TEST_P()
1928 ExportKey(KeyFormat::X509, corrupted, HidlBuf(), HidlBuf(), &export_data)) in TEST_P()
1946 EXPECT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::X509, &export_data)); in TEST_P()
1947 EXPECT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::PKCS8, &export_data)); in TEST_P()
1948 EXPECT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::RAW, &export_data)); in TEST_P()
2439 ASSERT_EQ(ErrorCode::OK, ExportKey(KeyFormat::X509, &exported)); in TEST_P()
/aosp12/system/keymaster/include/keymaster/
H A Dandroid_keymaster.h83 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
/aosp12/hardware/interfaces/keymaster/3.0/vts/functional/
H A Dkeymaster_hidl_hal_test.cpp510 ErrorCode ExportKey(KeyFormat format, const HidlBuf& key_blob, const HidlBuf& client_id, in ExportKey() function in android::hardware::keymaster::V3_0::test::KeymasterHidlTest
528 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material) { in ExportKey() function in android::hardware::keymaster::V3_0::test::KeymasterHidlTest
530 return ExportKey(format, key_blob_, client_id, app_data, key_material); in ExportKey()
2073 ASSERT_EQ(ErrorCode::OK, ExportKey(KeyFormat::X509, &pubkey)); in TEST_P()
2156 ASSERT_EQ(ErrorCode::OK, ExportKey(KeyFormat::X509, &pubkey)) in TEST_P()
2268 ASSERT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::PKCS8, &export_data)); in TEST_P()
2289 ExportKey(KeyFormat::X509, corrupted, HidlBuf(), HidlBuf(), &export_data)) in TEST_P()
2311 ExportKey(KeyFormat::X509, corrupted, HidlBuf(), HidlBuf(), &export_data)) in TEST_P()
2329 EXPECT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::X509, &export_data)); in TEST_P()
2331 EXPECT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::RAW, &export_data)); in TEST_P()
[all …]
/aosp12/system/core/trusty/keymaster/
H A DTrustyKeymaster.cpp195 void TrustyKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey() function in keymaster::TrustyKeymaster
/aosp12/system/keymaster/tests/
H A Dandroid_keymaster_test.cpp964 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P()
1047 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P()
1380 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1390 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1402 ASSERT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_PKCS8, &export_data)); in TEST_P()
1412 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1419 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1420 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_PKCS8, &export_data)); in TEST_P()
1421 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_RAW, &export_data)); in TEST_P()
1865 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &exported)); in TEST_P()
H A Dandroid_keymaster_test_utils.h188 keymaster_error_t ExportKey(keymaster_key_format_t format, std::string* export_data);
H A Dandroid_keymaster_test_utils.cpp652 keymaster_error_t Keymaster2Test::ExportKey(keymaster_key_format_t format, string* export_data) { in ExportKey() function in keymaster::test::Keymaster2Test
/aosp12/system/core/trusty/keymaster/keymint/
H A DTrustyKeyMintDevice.cpp315 impl_->ExportKey(request, &response); in convertStorageKeyToEphemeral()
/aosp12/system/security/keystore/
H A Dkeystore_cli_v2.cpp797 int ExportKey(const std::string& name) { in ExportKey() function
1104 return ExportKey(command_line->GetSwitchValueASCII("name")); in main()
/aosp12/system/keymaster/ng/
H A DAndroidKeymaster3Device.cpp350 impl_->ExportKey(request, &response); in exportKey()
H A DAndroidKeymaster4Device.cpp416 impl_->ExportKey(request, &response); in exportKey()
/aosp12/system/core/trusty/keymaster/3.0/
H A DTrustyKeymaster3Device.cpp306 impl_->ExportKey(request, &response); in exportKey()
/aosp12/system/core/trusty/keymaster/4.0/
H A DTrustyKeymaster4Device.cpp447 impl_->ExportKey(request, &response); in exportKey()
/aosp12/system/keymaster/android_keymaster/
H A Dandroid_keymaster.cpp718 void AndroidKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey() function in keymaster::AndroidKeymaster
/aosp12/system/keymaster/contexts/
H A Dsoft_keymaster_device.cpp956 impl_->ExportKey(request, &response); in export_key()