Home
last modified time | relevance | path

Searched refs:ProfileVersion (Results 1 – 6 of 6) sorted by relevance

/tools/security/remote_provisioning/hwtrust/src/
Dsession.rs3 use crate::dice::ProfileVersion;
22 pub struct DiceProfileRange(RangeInclusive<ProfileVersion>);
26 pub fn new(start: ProfileVersion, end: ProfileVersion) -> Self { in new() argument
31 pub fn contains(&self, version: ProfileVersion) -> bool { in contains()
36 pub fn start(&self) -> ProfileVersion { in start() argument
41 pub fn end(&self) -> ProfileVersion { in end() argument
48 Self::new(ProfileVersion::Android14, ProfileVersion::Android16) in default()
57 ProfileVersion::Android13, in vsr13()
58 ProfileVersion::Android13, in vsr13()
67 ProfileVersion::Android14, in vsr14()
[all …]
Ddice.rs10 pub use profile::ProfileVersion;
/tools/security/remote_provisioning/hwtrust/src/cbor/dice/
Dprofile.rs4 use crate::dice::ProfileVersion;
97 impl From<ProfileVersion> for Profile {
98 fn from(version: ProfileVersion) -> Self { in from()
100 ProfileVersion::Android13 => Profile::android13(), in from()
101 ProfileVersion::Android14 => Profile::android14(), in from()
102 ProfileVersion::Android15 => Profile::android15(), in from()
103 ProfileVersion::Android16 => Profile::android16(), in from()
Dentry.rs6 ProfileVersion,
127 ) -> Result<ProfileVersion> { in extract_profile_version() argument
138 ensure!(version <= ProfileVersion::Android14, "profile name is required"); in extract_profile_version()
142 ProfileVersion::from_str(&profile_name).with_context(|| profile_name.clone())? in extract_profile_version()
885 ("android.14", ProfileVersion::Android14), in extract_profile_version_named_profiles()
886 ("android.15", ProfileVersion::Android15), in extract_profile_version_named_profiles()
887 ("android.16", ProfileVersion::Android16), in extract_profile_version_named_profiles()
909 ProfileVersion::Android13, in extract_profile_version_named_android_13_fails()
910 ProfileVersion::Android16, in extract_profile_version_named_android_13_fails()
925 ProfileVersion::Android13, in extract_profile_version_multiple_profile_name_entries_fails()
[all …]
Dchain.rs5 use crate::dice::{Chain, ChainForm, DegenerateChain, Payload, ProfileVersion};
77 && session.options.dice_profile_range.contains(ProfileVersion::Android14) in from_root_and_entries()
103 let key_ops_type = if session.options.dice_profile_range.contains(ProfileVersion::Android13) { in root_and_entries_from_value()
/tools/security/remote_provisioning/hwtrust/src/dice/
Dprofile.rs7 pub enum ProfileVersion { enum
19 impl Display for ProfileVersion { implementation
43 impl FromStr for ProfileVersion { implementation