Home
last modified time | relevance | path

Searched refs:STRONGBOX (Results 1 – 16 of 16) sorted by relevance

/system/security/keystore2/src/
Dkey_parameter.rs1120 SecurityLevel::STRONGBOX, in test_key_parameter()
1130 assert_eq!(*key_parameter.security_level(), SecurityLevel::STRONGBOX); in test_key_parameter()
1160 SecurityLevel::STRONGBOX.0, in test_new_from_sql_enum_i32()
1165 assert_eq!(*key_param.security_level(), SecurityLevel::STRONGBOX); in test_new_from_sql_enum_i32()
1174 insert_into_keyparameter(&db, 1, Tag::KEY_SIZE.0, &1024, SecurityLevel::STRONGBOX.0)?; in test_new_from_sql_i32()
1192 SecurityLevel::STRONGBOX.0, in test_new_from_sql_i64()
1208 insert_into_keyparameter(&db, 1, Tag::CALLER_NONCE.0, &Null, SecurityLevel::STRONGBOX.0)?; in test_new_from_sql_bool()
1227 SecurityLevel::STRONGBOX.0, in test_new_from_sql_vec_u8()
1245 SecurityLevel::STRONGBOX, in test_to_sql_enum_i32()
1259 let kp = KeyParameter::new(KeyParameterValue::KeySize(1024), SecurityLevel::STRONGBOX); in test_to_sql_i32()
[all …]
Dremote_provisioning.rs254 if let Ok(dev) = get_remotely_provisioned_component(&SecurityLevel::STRONGBOX) { in new_native_binder()
257 SecurityLevel::STRONGBOX, in new_native_binder()
263 result.device_by_sec_level.insert(SecurityLevel::STRONGBOX, dev); in new_native_binder()
Dglobals.rs199 SecurityLevel::STRONGBOX => { in connect_keymint()
359 SecurityLevel::STRONGBOX => { in connect_remotely_provisioned_component()
Dservice.rs78 KeystoreSecurityLevel::new_native_binder(SecurityLevel::STRONGBOX, id_rotation_state) in new_native_binder()
82 result.uuid_by_sec_level.insert(SecurityLevel::STRONGBOX, uuid); in new_native_binder()
Dshared_secret_negotiation.rs208 SecurityLevel::STRONGBOX in connect_participants()
Dboot_level_keys.rs37 match KeyMintDevice::get_or_none(SecurityLevel::STRONGBOX).context( in get_preferred_km_instance_for_level_zero_key()
Dmetrics_store.rs424 SecurityLevel::STRONGBOX => MetricsSecurityLevel::SECURITY_LEVEL_STRONGBOX, in process_security_level()
562 for sec_level in &[SecurityLevel::TRUSTED_ENVIRONMENT, SecurityLevel::STRONGBOX] { in pull_attestation_pool_stats()
Dmaintenance.rs178 (SecurityLevel::STRONGBOX, "STRONGBOX"), in call_on_all_security_levels()
Dlegacy_blob.rs56 pub const STRONGBOX: u8 = 1 << 4; constant
192 self.flags & flags::STRONGBOX != 0 in is_strongbox()
1047 true => SecurityLevel::STRONGBOX, in load_by_uid_alias()
Ddatabase.rs5039 KeyParameter::new(KeyParameterValue::Digest(Digest::NONE), SecurityLevel::STRONGBOX), in make_test_params()
5050 SecurityLevel::STRONGBOX, in make_test_params()
5062 SecurityLevel::STRONGBOX, in make_test_params()
5069 KeyParameter::new(KeyParameterValue::MinMacLength(256), SecurityLevel::STRONGBOX), in make_test_params()
5074 KeyParameter::new(KeyParameterValue::EcCurve(EcCurve::P_256), SecurityLevel::STRONGBOX), in make_test_params()
5091 KeyParameter::new(KeyParameterValue::BootLoaderOnly, SecurityLevel::STRONGBOX), in make_test_params()
5092 KeyParameter::new(KeyParameterValue::RollbackResistance, SecurityLevel::STRONGBOX), in make_test_params()
5095 SecurityLevel::STRONGBOX, in make_test_params()
5113 KeyParameter::new(KeyParameterValue::UserID(1), SecurityLevel::STRONGBOX), in make_test_params()
5114 KeyParameter::new(KeyParameterValue::UserSecureID(42), SecurityLevel::STRONGBOX), in make_test_params()
Dlegacy_migrator.rs417 SecurityLevel::STRONGBOX in get_km_uuid()
/system/security/keystore/
Dkeystore_utils.cpp162 return SecurityLevel::STRONGBOX; in flagsToSecurityLevel()
172 case SecurityLevel::STRONGBOX: in securityLevelToFlags()
Dkeystore_cli_v2.cpp962 return keymint::SecurityLevel::STRONGBOX; in securityLevelOption2SecurlityLevel()
/system/security/keystore2/src/km_compat/
Dkm_compat.cpp422 _aidl_return->timestampTokenRequired = securityLevel_ == KMV1::SecurityLevel::STRONGBOX; in getHardwareInfo()
1243 uint32_t(SecurityLevel::STRONGBOX) == 2, in operator []()
1248 if (static_cast<uint32_t>(secLevel) > static_cast<uint32_t>(SecurityLevel::STRONGBOX)) { in operator []()
1339 if (securityLevel == KeyMintSecurityLevel::STRONGBOX) { in KeyMintDevice()
1356 sbDevice = devices[V4_0::SecurityLevel::STRONGBOX]; in getDevice()
1361 case KeyMintSecurityLevel::STRONGBOX: in getDevice()
Dparameter_conversion_test.cpp61 TEST_ENUM_CONVERSION(SecurityLevel, STRONGBOX); in TEST()
Dkm_compat_type_conversion.h396 case KMV1::SecurityLevel::STRONGBOX: in convert()
397 return V4_0::SecurityLevel::STRONGBOX; in convert()
409 case V4_0::SecurityLevel::STRONGBOX: in convert()
410 return KMV1::SecurityLevel::STRONGBOX; in convert()