/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 66 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob() 67 if (!upgraded_key) return KM_ERROR_UNEXPECTED_NULL_POINTER; in UpgradeKeyBlob() 68 *upgraded_key = {}; in UpgradeKeyBlob() 69 return device_->upgrade_key(device_, &key_to_upgrade, &upgrade_params, upgraded_key); in UpgradeKeyBlob()
|
D | keymaster1_passthrough_context.cpp | 104 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob() 115 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
|
D | soft_keymaster_context.cpp | 201 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob() 223 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
|
D | soft_keymaster_device.cpp | 1043 keymaster_key_blob_t* upgraded_key) { in upgrade_key() argument 1046 if (!upgraded_key) return KM_ERROR_OUTPUT_PARAMETER_NULL; in upgrade_key() 1059 upgraded_key->key_material_size = response.upgraded_key.key_material_size; in upgrade_key() 1060 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(upgraded_key->key_material_size)); in upgrade_key() 1062 memcpy(tmp, response.upgraded_key.key_material, response.upgraded_key.key_material_size); in upgrade_key() 1063 upgraded_key->key_material = tmp; in upgrade_key()
|
D | pure_soft_keymaster_context.cpp | 266 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob() 272 boot_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
|
/system/keymaster/include/keymaster/key_blob_utils/ |
D | software_keyblobs.h | 68 KeymasterKeyBlob* upgraded_key); 75 KeymasterKeyBlob* upgraded_key);
|
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/ |
D | trusty_keymaster_device.h | 69 keymaster_key_blob_t* upgraded_key); 127 keymaster_key_blob_t* upgraded_key);
|
/system/keymaster/key_blob_utils/ |
D | software_keyblobs.cpp | 408 KeymasterKeyBlob* upgraded_key) { in UpgradeSoftKeyBlob() argument 412 upgrade_params, upgraded_key); in UpgradeSoftKeyBlob() 420 KeymasterKeyBlob* upgraded_key) { in FullUpgradeSoftKeyBlob() argument 458 key->sw_enforced(), upgraded_key); in FullUpgradeSoftKeyBlob()
|
/system/keymaster/include/keymaster/contexts/ |
D | keymaster2_passthrough_context.h | 67 KeymasterKeyBlob* upgraded_key) const override;
|
D | keymaster1_passthrough_context.h | 73 KeymasterKeyBlob* upgraded_key) const override;
|
D | soft_keymaster_context.h | 73 KeymasterKeyBlob* upgraded_key) const override;
|
D | pure_soft_keymaster_context.h | 68 KeymasterKeyBlob* upgraded_key) const override;
|
/system/keymaster/include/keymaster/ |
D | keymaster_context.h | 116 KeymasterKeyBlob* upgraded_key) const = 0;
|
D | soft_keymaster_device.h | 206 keymaster_key_blob_t* upgraded_key);
|
D | android_keymaster_messages.h | 771 upgraded_key = {nullptr, 0}; in UpgradeKeyResponse() 779 keymaster_key_blob_t upgraded_key; member
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 850 req.upgraded_key.key_material = dup_array(TEST_DATA); in TEST() 851 req.upgraded_key.key_material_size = array_length(TEST_DATA); in TEST() 855 EXPECT_EQ(req.upgraded_key.key_material_size, deserialized->upgraded_key.key_material_size); in TEST() 856 EXPECT_EQ(0, memcmp(req.upgraded_key.key_material, deserialized->upgraded_key.key_material, in TEST() 857 req.upgraded_key.key_material_size)); in TEST()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 824 KeymasterKeyBlob upgraded_key; in UpgradeKey() local 826 request.upgrade_params, &upgraded_key); in UpgradeKey() 828 response->upgraded_key = upgraded_key.release(); in UpgradeKey()
|
D | android_keymaster_messages.cpp | 781 delete[] upgraded_key.key_material; in ~UpgradeKeyResponse() 785 return key_blob_size(upgraded_key); in NonErrorSerializedSize() 789 return serialize_key_blob(upgraded_key, buf, end); in NonErrorSerialize() 793 return deserialize_key_blob(&upgraded_key, buf_ptr, end); in NonErrorDeserialize()
|
/system/core/trusty/keymaster/keymint/ |
D | TrustyKeyMintDevice.cpp | 237 *keyBlob = kmBlob2vector(response.upgraded_key); in upgradeKey()
|
/system/keymaster/ng/ |
D | AndroidKeyMintDevice.cpp | 382 *keyBlob = kmBlob2vector(response.upgraded_key); in upgradeKey()
|
D | AndroidKeymaster3Device.cpp | 398 _hidl_cb(ErrorCode::OK, kmBlob2hidlVec(response.upgraded_key)); in upgradeKey()
|
D | AndroidKeymaster4Device.cpp | 464 _hidl_cb(ErrorCode::OK, kmBlob2hidlVec(response.upgraded_key)); in upgradeKey()
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 346 _hidl_cb(ErrorCode::OK, kmBlob2hidlVec(response.upgraded_key)); in upgradeKey()
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 487 _hidl_cb(ErrorCode::OK, kmBlob2hidlVec(response.upgraded_key)); in upgradeKey()
|