Home
last modified time | relevance | path

Searched refs:Purpose (Results 1 – 17 of 17) sorted by relevance

/system/security/keystore2/aidl/android/security/metrics/
DKeyOperationWithPurposeAndModesInfo.aidl19 import android.security.metrics.Purpose;
27 Purpose purpose;
DPurpose.aidl25 enum Purpose { enum
/system/keymint/common/src/tag/
Dtests.rs59 KeyParam::Purpose(KeyPurpose::Sign), in test_check_begin_params_fail()
60 KeyParam::Purpose(KeyPurpose::Verify), in test_check_begin_params_fail()
Dlegacy.rs157 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()
Dinfo.rs52 Tag::Purpose,
197 Tag::Purpose,
/system/keymint/wire/src/
Dkeymint.rs324 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/
DREADME.md16 5. Key Purpose (parameter name: `keyPurpose`)
/system/keymint/common/src/
Dtag.rs451 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()
Dkeyblob.rs304 if contains_tag_value!(self.characteristics_at(sec_level)?, Purpose, purpose) { in suitable_for()
/system/keymint/ta/src/
Dcert.rs190 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()
Dtests.rs93 .filter_map(|param| if let KeyParam::Purpose(v) = param { Some(*v) } else { None }) in test_secure_key_wrapper()
Dkeys.rs428 KeyParam::Purpose(KeyPurpose::Sign) in finish_keyblob_creation()
429 | KeyParam::Purpose(KeyPurpose::AttestKey) in finish_keyblob_creation()
Drkp.rs34 KeyParam::Purpose(KeyPurpose::AttestKey),
/system/keymint/tests/src/bin/
Dauth-keyblob-parse.rs96 |param| if let KeyParam::Purpose(purpose) = param { Some(*purpose) } else { None }, in process()
/system/security/keystore2/src/
Dmetrics_store.rs42 Outcome::Outcome as MetricsOutcome, Purpose::Purpose as MetricsPurpose,
/system/core/fastboot/fuzzy_fastboot/
DREADME.md77 | Attribute | Value | Purpose
135 | Attribute | Value | Purpose | Default |
151 | Attribute | Value | Purpose
179 | Attribute | Value | Purpose
/system/keymint/hal/src/
Dhal.rs216 KeyParam::Purpose(v) => (Tag::PURPOSE, KeyParameterValue::KeyPurpose(v.innto())), in fromm()
473 Some(KeyParam::Purpose(value_of!(val, KeyPurpose)?.try_innto()?)) in try_fromm()