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.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.cpp1722 string key_material = "HelloThisIsAKey"; in TEST_P() local
1733 KeyFormat::RAW, key_material, &signing_key, &signing_key_chars)); in TEST_P()
1741 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.h350 const uint8_t* key_material; member