Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.h113 ErrorCode ExportKey(KeyFormat format, const HidlBuf& key_blob, const HidlBuf& client_id,
115 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material);
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()
Dkeymaster_hidl_hal_test.cpp1583 ASSERT_EQ(ErrorCode::OK, ExportKey(KeyFormat::X509, &pubkey)); in TEST_P()
1663 ASSERT_EQ(ErrorCode::OK, ExportKey(KeyFormat::X509, &pubkey)) in TEST_P()
1777 ASSERT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::PKCS8, &export_data)); in TEST_P()
1798 ExportKey(KeyFormat::X509, corrupted, HidlBuf(), HidlBuf(), &export_data)) in TEST_P()
1820 ExportKey(KeyFormat::X509, corrupted, HidlBuf(), HidlBuf(), &export_data)) in TEST_P()
1838 EXPECT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::X509, &export_data)); in TEST_P()
1839 EXPECT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::PKCS8, &export_data)); in TEST_P()
1840 EXPECT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::RAW, &export_data)); in TEST_P()
2321 ASSERT_EQ(ErrorCode::OK, ExportKey(KeyFormat::X509, &exported)); in TEST_P()
/hardware/interfaces/keymaster/3.0/vts/functional/
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()
2330 EXPECT_EQ(ErrorCode::UNSUPPORTED_KEY_FORMAT, ExportKey(KeyFormat::PKCS8, &export_data)); in TEST_P()
[all …]