Home
last modified time | relevance | path

Searched refs:upgrade_params (Results 1 – 24 of 24) sorted by relevance

/system/keymaster/contexts/
Dkeymaster1_passthrough_context.cpp94 const KeymasterKeyBlob& key_to_upgrade, const AuthorizationSet& upgrade_params, in UpgradeKeyBlob() argument
98 keymaster_error_t error = ParseKeyBlob(key_to_upgrade, upgrade_params, &key); in UpgradeKeyBlob()
107 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
Dkeymaster2_passthrough_context.cpp62 const KeymasterKeyBlob& key_to_upgrade, const AuthorizationSet& upgrade_params, in UpgradeKeyBlob() argument
66 return device_->upgrade_key(device_, &key_to_upgrade, &upgrade_params, upgraded_key); in UpgradeKeyBlob()
Dsoft_keymaster_context.cpp216 const AuthorizationSet& upgrade_params, in UpgradeKeyBlob() argument
219 keymaster_error_t error = ParseKeyBlob(key_to_upgrade, upgrade_params, &key); in UpgradeKeyBlob()
240 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
Dpure_soft_keymaster_context.cpp166 const AuthorizationSet& upgrade_params, in UpgradeKeyBlob() argument
169 keymaster_error_t error = ParseKeyBlob(key_to_upgrade, upgrade_params, &key); in UpgradeKeyBlob()
173 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
Dsoft_keymaster_device.cpp1127 const keymaster_key_param_set_t* upgrade_params, in upgrade_key() argument
1129 if (!dev || !key_to_upgrade || !upgrade_params) in upgrade_key()
1140 request.upgrade_params.Reinitialize(*upgrade_params); in upgrade_key()
/system/keymaster/include/keymaster/key_blob_utils/
Dsoftware_keyblobs.h59 const AuthorizationSet& upgrade_params,
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/
Dtrusty_keymaster_device.h68 const keymaster_key_param_set_t* upgrade_params,
126 const keymaster_key_param_set_t* upgrade_params,
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h63 const AuthorizationSet& upgrade_params,
Dkeymaster1_passthrough_context.h70 const AuthorizationSet& upgrade_params,
Dpure_soft_keymaster_context.h62 const AuthorizationSet& upgrade_params,
Dsoft_keymaster_context.h74 const AuthorizationSet& upgrade_params,
/system/keymaster/include/keymaster/
Dkeymaster_context.h96 const AuthorizationSet& upgrade_params,
Dsoft_keymaster_device.h213 const keymaster_key_param_set_t* upgrade_params,
Dandroid_keymaster_messages.h656 AuthorizationSet upgrade_params; member
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp312 const AuthorizationSet& upgrade_params, in UpgradeSoftKeyBlob() argument
340 auto error = BuildHiddenAuthorizations(upgrade_params, &hidden, softwareRootOfTrust); in UpgradeSoftKeyBlob()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp604 msg.upgrade_params.Reinitialize(params, array_length(params)); in TEST()
609 EXPECT_EQ(msg.upgrade_params, deserialized->upgrade_params); in TEST()
Dandroid_keymaster_test_utils.cpp350 keymaster_error_t Keymaster2Test::UpgradeKey(const AuthorizationSet& upgrade_params) { in UpgradeKey() argument
353 device()->upgrade_key(device(), &blob_, &upgrade_params, &upgraded_blob); in UpgradeKey()
Dandroid_keymaster_test_utils.h225 keymaster_error_t UpgradeKey(const AuthorizationSet& upgrade_params);
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp553 return key_blob_size(key_blob) + upgrade_params.SerializedSize(); in SerializedSize()
558 return upgrade_params.Serialize(buf, end); in Serialize()
563 upgrade_params.Deserialize(buf_ptr, end); in Deserialize()
Dandroid_keymaster.cpp428 request.upgrade_params, &upgraded_key); in UpgradeKey()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp339 request.upgrade_params.Reinitialize(KmParamSet(upgradeParams)); in upgradeKey()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp383 request.upgrade_params.Reinitialize(KmParamSet(upgradeParams)); in upgradeKey()
DAndroidKeymaster4Device.cpp455 request.upgrade_params.Reinitialize(KmParamSet(upgradeParams)); in upgradeKey()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp480 request.upgrade_params.Reinitialize(KmParamSet(upgradeParams)); in upgradeKey()