/aosp12/system/keymaster/include/keymaster/legacy_support/ |
H A D | keymaster_passthrough_engine.h | 53 virtual keymaster_error_t ExportKey(keymaster_key_format_t format, const KeymasterKeyBlob& blob,
|
/aosp12/system/keymaster/legacy_support/ |
H A D | keymaster_passthrough_key.cpp | 70 engine_->ExportKey(format, key_material(), client_id, app_data, &export_data); in formatted_key_material()
|
H A D | keymaster_passthrough_engine.cpp | 93 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 D | TrustyKeymaster.h | 52 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
|
/aosp12/hardware/interfaces/keymaster/4.0/vts/functional/ |
H A D | KeymasterHidlTest.h | 113 ErrorCode ExportKey(KeyFormat format, const HidlBuf& key_blob, const HidlBuf& client_id, 115 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material);
|
H A D | KeymasterHidlTest.cpp | 144 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 D | keymaster_hidl_hal_test.cpp | 1691 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 D | android_keymaster.h | 83 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
|
/aosp12/hardware/interfaces/keymaster/3.0/vts/functional/ |
H A D | keymaster_hidl_hal_test.cpp | 510 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 D | TrustyKeymaster.cpp | 195 void TrustyKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey() function in keymaster::TrustyKeymaster
|
/aosp12/system/keymaster/tests/ |
H A D | android_keymaster_test.cpp | 964 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 D | android_keymaster_test_utils.h | 188 keymaster_error_t ExportKey(keymaster_key_format_t format, std::string* export_data);
|
H A D | android_keymaster_test_utils.cpp | 652 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 D | TrustyKeyMintDevice.cpp | 315 impl_->ExportKey(request, &response); in convertStorageKeyToEphemeral()
|
/aosp12/system/security/keystore/ |
H A D | keystore_cli_v2.cpp | 797 int ExportKey(const std::string& name) { in ExportKey() function 1104 return ExportKey(command_line->GetSwitchValueASCII("name")); in main()
|
/aosp12/system/keymaster/ng/ |
H A D | AndroidKeymaster3Device.cpp | 350 impl_->ExportKey(request, &response); in exportKey()
|
H A D | AndroidKeymaster4Device.cpp | 416 impl_->ExportKey(request, &response); in exportKey()
|
/aosp12/system/core/trusty/keymaster/3.0/ |
H A D | TrustyKeymaster3Device.cpp | 306 impl_->ExportKey(request, &response); in exportKey()
|
/aosp12/system/core/trusty/keymaster/4.0/ |
H A D | TrustyKeymaster4Device.cpp | 447 impl_->ExportKey(request, &response); in exportKey()
|
/aosp12/system/keymaster/android_keymaster/ |
H A D | android_keymaster.cpp | 718 void AndroidKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey() function in keymaster::AndroidKeymaster
|
/aosp12/system/keymaster/contexts/ |
H A D | soft_keymaster_device.cpp | 956 impl_->ExportKey(request, &response); in export_key()
|