Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.h113 const string& key_material, HidlBuf* key_blob,
116 const string& key_material);
123 const HidlBuf& app_data, HidlBuf* key_material);
124 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material);
DKeymasterHidlTest.cpp115 const string& key_material, HidlBuf* key_blob, in ImportKey() argument
119 ->importKey(key_desc.hidl_data(), format, HidlBuf(key_material), in ImportKey()
137 const string& key_material) { in ImportKey() argument
138 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey()
163 HidlBuf* key_material) { in ExportKey() argument
169 *key_material = hidl_key_material; in ExportKey()
174 EXPECT_EQ(0U, key_material->size()); in ExportKey()
179 ErrorCode KeymasterHidlTest::ExportKey(KeyFormat format, HidlBuf* key_material) { in ExportKey() argument
181 return ExportKey(format, key_blob_, client_id, app_data, key_material); in ExportKey()
Dkeymaster_hidl_hal_test.cpp1508 string key_material = "HelloThisIsAKey"; in TEST_F() local
1519 KeyFormat::RAW, key_material, &signing_key, &signing_key_chars)); in TEST_F()
1527 KeyFormat::RAW, key_material, &verification_key, &verification_key_chars)); in TEST_F()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp502 const string& key_material, HidlBuf* key_blob, in ImportKey() argument
506 ->importKey(key_desc.hidl_data(), format, HidlBuf(key_material), in ImportKey()
524 const string& key_material) { in ImportKey() argument
525 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey()
529 const HidlBuf& app_data, HidlBuf* key_material) { in ExportKey() argument
536 *key_material = hidl_key_material; in ExportKey()
541 EXPECT_EQ(0U, key_material->size()); in ExportKey()
546 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material) { in ExportKey() argument
548 return ExportKey(format, key_blob_, client_id, app_data, key_material); in ExportKey()
2246 string key_material = "HelloThisIsAKey"; in TEST_F() local
[all …]
/hardware/libhardware/include/hardware/
Dkeymaster_defs.h341 const uint8_t* key_material; member