Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp263 typedef int (*kdf_func)(const char* passwd, const unsigned char* salt, unsigned char* ikey,
1158 static int pbkdf2(const char* passwd, const unsigned char* salt, unsigned char* ikey, in pbkdf2() argument
1163 return PKCS5_PBKDF2_HMAC_SHA1(passwd, strlen(passwd), salt, SALT_LEN, HASH_COUNT, in pbkdf2()
1167 static int scrypt(const char* passwd, const unsigned char* salt, unsigned char* ikey, void* params)… in scrypt() argument
1177 crypto_scrypt((const uint8_t*)passwd, strlen(passwd), salt, SALT_LEN, N, r, p, ikey, in scrypt()
1183 static int scrypt_keymaster(const char* passwd, const unsigned char* salt, unsigned char* ikey, in scrypt_keymaster() argument
1196 rc = crypto_scrypt((const uint8_t*)passwd, strlen(passwd), salt, SALT_LEN, N, r, p, ikey, in scrypt_keymaster()
1221 static int encrypt_master_key(const char* passwd, const unsigned char* salt, in encrypt_master_key() argument
1239 if (scrypt_keymaster(passwd, salt, ikey, crypt_ftr)) { in encrypt_master_key()
1246 if (scrypt(passwd, salt, ikey, crypt_ftr)) { in encrypt_master_key()
[all …]
Dcryptfs.h65 int cryptfs_enable(int type, const char* passwd, int no_ui);
/system/core/init/
Dhost_init_verifier.cpp67 std::string passwd; in GetVendorPasswd() local
68 if (!ReadFileToString(passwd_file, &passwd)) { in GetVendorPasswd()
73 auto passwd_lines = Split(passwd, "\n"); in GetVendorPasswd()
98 passwd* getpwnam(const char* login) { // NOLINT: implementing bad function. in getpwnam()
103 static passwd static_passwd = { in getpwnam()
Dueventd_parser.cpp59 passwd* pwd = getpwnam(uid_string.c_str()); in ParsePermissionsLine()
105 passwd* pwd = getpwnam(args[2].c_str()); in ParseExternalFirmwareHandlerLine()
Dutil.cpp70 passwd* pwd = getpwnam(name.c_str()); in DecodeUid()
/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/libs/adbconnection/
Dadbconnection_client.cpp48 passwd* shell = getpwnam("shell"); in SocketPeerIsTrusted()
/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.cpp64 passwd* uid_pwd = getpwnam(uid.c_str()); in ChangeDirModeAndOwner()
/system/core/logd/
DLogStatistics.cpp252 struct passwd* pwd = getpwuid(uid); in uidToName()
270 struct passwd* pwd = getpwuid(uid); in uidToName()
/system/core/base/
Dfile_test.cpp238 passwd* shell = getpwnam("shell"); in TEST()
/system/sepolicy/prebuilts/api/30.0/public/
Dfile.te171 # Default type for the passwd file /system/etc/passwd.
Ddomain.te143 # /(system|product|system_ext)/etc/(group|passwd), linker and its config.
/system/sepolicy/public/
Dfile.te171 # Default type for the passwd file /system/etc/passwd.
Ddomain.te143 # /(system|product|system_ext)/etc/(group|passwd), linker and its config.
/system/sepolicy/private/
Dfile_contexts321 /system/etc/passwd u:object_r:system_passwd_file:s0
426 /(product|system/product)/etc/passwd u:object_r:system_passwd_file:s0
443 /(system_ext|system/system_ext)/etc/passwd u:object_r:system_passwd_file:s0
/system/sepolicy/prebuilts/api/30.0/private/
Dfile_contexts321 /system/etc/passwd u:object_r:system_passwd_file:s0
426 /(product|system/product)/etc/passwd u:object_r:system_passwd_file:s0
443 /(system_ext|system/system_ext)/etc/passwd u:object_r:system_passwd_file:s0
/system/core/adb/daemon/
Dshell_service.cpp256 passwd* pw = getpwuid(getuid()); in ForkAndExec()
/system/core/liblog/
Dlogprint.cpp1524 struct passwd* pwd = getpwuid(entry->uid); in android_log_formatLogLine()
/system/memory/lmkd/
Dlmkd.cpp1047 struct passwd *pwdrec; in cmd_procprio()
/system/iorap/tests/src/compiler/testdata/
Dcommon_textcache2885 64768 697 -1 /system/etc/passwd
4628 64769 1929 -1 /vendor/odm/etc/passwd
6510 64769 643 -1 /vendor/etc/passwd
14152 64770 454 -1 /product/etc/passwd