Home
last modified time | relevance | path

Searched refs:password (Results 1 – 10 of 10) 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()
133 fast_hash_t ComputeFastHash(const SizedBuffer& password, uint64_t salt) { in ComputeFastHash() argument
135 size_t digest_size = password.size() + sizeof(salt); in ComputeFastHash()
138 memcpy(digest.get() + sizeof(salt), password.Data<uint8_t>(), password.size()); in ComputeFastHash()
146 bool VerifyFast(const fast_hash_t& fast_hash, const SizedBuffer& password) { in VerifyFast() argument
147 fast_hash_t computed = ComputeFastHash(password, fast_hash.salt); in VerifyFast()
151 bool DoVerify(const password_handle_t* expected_handle, const SizedBuffer& password) { in DoVerify() argument
154 if (it != fast_hash_map_.end() && VerifyFast(it->second, password)) { in DoVerify()
157 if (GateKeeper::DoVerify(expected_handle, password)) { in DoVerify()
[all …]
Dtpm_gatekeeper.cpp71 const uint8_t* password, in ComputePasswordSignature() argument
75 memcpy(message.data(), password, password_length); in ComputePasswordSignature()
Dtpm_gatekeeper.h48 const uint8_t* password,
/device/google/cuttlefish/tools/gigabyte-ampere-cuttlefish-installer/preseed/
Dpreseed.cfg34 # Normal user's password, either in clear text
35 d-i passwd/user-password password cuttlefish
36 d-i passwd/user-password-again password cuttlefish
/device/google/cuttlefish/host/frontend/webrtc/libcommon/
Dutils.cpp142 ice_server.password = server["credential"].asString(); in ParseIceServersMessage()
162 server["credential"] = ice_server.password; in GenerateIceServersMessage()
/device/google/cuttlefish/host/commands/modem_simulator/
Dsim_service.h201 bool CheckPasswordValid(std::string_view password);
212 bool checkPin1AndAdjustSimStatus(std::string_view password);
Dsim_service.cpp179 bool SimService::PinStatus::CheckPasswordValid(std::string_view password) { in CheckPasswordValid() argument
180 for (int i = 0; i < password.size(); i++) { in CheckPasswordValid()
181 int c = (int)password[i]; in CheckPasswordValid()
1371 auto password = cmd.GetNextStr(); in HandleFacilityLock() local
1392 if (checkPin1AndAdjustSimStatus(password) == true) { in HandleFacilityLock()
1399 if (pin2_status_.VerifyPIN(password) == true) { in HandleFacilityLock()
/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/reference-libril/
Dril.h2408 char* password; member
2444 char* password; member
8476 char *password; /* the password for APN, or NULL */ member
8488 char *password; /* the password for APN, or NULL */ member
Dril_service.cpp317 const ::android::hardware::hidl_string& password,
324 const ::android::hardware::hidl_string& password,
1426 dataProfileInfo.password.c_str(), in setupDataCall()
1444 dataProfileInfo.password.c_str(), in setupDataCall()
1470 dataProfileInfo.password.c_str(), in setupDataCall()
1632 const hidl_string& password, int32_t serviceClass, in getFacilityLockForApp() argument
1638 4, facility.c_str(), password.c_str(), in getFacilityLockForApp()
1644 bool lockState, const hidl_string& password, in setFacilityLockForApp() argument
1650 5, facility.c_str(), lockState ? "1" : "0", password.c_str(), in setFacilityLockForApp()
2514 if (!copyHidlStringToRil(&iaa.password, dataProfileInfo.password, pRI)) { in setInitialAttachApn()
[all …]