Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/secure_env/
Dsoft_gatekeeper.h73 const uint8_t*, uint32_t, const uint8_t* password, in ComputePasswordSignature() argument
76 crypto_scrypt(password, password_length, reinterpret_cast<uint8_t*>(&salt), sizeof(salt), N, in ComputePasswordSignature()
125 fast_hash_t ComputeFastHash(const SizedBuffer& password, uint64_t salt) { in ComputeFastHash() argument
127 size_t digest_size = password.size() + sizeof(salt); in ComputeFastHash()
130 memcpy(digest.get() + sizeof(salt), password.Data<uint8_t>(), password.size()); in ComputeFastHash()
138 bool VerifyFast(const fast_hash_t& fast_hash, const SizedBuffer& password) { in VerifyFast() argument
139 fast_hash_t computed = ComputeFastHash(password, fast_hash.salt); in VerifyFast()
143 bool DoVerify(const password_handle_t* expected_handle, const SizedBuffer& password) { in DoVerify() argument
146 if (it != fast_hash_map_.end() && VerifyFast(it->second, password)) { in DoVerify()
149 if (GateKeeper::DoVerify(expected_handle, password)) { in DoVerify()
[all …]
/device/generic/goldfish/network/netmgr/commands/
Dwifi_command.cpp139 if (!ap.second.password.empty()) { in writeConfig()
143 fprintf(out.get(), "wpa_passphrase=%s\n", ap.second.password.c_str()); in writeConfig()
159 ap.password = arguments[1]; in onAdd()
161 ap.password.clear(); in onAdd()
Dwifi_command.h48 std::string password; member
/device/google/cuttlefish/host/commands/modem_simulator/
Dsim_service.h196 bool CheckPasswordValid(std::string_view password);
207 bool checkPin1AndAdjustSimStatus(std::string_view password);
Dsim_service.cpp177 bool SimService::PinStatus::CheckPasswordValid(std::string_view password) { in CheckPasswordValid() argument
178 for (int i = 0; i < password.size(); i++) { in CheckPasswordValid()
179 int c = (int)password[i]; in CheckPasswordValid()
1203 auto password = cmd.GetNextStr(); in HandleFacilityLock() local
1224 if (checkPin1AndAdjustSimStatus(password) == true) { in HandleFacilityLock()
1231 if (pin2_status_.VerifyPIN(password) == true) { in HandleFacilityLock()
/device/generic/goldfish/
Dinit.goldfish.rc57 # setprop ro.config.hosted_account username@hosteddomain.org:password
58 # setprop ro.config.google_account username@gmail.com:password
/device/generic/goldfish/radio/ril/
Dril.h1909 char* password; member
1945 char* password; member
7140 char *password; /* the password for APN, or NULL */ member
7152 char *password; /* the password for APN, or NULL */ member
/device/generic/goldfish/radio/include/telephony/
Dril.h1908 char* password; member
1944 char* password; member
7136 char *password; /* the password for APN, or NULL */ member
7148 char *password; /* the password for APN, or NULL */ member
/device/google/cuttlefish/guest/hals/ril/libril/
Dril.h1979 char* password; member
2015 char* password; member
7529 char *password; /* the password for APN, or NULL */ member
7541 char *password; /* the password for APN, or NULL */ member
Dril_service.cpp252 const ::android::hardware::hidl_string& password,
259 const ::android::hardware::hidl_string& password,
1274 dataProfileInfo.password.c_str(), in setupDataCall()
1292 dataProfileInfo.password.c_str(), in setupDataCall()
1452 const hidl_string& password, int32_t serviceClass, in getFacilityLockForApp() argument
1458 4, facility.c_str(), password.c_str(), in getFacilityLockForApp()
1464 bool lockState, const hidl_string& password, in setFacilityLockForApp() argument
1470 5, facility.c_str(), lockState ? "1" : "0", password.c_str(), in setFacilityLockForApp()
2208 if (!copyHidlStringToRil(&iaa.password, dataProfileInfo.password, pRI)) { in setInitialAttachApn()
2215 memsetAndFreeStrings(4, iaa.apn, iaa.protocol, iaa.username, iaa.password); in setInitialAttachApn()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril.h2104 char* password; member
2140 char* password; member
7959 char *password; /* the password for APN, or NULL */ member
7971 char *password; /* the password for APN, or NULL */ member
Dril_service.cpp263 const ::android::hardware::hidl_string& password,
270 const ::android::hardware::hidl_string& password,
1292 dataProfileInfo.password.c_str(), in setupDataCall()
1310 dataProfileInfo.password.c_str(), in setupDataCall()
1470 const hidl_string& password, int32_t serviceClass, in getFacilityLockForApp() argument
1476 4, facility.c_str(), password.c_str(), in getFacilityLockForApp()
1482 bool lockState, const hidl_string& password, in setFacilityLockForApp() argument
1488 5, facility.c_str(), lockState ? "1" : "0", password.c_str(), in setFacilityLockForApp()
2239 if (!copyHidlStringToRil(&iaa.password, dataProfileInfo.password, pRI)) { in setInitialAttachApn()
2246 memsetAndFreeStrings(4, iaa.apn, iaa.protocol, iaa.username, iaa.password); in setInitialAttachApn()
[all …]
/device/generic/goldfish/radio/libril/
Dril_service.cpp242 const ::android::hardware::hidl_string& password,
249 const ::android::hardware::hidl_string& password,
1139 dataProfileInfo.password.c_str(), in setupDataCall()
1157 dataProfileInfo.password.c_str(), in setupDataCall()
1317 const hidl_string& password, int32_t serviceClass, in getFacilityLockForApp() argument
1323 4, facility.c_str(), password.c_str(), in getFacilityLockForApp()
1329 bool lockState, const hidl_string& password, in setFacilityLockForApp() argument
1335 5, facility.c_str(), lockState ? "1" : "0", password.c_str(), in setFacilityLockForApp()
2073 if (!copyHidlStringToRil(&iaa.password, dataProfileInfo.password, pRI)) { in setInitialAttachApn()
2080 memsetAndFreeStrings(4, iaa.apn, iaa.protocol, iaa.username, iaa.password); in setInitialAttachApn()
[all …]
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dstreamer.cpp313 ice_server.password = server["credential"].asString(); in HandleConfigMessage()