Searched defs:hash (Results 1 - 11 of 11) sorted by relevance

/httpd/server/
H A Dutil_md5.c56 unsigned char hash[APR_MD5_DIGESTSIZE]; local
60 * Take the MD5 hash of the string argument.
68 apr_md5_final(hash, &my_md5);
70 ap_bin2hex(hash, APR_MD5_DIGESTSIZE, result);
/httpd/modules/ldap/
H A Dutil_ldap_cache.h49 unsigned long (*hash)(void *); /* Func to hash the payload */ member in struct:util_ald_cache
/httpd/modules/lua/
H A Dlua_vmprep.c437 char *hash; local
440 hash = apr_psprintf(r->pool, "reslist:%s", spec->file);
444 if (apr_pool_userdata_get((void **)&reslist, hash,
461 apr_pool_userdata_set(reslist, hash, NULL,
H A Dmod_lua.c153 char *hash; local
160 hash = apr_psprintf(r->pool, "reslist:%s", spec->file);
161 if (apr_pool_userdata_get((void **)&reslist, hash,
/httpd/support/
H A Dhtpasswd.c251 static int verify(struct passwd_ctx *ctx, const char *hash) argument
258 rv = apr_password_validate(ctx->passwd, hash);
452 char *hash = colon + 1; local
455 len = strcspn(hash, "\r\n");
457 apr_file_printf(errfile, "Empty hash for user %s" NL,
461 hash[len] = '\0';
463 i = verify(&ctx, hash);
/httpd/modules/aaa/
H A Dmod_auth_form.c524 const char *hash = NULL; local
529 hash = ap_md5(r->pool,
536 ap_session_set_fn(r, z, apr_pstrcat(r->pool, authname, "-" MOD_AUTH_FORM_HASH, NULL), hash);
547 const char **user, const char **pw, const char **hash)
560 if (hash) {
561 ap_session_get_fn(r, z, apr_pstrcat(r->pool, authname, "-" MOD_AUTH_FORM_HASH, NULL), hash);
573 hash ? *hash : "<null>");
723 * Given a username and site passphrase hash from the session, determine
729 * If the site passphrase hash doe
546 get_session_auth(request_rec * r, const char **user, const char **pw, const char **hash) argument
738 const char *hash = ap_md5(r->pool, local
[all...]
H A Dmod_auth_digest.c39 * o Server name and port can't be included in nonce-hash
466 /* we precompute the part of the nonce hash that is constant (well,
665 "The algorithm used for the hash calculation"),
683 * The clients are kept in a simple hash table, which consists of an
697 * and it keeps the hash table evenly balanced (i.e. same number of entries
1030 /* The hash part of the nonce is a SHA-1 hash of the time, realm, server host
1033 static void gen_nonce_hash(char *hash, const char *timestr, const char *opaque, argument
1054 ap_bin2hex(sha1, APR_SHA1_DIGESTSIZE, hash);
1058 /* The nonce has the format b64(time)+hash
1380 char tmp, hash[NONCE_HASH_LEN+1]; local
[all...]
/httpd/modules/arch/win32/
H A Dmod_isapi.c131 * defined. The hash result remains global, but shorthand of
202 apr_hash_t *hash; member in struct:isapi_global_conf
336 *isa = apr_hash_get(loaded.hash, fpath, APR_HASH_KEY_STRING);
342 * when the load has completed. Release the global isapi hash
373 * hash lock to avoid colliding with another thread
389 * hash for updating last_load_ vars, so their update
410 * within the hash mutex before unlocking.
418 /* If the module was not found, it's time to create a hash key entry
419 * before releasing the hash lock to avoid multiple threads from
439 apr_hash_set(loaded.hash, ke
[all...]
/httpd/modules/proxy/
H A Dmod_proxy.h364 proxy_hashes hash; /* hash of worker name */ member in struct:__anon284
408 proxy_hashes hash; /* hash of worker name */ member in struct:proxy_worker
436 proxy_hashes hash; member in struct:__anon286
462 proxy_hashes hash; member in struct:proxy_balancer
951 * Return a hash based on the passed string
952 * @param str string to produce hash from
954 * @return hash as unsigned int
H A Dproxy_util.c1089 proxy_hashes hash; local
1100 hash.def = ap_proxy_hashfunc(uri, PROXY_HASHFUNC_DEFAULT);
1101 hash.fnv = ap_proxy_hashfunc(uri, PROXY_HASHFUNC_FNV);
1104 if (balancer->hash.def == hash.def && balancer->hash.fnv == hash.fnv) {
1197 bshared->hash.def = ap_proxy_hashfunc(bshared->name, PROXY_HASHFUNC_DEFAULT);
1198 bshared->hash.fnv = ap_proxy_hashfunc(bshared->name, PROXY_HASHFUNC_FNV);
1199 (*balancer)->hash
3094 unsigned int hash; local
3104 unsigned int hash; local
[all...]
/httpd/server/mpm/event/
H A Devent.c3444 apr_hash_t *hash; member in struct:__anon368
3453 wc.hash = apr_hash_make(ptemp);
3454 ka.hash = apr_hash_make(ptemp);
3468 apr_hash_set(wc.hash, &s->timeout, sizeof s->timeout, wc.q);
3472 apr_hash_set(ka.hash, &s->keep_alive_timeout,
3479 wc.q = apr_hash_get(wc.hash, &s->timeout, sizeof s->timeout);
3482 apr_hash_set(wc.hash, &s->timeout, sizeof s->timeout, wc.q);
3486 ka.q = apr_hash_get(ka.hash, &s->keep_alive_timeout,
3490 apr_hash_set(ka.hash, &s->keep_alive_timeout,

Completed in 671 milliseconds