Lines Matching refs:pw

451 static void apr_md5_encode(const char *pw, const char *salt, char *result, size_t nbytes) {  in apr_md5_encode()  argument
499 li_MD5_Update(&ctx, pw, strlen(pw)); in apr_md5_encode()
515 li_MD5_Update(&ctx1, pw, strlen(pw)); in apr_md5_encode()
517 li_MD5_Update(&ctx1, pw, strlen(pw)); in apr_md5_encode()
519 for (pl = strlen(pw); pl > 0; pl -= APR_MD5_DIGESTSIZE) { in apr_md5_encode()
532 for (i = strlen(pw); i != 0; i >>= 1) { in apr_md5_encode()
537 li_MD5_Update(&ctx, pw, 1); in apr_md5_encode()
559 li_MD5_Update(&ctx1, pw, strlen(pw)); in apr_md5_encode()
569 li_MD5_Update(&ctx1, pw, strlen(pw)); in apr_md5_encode()
576 li_MD5_Update(&ctx1, pw, strlen(pw)); in apr_md5_encode()
610 …th_plugin_data *p, array *req, buffer *username, buffer *realm, buffer *password, const char *pw) { in http_auth_basic_password_compare() argument
630 li_MD5_Update(&Md5Ctx, (unsigned char *)pw, strlen(pw)); in http_auth_basic_password_compare()
644 apr_md5_encode(pw, password->ptr, sample, sizeof(sample)); in http_auth_basic_password_compare()
690 crypted = crypt(pw, salt); in http_auth_basic_password_compare()
699 if (0 == strcmp(password->ptr, pw)) { in http_auth_basic_password_compare()
746 if (p->conf.auth_ldap_allow_empty_pw != 1 && pw[0] == '\0') in http_auth_basic_password_compare()
820 if (LDAP_SUCCESS != (ret = ldap_simple_bind_s(ldap, dn, pw))) { in http_auth_basic_password_compare()
841 char *pw; in http_auth_basic_check() local
857 if (NULL == (pw = strchr(username->ptr, ':'))) { in http_auth_basic_check()
864 *pw++ = '\0'; in http_auth_basic_check()
866 username->used = pw - username->ptr; in http_auth_basic_check()
884 if (http_auth_basic_password_compare(srv, p, req, username, realm->value, password, pw)) { in http_auth_basic_check()