Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 6 of 6) sorted by relevance

/lighttpd1.4/src/
H A Dmod_authn_file.c186 { ai->username, ai->ulen } in mod_authn_file_digest()
188 ,{ ai->realm, ai->rlen } in mod_authn_file_digest()
244 if (ai->ulen == uh_len && ai->rlen == r_len in mod_authn_file_htdigest_get_loop()
252 ai->username = memcpy(ai->userbuf, f_user, u_len); in mod_authn_file_htdigest_get_loop()
259 if (ai->ulen == u_len && ai->rlen == r_len in mod_authn_file_htdigest_get_loop()
310 ai.dlen = http_auth_digest_len(ai.dalgo); in mod_authn_file_htdigest_basic()
315 ai.userhash = 0; in mod_authn_file_htdigest_basic()
320 ck_memzero(ai.digest, ai.dlen); in mod_authn_file_htdigest_basic()
327 int rc = (ck_memeq_const_time_fixed_len(htdigest, ai.digest, ai.dlen) in mod_authn_file_htdigest_basic()
331 ck_memzero(ai.digest, ai.dlen); in mod_authn_file_htdigest_basic()
[all …]
H A Dmod_authn_dbi.c398 { ai->username, ai->ulen } in mod_authn_dbi_password_cmp()
400 ,{ ai->realm, ai->rlen } in mod_authn_dbi_password_cmp()
446 memcpy(buf, ai->username, ai->ulen); in mod_authn_dbi_query_build()
455 memcpy(buf, ai->realm, ai->rlen); in mod_authn_dbi_query_build()
538 && 0 == li_hex2bin(ai->digest,sizeof(ai->digest),rpw,len)) in mod_authn_dbi_query()
542 if (ai->userhash) { in mod_authn_dbi_query()
545 ai->username = ai->userbuf; in mod_authn_dbi_query()
549 memcpy(ai->userbuf, rpw, (ai->ulen = len)); in mod_authn_dbi_query()
566 http_auth_info_t ai; in mod_authn_dbi_basic() local
568 ai.dlen = 0; in mod_authn_dbi_basic()
[all …]
H A Dmod_auth.c906 li_tohex(a1, sizeof(a1), (const char *)ai->digest, ai->dlen); in mod_auth_digest_mutate()
922 li_tohex(a1, sizeof(a1), (const char *)ai->digest, ai->dlen); in mod_auth_digest_mutate()
945 li_tohex(a2, sizeof(a2), (const char *)ai->digest, ai->dlen); in mod_auth_digest_mutate()
1151 memcpy(ai->digest, ae->pwdigest, ai->dlen); in mod_auth_digest_get()
1164 if (ai->userhash && ulen <= sizeof(ai->userbuf)) in mod_auth_digest_get()
1165 ai->username = memcpy(ai->userbuf, userbuf, ulen); in mod_auth_digest_get()
1185 ai->username, ai->ulen, in mod_auth_digest_get()
1342 ai->username = memcpy(ai->userbuf, tb->ptr, len); in mod_auth_digest_validate_userstar()
1373 if (!buffer_eq_slen(require->realm, ai->realm, ai->rlen)) { in mod_auth_digest_validate_params()
1536 (int)ai.ulen, ai.username, r->dst_addr_buf->ptr); in mod_auth_check_digest()
[all …]
H A Dmod_auth_api.h76 handler_t(*digest)(request_st *r, void *p_d, http_auth_info_t *ai);
H A Dmod_wolfssl.c1606 WOLFSSL_ASN1_INTEGER *ai = wolfSSL_sk_ASN1_INTEGER_value(tlsf, i); in mod_openssl_crt_must_staple()
1607 long tlsextid = wolfSSL_ASN1_INTEGER_get(ai); in mod_openssl_crt_must_staple()
H A Dmod_openssl.c1665 ASN1_INTEGER *ai = sk_ASN1_INTEGER_value(tlsf, i); in mod_openssl_crt_must_staple()
1666 long tlsextid = ASN1_INTEGER_get(ai); in mod_openssl_crt_must_staple()