Home
last modified time | relevance | path

Searched refs:password (Results 1 – 25 of 35) sorted by relevance

12

/system/gatekeeper/include/gatekeeper/
Dgatekeeper.h90 const uint8_t *key, uint32_t key_length, const uint8_t *password,
170 virtual bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password);
187 const SizedBuffer & password);
/system/nvram/hal/tests/
Dnvram_hal_test.cc338 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/
Dgatekeeper.cpp167 secure_id_t user_id, uint64_t flags, uint8_t handle_version, const SizedBuffer & password) { in CreatePasswordHandle() argument
184 const size_t to_sign_size = password.size() + metadata_length; in CreatePasswordHandle()
190 memcpy(to_sign.get() + metadata_length, password.Data<uint8_t>(), password.size()); in CreatePasswordHandle()
212 bool GateKeeper::DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) { in DoVerify() argument
213 if (!password) return false; in DoVerify()
217 expected_handle->flags, expected_handle->version, password)) { in DoVerify()
/system/vold/binder/android/os/
DIVold.aidl67 void fdeCheckPassword(@utf8InCpp String password); in fdeCheckPassword() argument
70 void fdeEnable(int passwordType, @utf8InCpp String password, int encryptionFlags); in fdeEnable() argument
71 void fdeChangePassword(int passwordType, @utf8InCpp String password); in fdeChangePassword() argument
72 void fdeVerifyPassword(@utf8InCpp String password); in fdeVerifyPassword() argument
/system/core/adb/
Dservices.cpp149 static void pair_service(unique_fd fd, std::string host, std::string password) { in pair_service() argument
151 adb_wifi_pair_device(host, password, response); in pair_service()
264 std::string password(name.data(), divider); in host_service_to_socket() local
267 "pair", std::bind(pair_service, std::placeholders::_1, host, password)); in host_service_to_socket()
Dadb_wifi.h27 void adb_wifi_pair_device(const std::string& host, const std::string& password,
/system/vold/
DVoldNativeService.cpp479 binder::Status VoldNativeService::fdeCheckPassword(const std::string& password) { in fdeCheckPassword() argument
483 return translate(cryptfs_check_passwd(password.c_str())); in fdeCheckPassword()
504 static int fdeEnableInternal(int32_t passwordType, const std::string& password, in fdeEnableInternal() argument
513 rc = cryptfs_enable(passwordType, password.c_str(), noUi); in fdeEnableInternal()
526 binder::Status VoldNativeService::fdeEnable(int32_t passwordType, const std::string& password, in fdeEnable() argument
540 std::thread(&fdeEnableInternal, passwordType, password, encryptionFlags).detach(); in fdeEnable()
545 const std::string& password) { in fdeChangePassword() argument
549 return translate(cryptfs_changepw(passwordType, password.c_str())); in fdeChangePassword()
552 binder::Status VoldNativeService::fdeVerifyPassword(const std::string& password) { in fdeVerifyPassword() argument
556 return translate(cryptfs_verify_passwd(password.c_str())); in fdeVerifyPassword()
DVoldNativeService.h88 binder::Status fdeCheckPassword(const std::string& password);
91 binder::Status fdeEnable(int32_t passwordType, const std::string& password,
93 binder::Status fdeChangePassword(int32_t passwordType, const std::string& password);
94 binder::Status fdeVerifyPassword(const std::string& password);
Dcryptfs.cpp434 static char* password = 0; variable
1960 password = strdup(passwd); in cryptfs_check_passwd()
2863 return password; in cryptfs_get_password()
2871 if (password) { in cryptfs_clear_password()
2872 size_t len = strlen(password); in cryptfs_clear_password()
2873 memset(password, 0, len); in cryptfs_clear_password()
2874 free(password); in cryptfs_clear_password()
2875 password = 0; in cryptfs_clear_password()
/system/extras/verity/
DUtils.java148 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/adb/client/
Dadb_wifi.cpp180 void adb_wifi_pair_device(const std::string& host, const std::string& password, in adb_wifi_pair_device() argument
215 auto pswd8 = stringToUint8(password); in adb_wifi_pair_device()
Dcommandline.cpp1743 std::string password; in adb_commandline() local
1747 if (!std::getline(std::cin, password) || password.empty()) { in adb_commandline()
1751 password = argv[2]; in adb_commandline()
1754 android::base::StringPrintf("host:pair:%s:%s", password.c_str(), argv[1]); in adb_commandline()
/system/sepolicy/prebuilts/api/26.0/private/
Dsystem_app.te69 password
Daccess_vectors687 password
/system/sepolicy/prebuilts/api/27.0/private/
Dsystem_app.te72 password
Daccess_vectors694 password
/system/sepolicy/prebuilts/api/28.0/private/
Dsystem_app.te98 password
Daccess_vectors703 password
/system/sepolicy/prebuilts/api/29.0/private/
Dsystem_app.te117 password
Daccess_vectors720 password
/system/sepolicy/prebuilts/api/30.0/private/
Dsystem_app.te130 password
Daccess_vectors699 password
/system/sepolicy/private/
Dsystem_app.te127 password
Daccess_vectors700 password
/system/sepolicy/reqd_mask/
Daccess_vectors700 password

12