Home
last modified time | relevance | path

Searched refs:KeyOrigin (Results 1 – 10 of 10) sorted by relevance

/system/security/keystore2/src/km_compat/
Dparameter_conversion_test.cpp62 TEST_ENUM_CONVERSION(KeyOrigin, GENERATED); in TEST()
63 TEST_ENUM_CONVERSION(KeyOrigin, DERIVED); in TEST()
64 TEST_ENUM_CONVERSION(KeyOrigin, IMPORTED); in TEST()
65 TEST_ENUM_CONVERSION(KeyOrigin, GENERATED); in TEST()
66 TEST_ENUM_CONVERSION(KeyOrigin, SECURELY_IMPORTED); in TEST()
69 ASSERT_EQ(KMV1::KeyOrigin::RESERVED, convert(V4_0::KeyOrigin::UNKNOWN)); in TEST()
70 ASSERT_EQ(V4_0::KeyOrigin::UNKNOWN, convert(KMV1::KeyOrigin::RESERVED)); in TEST()
Dkm_compat_type_conversion.h414 static V4_0::KeyOrigin convert(KMV1::KeyOrigin o) { in convert()
416 case KMV1::KeyOrigin::GENERATED: in convert()
417 return V4_0::KeyOrigin::GENERATED; in convert()
418 case KMV1::KeyOrigin::DERIVED: in convert()
419 return V4_0::KeyOrigin::DERIVED; in convert()
420 case KMV1::KeyOrigin::IMPORTED: in convert()
421 return V4_0::KeyOrigin::IMPORTED; in convert()
422 case KMV1::KeyOrigin::RESERVED: in convert()
423 return V4_0::KeyOrigin::UNKNOWN; in convert()
424 case KMV1::KeyOrigin::SECURELY_IMPORTED: in convert()
[all …]
Dlib.rs34 KeyFormat::KeyFormat, KeyOrigin::KeyOrigin, KeyParameter::KeyParameter,
440 value: KeyParameterValue::Origin(KeyOrigin::GENERATED) in test_get_key_characteristics()
/system/security/keystore2/aidl/android/security/metrics/
DKeyCreationWithGeneralInfo.aidl21 import android.security.metrics.KeyOrigin;
32 KeyOrigin key_origin;
DKeyOrigin.aidl25 enum KeyOrigin { enum
/system/security/keystore2/src/
Dmetrics_store.rs27 HardwareAuthenticatorType::HardwareAuthenticatorType, KeyOrigin::KeyOrigin,
40 KeyOrigin::KeyOrigin as MetricsKeyOrigin, Keystore2AtomWithOverflow::Keystore2AtomWithOverflow,
232 KsKeyParamValue::KeyOrigin(o) => { in process_key_creation_event_stats()
234 KeyOrigin::GENERATED => MetricsKeyOrigin::GENERATED, in process_key_creation_event_stats()
235 KeyOrigin::DERIVED => MetricsKeyOrigin::DERIVED, in process_key_creation_event_stats()
236 KeyOrigin::IMPORTED => MetricsKeyOrigin::IMPORTED, in process_key_creation_event_stats()
237 KeyOrigin::RESERVED => MetricsKeyOrigin::RESERVED, in process_key_creation_event_stats()
238 KeyOrigin::SECURELY_IMPORTED => MetricsKeyOrigin::SECURELY_IMPORTED, in process_key_creation_event_stats()
Dkey_parameter.rs101 HardwareAuthenticatorType::HardwareAuthenticatorType, KeyOrigin::KeyOrigin,
168 implement_associate_primitive_for_aidl_enum! {KeyOrigin}
890 KeyOrigin(KeyOrigin),
Ddatabase.rs3217 Algorithm, BlockMode, Digest, EcCurve, HardwareAuthenticatorType, KeyOrigin, KeyParameter,
5150 KeyParameterValue::KeyOrigin(KeyOrigin::GENERATED), in make_test_params()
/system/keymaster/ng/
DKeyMintUtils.cpp54 static_cast<KeyOrigin>(param.enumerated))}; in kmEnumParam2Aidl()
/system/keymaster/ng/include/
Dkeymaster_tags.h79 using ::android::hardware::keymaster::V3_0::KeyOrigin;