/system/gatekeeper/include/gatekeeper/ |
D | gatekeeper.h | 90 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/ |
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/ |
D | gatekeeper.cpp | 167 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/ |
D | IVold.aidl | 67 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/ |
D | services.cpp | 149 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()
|
D | adb_wifi.h | 27 void adb_wifi_pair_device(const std::string& host, const std::string& password,
|
/system/vold/ |
D | VoldNativeService.cpp | 479 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()
|
D | VoldNativeService.h | 88 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);
|
D | cryptfs.cpp | 434 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/ |
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/adb/client/ |
D | adb_wifi.cpp | 180 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()
|
D | commandline.cpp | 1743 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/ |
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
|
D | access_vectors | 703 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 | 130 password
|
D | access_vectors | 699 password
|
/system/sepolicy/private/ |
D | system_app.te | 127 password
|
D | access_vectors | 700 password
|
/system/sepolicy/reqd_mask/ |
D | access_vectors | 700 password
|