Home
last modified time | relevance | path

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

12

/system/keymaster/include/keymaster/key_blob_utils/
Dsoftware_keyblobs.h67 const AuthorizationSet& upgrade_params,
74 const AuthorizationSet& upgrade_params,
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp65 const AuthorizationSet& upgrade_params, in UpgradeKeyBlob() argument
69 return device_->upgrade_key(device_, &key_to_upgrade, &upgrade_params, upgraded_key); in UpgradeKeyBlob()
Dkeymaster1_passthrough_context.cpp103 const AuthorizationSet& upgrade_params, in UpgradeKeyBlob() argument
107 keymaster_error_t error = ParseKeyBlob(key_to_upgrade, upgrade_params, &key); in UpgradeKeyBlob()
115 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
Dsoft_keymaster_context.cpp200 const AuthorizationSet& upgrade_params, in UpgradeKeyBlob() argument
203 keymaster_error_t error = ParseKeyBlob(key_to_upgrade, upgrade_params, &key); in UpgradeKeyBlob()
223 return UpgradeSoftKeyBlob(key, os_version_, os_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
Dpure_soft_keymaster_context.cpp265 const AuthorizationSet& upgrade_params, in UpgradeKeyBlob() argument
268 keymaster_error_t error = ParseKeyBlob(key_to_upgrade, upgrade_params, &key); in UpgradeKeyBlob()
272 boot_patchlevel_, upgrade_params, upgraded_key); in UpgradeKeyBlob()
Dsoft_keymaster_device.cpp1042 const keymaster_key_param_set_t* upgrade_params, in upgrade_key() argument
1044 if (!dev || !key_to_upgrade || !upgrade_params) return KM_ERROR_UNEXPECTED_NULL_POINTER; in upgrade_key()
1053 request.upgrade_params.Reinitialize(*upgrade_params); in upgrade_key()
/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/key_blob_utils/
Dsoftware_keyblobs.cpp407 const AuthorizationSet& upgrade_params, in UpgradeSoftKeyBlob() argument
412 upgrade_params, upgraded_key); in UpgradeSoftKeyBlob()
419 const AuthorizationSet& upgrade_params, in FullUpgradeSoftKeyBlob() argument
455 auto error = BuildHiddenAuthorizations(upgrade_params, &hidden, softwareRootOfTrust); in FullUpgradeSoftKeyBlob()
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h66 const AuthorizationSet& upgrade_params,
Dkeymaster1_passthrough_context.h72 const AuthorizationSet& upgrade_params,
Dsoft_keymaster_context.h72 const AuthorizationSet& upgrade_params,
Dpure_soft_keymaster_context.h67 const AuthorizationSet& upgrade_params,
/system/keymaster/include/keymaster/
Dkeymaster_context.h115 const AuthorizationSet& upgrade_params,
Dsoft_keymaster_device.h205 const keymaster_key_param_set_t* upgrade_params,
/system/keymint/ta/src/
Dkeys.rs648 upgrade_params: Vec<KeyParam>, in upgrade_key()
651 match self.keyblob_parse_decrypt_backlevel(keyblob_to_upgrade, &upgrade_params) { in upgrade_key()
665 &upgrade_params, in upgrade_key()
755 let hidden = tag::hidden(&upgrade_params, self.root_of_trust()?)?; in upgrade_key()
/system/security/keystore2/src/
Dkm_compat.rs258 upgrade_params: &[KeyParameter], in upgradeKey()
261 KeyBlob::Raw(keyblob) => self.real.upgradeKey(keyblob, upgrade_params), in upgradeKey()
264 let upgraded_keyblob = self.soft.upgradeKey(keyblob, upgrade_params)?; in upgradeKey()
Dutils.rs175 upgrade_params: &[KmKeyParameter], in upgrade_keyblob_if_required_with()
190 map_km_error(km_dev.upgradeKey(key_blob, upgrade_params)) in upgrade_keyblob_if_required_with()
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp767 return key_blob_size(key_blob) + upgrade_params.SerializedSize(); in SerializedSize()
772 return upgrade_params.Serialize(buf, end); in Serialize()
777 upgrade_params.Deserialize(buf_ptr, end); in Deserialize()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp837 msg.upgrade_params.Reinitialize(params, array_length(params)); in TEST()
842 EXPECT_EQ(msg.upgrade_params, deserialized->upgrade_params); in TEST()
/system/keymint/common/
Dgenerated.cddl445 upgrade_params: [* KeyParam],
/system/core/trusty/keymaster/keymint/
DTrustyKeyMintDevice.cpp228 request.upgrade_params.Reinitialize(KmParamSet(upgradeParams)); in upgradeKey()
/system/keymint/hal/src/
Dkeymint.rs162 upgrade_params: upgradeParams in upgradeKey()
/system/keymaster/ng/
DAndroidKeyMintDevice.cpp373 request.upgrade_params.Reinitialize(KmParamSet(upgradeParams)); in upgradeKey()
/system/keymint/wire/src/
Dtypes.rs118 pub upgrade_params: Vec<KeyParam>, field
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp340 request.upgrade_params.Reinitialize(KmParamSet(upgradeParams)); in upgradeKey()

12