Lines Matching refs:password
103 unsigned char password[9]; /* trailing nul for crypt() */
106 memset (password, 0, sizeof (password));
107 memcpy (password, realm, min (salt->length, 8));
109 if (isupper(password[i]))
110 password[i] = tolower(password[i]);
112 password[i] ^= data->data[i];
114 if (password[i] == '\0')
115 password[i] = 'X';
116 password[8] = '\0';
120 (char *) afs_crypt((char *) password, "#~", afs_crypt_buf) + 2,
127 memset(password, 0, (size_t) sizeof(password));
136 unsigned char *password = malloc(pw_len+1);
137 if (!password) return ENOMEM;
141 memcpy (password, data->data, data->length);
143 password[i] = realm[j];
144 if (isupper(password[i]))
145 password[i] = tolower(password[i]);
156 retval = mit_des_cbc_cksum (context, (unsigned char *)password,
168 retval = mit_des_cbc_cksum (context, (unsigned char *) password,
180 memset(password, 0, (size_t) pw_len);
181 krb5_xfree(password);