Lines Matching refs:pw
50 static void generate_password(char **pw, int num_classes, ...);
54 random_password(char *pw, size_t len)
61 otp_print_stddict (newkey, pw, len);
62 strlwr(pw);
70 strlcpy(pw, pass, len);
112 generate_password(char **pw, int num_classes, ...)
124 *pw = NULL;
138 *pw = malloc(len + 1);
139 if(*pw == NULL) {
149 (*pw)[i] = classes[j].str[RND(rbuf, sizeof(rbuf), &rleft)
157 (*pw)[len] = '\0';