Home
last modified time | relevance | path

Searched refs:pwsize (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/krb5/kadmin/kpasswd/
H A Dtty_kpasswd.c58 long read_old_password(context, password, pwsize) in read_old_password() argument
61 unsigned int *pwsize;
65 0, password, pwsize);
69 long read_new_password(server_handle, password, pwsize, msg_ret, msg_len, princ) in read_new_password() argument
72 unsigned int *pwsize;
H A Dkpasswd.c112 unsigned int pwsize; local
193 pwsize = sizeof(password);
194 code = read_old_password(context, password, &pwsize);
203 if (pwsize == 0) {
333 pwsize = sizeof(password);
334 code = read_new_password(server_handle, password, &pwsize, msg_ret, sizeof (msg_ret), princ);
H A Dkpasswd.h39 unsigned int *pwsize);
42 unsigned int *pwsize, char *msg_ret,
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dread_pwd.c123 int * pwsize) in read_console_password() argument
147 (void) memset(password, 0, *pwsize); in read_console_password()
149 if (fgets(password, *pwsize, stdin) == NULL) { in read_console_password()
164 if (! (tmpstr = (char *)malloc(*pwsize))) { in read_console_password()
170 if (fgets(tmpstr, *pwsize, stdin) == NULL) { in read_console_password()
184 if (strncmp(password, tmpstr, *pwsize)) { in read_console_password()
193 (void) memset(tmpstr, 0, *pwsize); in read_console_password()
197 (void) memset(password, 0, *pwsize); in read_console_password()
199 *pwsize = strlen(password); in read_console_password()
/titanic_50/usr/src/lib/krb5/kadm5/
H A Dchpass_util.c94 unsigned int pwsize; in _kadm5_chpass_principal_util() local
112 pwsize = sizeof(buffer); in _kadm5_chpass_principal_util()
115 buffer, &pwsize); in _kadm5_chpass_principal_util()
141 if (pwsize == 0) { in _kadm5_chpass_principal_util()
/titanic_50/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil_funcs.c122 unsigned int pwsize = BUFSIZ; local
166 password.length = pwsize;
167 password.data = (char *) malloc(pwsize);
/titanic_50/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c524 get_password(char *pw_dest, int pwsize) in get_password() argument
578 (void) strncpy(pw_dest, pwbuf, pwsize); in get_password()
/titanic_50/usr/src/cmd/krb5/kinit/
H A Dkinit.c1139 unsigned int pwsize = sizeof(stash_password); local
1151 code = krb5_read_password(ctx, prompt, 0, stash_password, &pwsize);
1152 if (code || pwsize == 0)