/system/security/keystore2/src/ |
D | authorization.rs | 132 password: Option<Password>, in on_lock_screen_event() 139 password.is_some(), in on_lock_screen_event() 142 match (lock_screen_event, password) { in on_lock_screen_event() 143 (LockScreenEvent::UNLOCK, Some(password)) => { in on_lock_screen_event() 154 &password, in on_lock_screen_event() 167 &password, in on_lock_screen_event() 245 password: Option<&[u8]>, in onLockScreenEvent() 256 password.map(|pw| pw.into()), in onLockScreenEvent()
|
D | maintenance.rs | 68 fn on_user_password_changed(user_id: i32, password: Option<Password>) -> Result<()> { in on_user_password_changed() 74 if let Some(pw) = password.as_ref() { in on_user_password_changed() 88 password.as_ref(), in on_user_password_changed() 269 fn onUserPasswordChanged(&self, user_id: i32, password: Option<&[u8]>) -> BinderResult<()> { in onUserPasswordChanged() 271 map_or_log_err(Self::on_user_password_changed(user_id, password.map(|pw| pw.into())), Ok) in onUserPasswordChanged()
|
D | super_key.rs | 821 password: &Password, in get_or_create_super_key() 829 password, in get_or_create_super_key() 855 Self::encrypt_with_password(&super_key, password) in get_or_create_super_key() 884 password: &Password, in unlock_screen_lock_bound_key() 895 password, in unlock_screen_lock_bound_key() 907 password, in unlock_screen_lock_bound_key() 1106 password: Option<&Password>, in get_with_password_changed() 1110 if password.is_none() { in get_with_password_changed() 1129 skm.check_and_initialize_super_key(db, legacy_migrator, user_id, password) in get_with_password_changed() 1140 password: &Password, in get_with_password_unlock() [all …]
|
/system/nvram/hal/tests/ |
D | nvram_hal_test.cc | 338 std::string password = "hunter2"; in TEST() local 342 password); in TEST() 347 EXPECT_EQ(NV_RESULT_SUCCESS, device.WriteSpace(kTestIndex1, data, password)); in TEST() 427 std::string password = "hunter2"; in TEST() local 430 password); in TEST() 431 EXPECT_EQ(NV_RESULT_SUCCESS, device.WriteSpace(index, "test", password)); in TEST() 441 EXPECT_EQ(NV_RESULT_SUCCESS, device.ReadSpace(index, 4, password, &data)); in TEST() 446 std::string password = "hunter2"; in TEST() local 449 password); in TEST() 450 ASSERT_EQ(NV_RESULT_SUCCESS, device.WriteSpace(index, "test", password)); in TEST() [all …]
|
/system/gatekeeper/include/gatekeeper/ |
D | gatekeeper.h | 92 const uint8_t *key, uint32_t key_length, const uint8_t *password, 186 virtual bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password); 203 const SizedBuffer & password);
|
/system/gatekeeper/ |
D | gatekeeper.cpp | 181 secure_id_t user_id, uint64_t flags, uint8_t handle_version, const SizedBuffer & password) { in CreatePasswordHandle() argument 198 const size_t to_sign_size = password.size() + metadata_length; in CreatePasswordHandle() 204 memcpy(to_sign.get() + metadata_length, password.Data<uint8_t>(), password.size()); in CreatePasswordHandle() 226 bool GateKeeper::DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) { in DoVerify() argument 227 if (!password) return false; in DoVerify() 231 expected_handle->flags, expected_handle->version, password)) { in DoVerify()
|
/system/vold/binder/android/os/ |
D | IVold.aidl | 74 void fdeCheckPassword(@utf8InCpp String password); in fdeCheckPassword() argument 77 void fdeEnable(int passwordType, @utf8InCpp String password, int encryptionFlags); in fdeEnable() argument 78 void fdeChangePassword(int passwordType, @utf8InCpp String password); in fdeChangePassword() argument 79 void fdeVerifyPassword(@utf8InCpp String password); in fdeVerifyPassword() argument
|
/system/security/keystore2/aidl/android/security/authorization/ |
D | IKeystoreAuthorization.aidl | 82 in @nullable byte[] password, in @nullable long[] unlockingSids); in onLockScreenEvent() argument
|
/system/security/keystore2/aidl/android/security/maintenance/ |
D | IKeystoreMaintenance.aidl | 67 void onUserPasswordChanged(in int userId, in @nullable byte[] password); in onUserPasswordChanged() argument
|
/system/vold/ |
D | VoldNativeService.cpp | 527 binder::Status VoldNativeService::fdeCheckPassword(const std::string& password) { in fdeCheckPassword() argument 531 return translate(cryptfs_check_passwd(password.c_str())); in fdeCheckPassword() 552 static int fdeEnableInternal(int32_t passwordType, const std::string& password, in fdeEnableInternal() argument 561 rc = cryptfs_enable(passwordType, password.c_str(), noUi); in fdeEnableInternal() 574 binder::Status VoldNativeService::fdeEnable(int32_t passwordType, const std::string& password, in fdeEnable() argument 588 std::thread(&fdeEnableInternal, passwordType, password, encryptionFlags).detach(); in fdeEnable() 593 const std::string& password) { in fdeChangePassword() argument 597 return translate(cryptfs_changepw(passwordType, password.c_str())); in fdeChangePassword() 600 binder::Status VoldNativeService::fdeVerifyPassword(const std::string& password) { in fdeVerifyPassword() argument 604 return translate(cryptfs_verify_passwd(password.c_str())); in fdeVerifyPassword()
|
D | VoldNativeService.h | 97 binder::Status fdeCheckPassword(const std::string& password); 100 binder::Status fdeEnable(int32_t passwordType, const std::string& password, 102 binder::Status fdeChangePassword(int32_t passwordType, const std::string& password); 103 binder::Status fdeVerifyPassword(const std::string& password);
|
D | cryptfs.cpp | 517 static char* password = 0; variable 2053 password = strdup(passwd); in cryptfs_check_passwd() 2845 return password; in cryptfs_get_password() 2853 if (password) { in cryptfs_clear_password() 2854 size_t len = strlen(password); in cryptfs_clear_password() 2855 memset(password, 0, len); in cryptfs_clear_password() 2856 free(password); in cryptfs_clear_password() 2857 password = 0; in cryptfs_clear_password()
|
/system/extras/verity/ |
D | Utils.java | 148 char[] password = System.console().readPassword("Password for the private key file: "); in decryptPrivateKey() local 151 Key key = skFactory.generateSecret(new PBEKeySpec(password)); in decryptPrivateKey() 152 Arrays.fill(password, '\0'); in decryptPrivateKey()
|
/system/core/trusty/gatekeeper/fuzz/ |
D | Android.bp | 31 // password in the emulator.
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | system_app.te | 69 password
|
D | access_vectors | 687 password
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | system_app.te | 72 password
|
D | access_vectors | 694 password
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | system_app.te | 98 password
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | system_app.te | 117 password
|
D | access_vectors | 720 password
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | system_app.te | 124 password
|
D | access_vectors | 699 password
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | system_app.te | 122 password
|
/system/sepolicy/private/ |
D | system_app.te | 122 password
|