Searched refs:key_material (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/keymaster/3.0/default/ |
D | KeymasterDevice.cpp | 292 result.setToExternal(const_cast<unsigned char*>(blob.key_material), blob.key_material_size); in kmBlob2hidlVec() 412 if (key_blob.key_material) free(const_cast<uint8_t*>(key_blob.key_material)); in generateKey() 477 if (key_blob.key_material) free(const_cast<uint8_t*>(key_blob.key_material)); in importKey() 597 if (key_blob.key_material) free(const_cast<uint8_t*>(key_blob.key_material)); in upgradeKey()
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 457 const string& key_material, HidlBuf* key_blob, in ImportKey() argument 461 ->importKey(key_desc.hidl_data(), format, HidlBuf(key_material), in ImportKey() 479 const string& key_material) { in ImportKey() argument 480 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey() 484 const HidlBuf& app_data, HidlBuf* key_material) { in ExportKey() argument 491 *key_material = hidl_key_material; in ExportKey() 496 EXPECT_EQ(0U, key_material->size()); in ExportKey() 501 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material) { in ExportKey() argument 503 return ExportKey(format, key_blob_, client_id, app_data, key_material); in ExportKey() 2176 string key_material = "HelloThisIsAKey"; in TEST_F() local [all …]
|
/hardware/libhardware/include/hardware/ |
D | keymaster_defs.h | 336 const uint8_t* key_material; member
|