Home
last modified time | relevance | path

Searched refs:pwlen (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_tree_connect.c249 uint16_t pwlen = 0; in smb_pre_tree_connect_andx() local
253 &tcon->flags, &pwlen); in smb_pre_tree_connect_andx()
255 if (pwlen != 0) in smb_pre_tree_connect_andx()
256 pwbuf = smb_srm_zalloc(sr, pwlen); in smb_pre_tree_connect_andx()
258 rc = smbsr_decode_data(sr, "%#cus", sr, pwlen, pwbuf, in smb_pre_tree_connect_andx()
261 tcon->pwdlen = pwlen; in smb_pre_tree_connect_andx()
/titanic_41/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c527 int c, pwlen; in get_password() local
538 pwlen = strlen(pwbuf); in get_password()
539 if (pwlen == 0) { in get_password()
562 if (flags >= 7 && pwlen >= 4) in get_password()
564 if ((flags == 2 || flags == 4) && pwlen >= 6) in get_password()
566 if ((flags == 3 || flags == 5 || flags == 6) && pwlen >= 5) in get_password()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dupap.c602 int pwlen; local
605 pwlen = strllen(passwd, MAXSECRETLEN);
606 if (pwlen > 0xFF)
607 pwlen = 0xFF;
608 outlen = UPAP_HEADERLEN + 2 * sizeof (u_char) + u->us_userlen + pwlen;
619 PUTCHAR(pwlen, outp);
620 BCOPY(u->us_passwd, outp, pwlen);
/titanic_41/usr/src/lib/pam_modules/authtok_check/
H A Dauthtok_check.c606 size_t pwlen, opwlen, max; in check_diff() local
613 pwlen = MIN(strlen(pw), max); in check_diff()
616 if (pwlen > opwlen) in check_diff()
617 diff = pwlen - opwlen; in check_diff()
619 diff = opwlen - pwlen; in check_diff()
708 size_t pwlen; in pam_sm_chauthtok() local
817 pwlen = strlen(pwbuf); in pam_sm_chauthtok()
819 if (pwlen < pwdef.minlength) { in pam_sm_chauthtok()
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c1473 int pwlen = strlen (password); in kadm5_chpass_principal_3() local
1475 if (pwlen > 254) pwlen = 254; in kadm5_chpass_principal_3()
1476 strncpy (pwbuf, password, pwlen); in kadm5_chpass_principal_3()
1477 pwbuf[pwlen] = '\n'; in kadm5_chpass_principal_3()
1478 pwbuf[pwlen + 1] = '\0'; in kadm5_chpass_principal_3()