Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.h104 const string& key_material, HidlBuf* key_blob,
107 const string& key_material);
114 const HidlBuf& app_data, HidlBuf* key_material);
115 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material);
DKeymasterHidlTest.cpp98 const string& key_material, HidlBuf* key_blob, in ImportKey() argument
102 ->importKey(key_desc.hidl_data(), format, HidlBuf(key_material), in ImportKey()
120 const string& key_material) { in ImportKey() argument
121 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey()
146 HidlBuf* key_material) { in ExportKey() argument
152 *key_material = hidl_key_material; in ExportKey()
157 EXPECT_EQ(0U, key_material->size()); in ExportKey()
162 ErrorCode KeymasterHidlTest::ExportKey(KeyFormat format, HidlBuf* key_material) { in ExportKey() argument
164 return ExportKey(format, key_blob_, client_id, app_data, key_material); in ExportKey()
Dkeymaster_hidl_hal_test.cpp1830 string key_material = "HelloThisIsAKey"; in TEST_P() local
1841 KeyFormat::RAW, key_material, &signing_key, &signing_key_chars)); in TEST_P()
1849 KeyFormat::RAW, key_material, &verification_key, &verification_key_chars)); in TEST_P()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.h97 const string& key_material, vector<uint8_t>* key_blob,
100 const string& key_material);
DKeyMintAidlTestBase.cpp272 const string& key_material, vector<uint8_t>* key_blob, in ImportKey() argument
282 vector<uint8_t>(key_material.begin(), key_material.end()), in ImportKey()
310 const string& key_material) { in ImportKey() argument
311 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey()
DKeyMintTest.cpp3027 string key_material = "HelloThisIsAKey"; in TEST_P() local
3038 KeyFormat::RAW, key_material, &signing_key, &signing_key_chars)); in TEST_P()
3046 KeyFormat::RAW, key_material, &verification_key, &verification_key_chars)); in TEST_P()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp484 const string& key_material, HidlBuf* key_blob, in ImportKey() argument
488 ->importKey(key_desc.hidl_data(), format, HidlBuf(key_material), in ImportKey()
506 const string& key_material) { in ImportKey() argument
507 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey()
511 const HidlBuf& app_data, HidlBuf* key_material) { in ExportKey() argument
518 *key_material = hidl_key_material; in ExportKey()
523 EXPECT_EQ(0U, key_material->size()); in ExportKey()
528 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material) { in ExportKey() argument
530 return ExportKey(format, key_blob_, client_id, app_data, key_material); in ExportKey()
2215 string key_material = "HelloThisIsAKey"; in TEST_P() local
[all …]
/hardware/libhardware/include/hardware/
Dkeymaster_defs.h386 const uint8_t* key_material; member