/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 63 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob() 64 if (!upgraded_key) return KM_ERROR_UNEXPECTED_NULL_POINTER; in UpgradeKeyBlob() 65 *upgraded_key = {}; in UpgradeKeyBlob() 66 return device_->upgrade_key(device_, &key_to_upgrade, &upgrade_params, upgraded_key); in UpgradeKeyBlob()
|
D | keymaster1_passthrough_context.cpp | 95 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob() 107 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
|
D | soft_keymaster_context.cpp | 217 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob() 240 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
|
D | soft_keymaster_device.cpp | 1128 keymaster_key_blob_t* upgraded_key) { in upgrade_key() argument 1132 if (!upgraded_key) in upgrade_key() 1147 upgraded_key->key_material_size = response.upgraded_key.key_material_size; in upgrade_key() 1148 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(upgraded_key->key_material_size)); in upgrade_key() 1151 memcpy(tmp, response.upgraded_key.key_material, response.upgraded_key.key_material_size); in upgrade_key() 1152 upgraded_key->key_material = tmp; in upgrade_key()
|
D | pure_soft_keymaster_context.cpp | 167 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob() 173 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
|
/system/keymaster/include/keymaster/key_blob_utils/ |
D | software_keyblobs.h | 60 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/include/keymaster/contexts/ |
D | keymaster2_passthrough_context.h | 64 KeymasterKeyBlob* upgraded_key) const override;
|
D | keymaster1_passthrough_context.h | 71 KeymasterKeyBlob* upgraded_key) const override;
|
D | pure_soft_keymaster_context.h | 63 KeymasterKeyBlob* upgraded_key) const override;
|
D | soft_keymaster_context.h | 75 KeymasterKeyBlob* upgraded_key) const override;
|
/system/keymaster/include/keymaster/ |
D | keymaster_context.h | 97 KeymasterKeyBlob* upgraded_key) const = 0;
|
D | soft_keymaster_device.h | 214 keymaster_key_blob_t* upgraded_key);
|
D | android_keymaster_messages.h | 661 upgraded_key = {nullptr, 0}; in KeymasterResponse() 669 keymaster_key_blob_t upgraded_key; member
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 617 req.upgraded_key.key_material = dup_array(TEST_DATA); in TEST() 618 req.upgraded_key.key_material_size = array_length(TEST_DATA); in TEST() 622 EXPECT_EQ(req.upgraded_key.key_material_size, deserialized->upgraded_key.key_material_size); in TEST() 623 EXPECT_EQ(0, memcmp(req.upgraded_key.key_material, deserialized->upgraded_key.key_material, in TEST() 624 req.upgraded_key.key_material_size)); in TEST()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 426 KeymasterKeyBlob upgraded_key; in UpgradeKey() local 428 request.upgrade_params, &upgraded_key); in UpgradeKey() 431 response->upgraded_key = upgraded_key.release(); in UpgradeKey()
|
D | android_keymaster_messages.cpp | 567 delete[] upgraded_key.key_material; in ~UpgradeKeyResponse() 571 return key_blob_size(upgraded_key); in NonErrorSerializedSize() 575 return serialize_key_blob(upgraded_key, buf, end); in NonErrorSerialize() 579 return deserialize_key_blob(&upgraded_key, buf_ptr, end); in NonErrorDeserialize()
|
/system/keymaster/key_blob_utils/ |
D | software_keyblobs.cpp | 313 KeymasterKeyBlob* upgraded_key) { in UpgradeSoftKeyBlob() argument 344 key->sw_enforced(), upgraded_key); in UpgradeSoftKeyBlob()
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 345 _hidl_cb(ErrorCode::OK, kmBlob2hidlVec(response.upgraded_key)); in upgradeKey()
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 389 _hidl_cb(ErrorCode::OK, kmBlob2hidlVec(response.upgraded_key)); in upgradeKey()
|
D | AndroidKeymaster4Device.cpp | 461 _hidl_cb(ErrorCode::OK, kmBlob2hidlVec(response.upgraded_key)); in upgradeKey()
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 486 _hidl_cb(ErrorCode::OK, kmBlob2hidlVec(response.upgraded_key)); in upgradeKey()
|