Searched defs:pw (Results 1 - 8 of 8) sorted by last modified time

/system/security/keystore/
H A Dkeystore.cpp475 ResponseCode initialize(Value* pw) { argument
479 ResponseCode response = writeMasterKey(pw);
487 ResponseCode writeMasterKey(Value* pw) { argument
489 generateKeyFromPassword(passwordKey, MASTER_KEY_SIZE_BYTES, pw, mSalt);
496 ResponseCode readMasterKey(Value* pw) { argument
517 generateKeyFromPassword(passwordKey, MASTER_KEY_SIZE_BYTES, pw, salt);
531 response = writeMasterKey(pw);
729 static void generateKeyFromPassword(uint8_t* key, ssize_t keySize, Value* pw, uint8_t* salt) { argument
739 PKCS5_PBKDF2_HMAC_SHA1((char*) pw->value, pw
1029 password(KeyStore* keyStore, int, uid_t, Value* pw, Value*, Value*) argument
1052 unlock(KeyStore* keyStore, int sock, uid_t uid, Value* pw, Value* unused, Value* unused2) argument
[all...]
/system/core/toolbox/
H A Dchown.c34 struct passwd *pw; local
39 pw = getpwnam(user);
40 if (pw != NULL) {
41 uid = pw->pw_uid;
H A Did.c14 struct passwd *pw = getpwuid(uid); local
16 if (pw) {
17 printf("%d(%s)", uid, pw->pw_name);
H A Dls.c81 struct passwd *pw = getpwuid(uid); local
82 if(pw) {
83 strcpy(out, pw->pw_name);
H A Dlsof.c171 struct passwd *pw; local
179 pw = getpwuid(pidstat.st_uid);
180 if (pw) {
181 strlcpy(info.user, pw->pw_name, sizeof(info.user));
H A Dps.c47 struct passwd *pw; local
140 pw = getpwuid(stats.st_uid);
141 if(pw == 0) {
144 strcpy(user,pw->pw_name);
/system/extras/su/
H A Dsu.c44 struct passwd *pw; local
57 pw = getpwnam(argv[1]);
59 if(pw == 0) {
62 uid = pw->pw_uid;
63 gid = pw->pw_gid;
/system/extras/tests/fstest/
H A Dperm_checker.c72 struct passwd *pw; local
77 if (!(pw = getpwnam(str))) {
81 return pw->pw_uid;
202 struct passwd *pw; local
205 pw = getpwuid(uid);
206 printf("%s %4o %4o %s %d %s %d\n", name, mode, mode, pw->pw_name, uid,

Completed in 25 milliseconds