Searched defs:pwlen (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_tree_connect.c276 uint16_t pwlen = 0; local
280 &tcon->flags, &pwlen);
282 if (pwlen != 0)
283 pwbuf = smb_srm_zalloc(sr, pwlen);
285 rc = smbsr_decode_data(sr, "%#cus", sr, pwlen, pwbuf,
288 tcon->pwdlen = pwlen;
/illumos-gate/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);
/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c527 int c, pwlen; local
538 pwlen = strlen(pwbuf);
539 if (pwlen == 0) {
562 if (flags >= 7 && pwlen >= 4)
564 if ((flags == 2 || flags == 4) && pwlen >= 6)
566 if ((flags == 3 || flags == 5 || flags == 6) && pwlen >= 5)
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dauthtok_check.c606 size_t pwlen, opwlen, max; local
613 pwlen = MIN(strlen(pw), max);
616 if (pwlen > opwlen)
617 diff = pwlen - opwlen;
619 diff = opwlen - pwlen;
708 size_t pwlen; local
817 pwlen = strlen(pwbuf);
819 if (pwlen < pwdef.minlength) {
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c1473 int pwlen = strlen (password); local
1475 if (pwlen > 254) pwlen = 254;
1476 strncpy (pwbuf, password, pwlen);
1477 pwbuf[pwlen] = '\n';
1478 pwbuf[pwlen + 1] = '\0';

Completed in 75 milliseconds