Home
last modified time | relevance | path

Searched refs:passwd (Results 1 – 16 of 16) sorted by relevance

/system/core/init/
Dhost_init_verifier.cpp52 std::string passwd; in GetVendorPasswd() local
53 if (!ReadFileToString(passwd_file, &passwd)) { in GetVendorPasswd()
58 auto passwd_lines = Split(passwd, "\n"); in GetVendorPasswd()
73 passwd* getpwnam(const char* login) { // NOLINT: implementing bad function. in getpwnam()
78 static passwd static_passwd = { in getpwnam()
Dueventd_parser.cpp59 passwd* pwd = getpwnam(uid_string.c_str()); in ParsePermissionsLine()
Dutil.cpp65 passwd* pwd = getpwnam(name.c_str()); in DecodeUid()
/system/vold/
Dcryptfs.cpp1216 static int pbkdf2(const char* passwd, const unsigned char* salt, unsigned char* ikey, in pbkdf2() argument
1221 return PKCS5_PBKDF2_HMAC_SHA1(passwd, strlen(passwd), salt, SALT_LEN, HASH_COUNT, in pbkdf2()
1225 static int scrypt(const char* passwd, const unsigned char* salt, unsigned char* ikey, void* params)… in scrypt() argument
1235 crypto_scrypt((const uint8_t*)passwd, strlen(passwd), salt, SALT_LEN, N, r, p, ikey, in scrypt()
1241 static int scrypt_keymaster(const char* passwd, const unsigned char* salt, unsigned char* ikey, in scrypt_keymaster() argument
1254 rc = crypto_scrypt((const uint8_t*)passwd, strlen(passwd), salt, SALT_LEN, N, r, p, ikey, in scrypt_keymaster()
1279 static int encrypt_master_key(const char* passwd, const unsigned char* salt, in encrypt_master_key() argument
1297 if (scrypt_keymaster(passwd, salt, ikey, crypt_ftr)) { in encrypt_master_key()
1304 if (scrypt(passwd, salt, ikey, crypt_ftr)) { in encrypt_master_key()
1362 static int decrypt_master_key_aux(const char* passwd, unsigned char* salt, in decrypt_master_key_aux() argument
[all …]
Dcryptfs.h237 typedef int (*kdf_func)(const char* passwd, const unsigned char* salt, unsigned char* ikey,
244 int cryptfs_enable(int type, const char* passwd, int no_ui);
/system/extras/su/
Dsu.cpp30 struct passwd* pw = getpwnam(tok); in pwtoid()
123 struct passwd* pw = getpwuid(uid); in main()
/system/core/diagnose_usb/
Ddiagnose_usb.cpp54 passwd* pwd = getpwuid(getuid()); in GetUdevProblem()
/system/core/adb/
Dadb_utils.cpp293 struct passwd pwent; in adb_get_homedir_path()
294 struct passwd* result; in adb_get_homedir_path()
/system/extras/runconuid/
Drunconuid.cpp90 struct passwd* pw; in lookup_uid()
/system/core/run-as/
Drun-as.cpp264 passwd* pw = getpwuid(uid); in main()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp84 passwd* uid_pwd = getpwnam(uid.c_str()); in Mkdir()
/system/core/base/
Dfile_test.cpp148 passwd* shell = getpwnam("shell"); in TEST()
/system/core/logd/
DLogStatistics.cpp252 struct passwd* pwd = getpwuid(uid); in uidToName()
270 struct passwd* pwd = getpwuid(uid); in uidToName()
/system/core/adb/daemon/
Dshell_service.cpp243 passwd* pw = getpwuid(getuid()); in ForkAndExec()
/system/core/lmkd/
Dlmkd.c561 struct passwd *pwdrec; in cmd_procprio()
/system/core/liblog/
Dlogprint.cpp1623 struct passwd* pwd = getpwuid(entry->uid); in android_log_formatLogLine()