Home
last modified time | relevance | path

Searched refs:newpass (Results 1 – 4 of 4) sorted by relevance

/dragonfly/contrib/pam_passwdqc/
H A Dpasswdqc_check.c101 while ((c = (unsigned char)newpass[length])) { in is_simple()
129 if (!strchr(&newpass[length], c)) in is_simple()
138 c = (unsigned char)newpass[0]; in is_simple()
141 c = (unsigned char)newpass[length - 1]; in is_simple()
540 size_t length = strlen(newpass); in passwdqc_check()
555 strncat(truncated, newpass, 8); in passwdqc_check()
556 newpass = truncated; in passwdqc_check()
558 if (oldpass && !strncmp(oldpass, newpass, 8)) { in passwdqc_check()
568 if (oldpass && !strcmp(oldpass, newpass)) { in passwdqc_check()
573 if (is_simple(params, newpass, 0, 0)) { in passwdqc_check()
[all …]
H A Dpam_passwdqc.c237 const char *newpass) in check_max() argument
239 if (strlen(newpass) > (size_t)qc->max) { in check_max()
309 const char *user, *oldpass, *newpass; local
405 newpass = item;
406 if (!newpass ||
407 (check_max(&params.qc, pamh, newpass) && enforce))
410 passwdqc_check(&params.qc, newpass, oldpass, pw);
H A Dpasswdqc.h51 const char *newpass, const char *oldpass, const struct passwd *pw);
/dragonfly/crypto/libressl/include/openssl/
H A Dpkcs12.h280 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);