Searched refs:Purpose (Results 1 – 17 of 17) sorted by relevance
/system/security/keystore2/aidl/android/security/metrics/ |
D | KeyOperationWithPurposeAndModesInfo.aidl | 19 import android.security.metrics.Purpose; 27 Purpose purpose;
|
D | Purpose.aidl | 25 enum Purpose { enum
|
/system/keymint/common/src/tag/ |
D | tests.rs | 59 KeyParam::Purpose(KeyPurpose::Sign), in test_check_begin_params_fail() 60 KeyParam::Purpose(KeyPurpose::Verify), in test_check_begin_params_fail()
|
D | legacy.rs | 157 KeyParam::Purpose(v) => result.try_extend_from_slice(&(*v as u32).to_ne_bytes())?, in serialize() 317 Tag::Purpose => { in deserialize() 318 KeyParam::Purpose(<KeyPurpose>::try_from(consume_i32(data)?).map_err(enum_err)?) in deserialize() 515 (KeyParam::Purpose(l), KeyParam::Purpose(r)) => l.cmp(r), in param_compare()
|
D | info.rs | 52 Tag::Purpose, 197 Tag::Purpose,
|
/system/keymint/wire/src/ |
D | keymint.rs | 324 Purpose(KeyPurpose), enumerator 394 KeyParam::Purpose(_) => Tag::Purpose, in tag() 483 Tag::Purpose => KeyParam::Purpose(<KeyPurpose>::from_cbor_value(raw)?), in from_cbor_value() 608 KeyParam::Purpose(v) => (Tag::Purpose, v.to_cbor_value()?), in to_cbor_value() 764 Tag::Purpose as i32, in cddl_schema() 988 Purpose = 536870913, enumerator
|
/system/keymaster/fuzzer/ |
D | README.md | 16 5. Key Purpose (parameter name: `keyPurpose`)
|
/system/keymint/common/src/ |
D | tag.rs | 451 if let KeyParam::Purpose(purpose) = param { in check_rsa_params() 503 |param| if let KeyParam::Purpose(purpose) = param { Some(*purpose) } else { None }, in primary_purpose() 640 if let KeyParam::Purpose(purpose) = param { in check_ec_params() 959 if !contains_tag_value!(chars, Purpose, purpose) { in check_begin_params() 1311 if !contains_tag_value!(chars, Purpose, KeyPurpose::WrapKey) { in check_rsa_wrapping_key_params()
|
D | keyblob.rs | 304 if contains_tag_value!(self.characteristics_at(sec_level)?, Purpose, purpose) { in suitable_for()
|
/system/keymint/ta/src/ |
D | cert.rs | 190 if let KeyParam::Purpose(purpose) = param { in key_usage_extension_bits() 585 Purpose, in decode_value() 702 Tag::Purpose => { in decode_value_from_bytes() 703 key_params_from_asn1_set_of_integer!(Purpose, tlv_bytes, key_params); in decode_value_from_bytes() 1008 asn1_set_of_integer!(contents, self.auths, Purpose); in fields()
|
D | tests.rs | 93 .filter_map(|param| if let KeyParam::Purpose(v) = param { Some(*v) } else { None }) in test_secure_key_wrapper()
|
D | keys.rs | 428 KeyParam::Purpose(KeyPurpose::Sign) in finish_keyblob_creation() 429 | KeyParam::Purpose(KeyPurpose::AttestKey) in finish_keyblob_creation()
|
D | rkp.rs | 34 KeyParam::Purpose(KeyPurpose::AttestKey),
|
/system/keymint/tests/src/bin/ |
D | auth-keyblob-parse.rs | 96 |param| if let KeyParam::Purpose(purpose) = param { Some(*purpose) } else { None }, in process()
|
/system/security/keystore2/src/ |
D | metrics_store.rs | 42 Outcome::Outcome as MetricsOutcome, Purpose::Purpose as MetricsPurpose,
|
/system/core/fastboot/fuzzy_fastboot/ |
D | README.md | 77 | Attribute | Value | Purpose … 135 | Attribute | Value | Purpose | Default | 151 | Attribute | Value | Purpose … 179 | Attribute | Value | Purpose …
|
/system/keymint/hal/src/ |
D | hal.rs | 216 KeyParam::Purpose(v) => (Tag::PURPOSE, KeyParameterValue::KeyPurpose(v.innto())), in fromm() 473 Some(KeyParam::Purpose(value_of!(val, KeyPurpose)?.try_innto()?)) in try_fromm()
|