Searched refs:digest (Results 1 - 10 of 10) sorted by relevance

/httpd/server/
H A Dutil_md5.c127 unsigned char digest[18]; local
134 apr_md5_final(digest, context);
135 digest[sizeof(digest) - 1] = digest[sizeof(digest) - 2] = 0;
138 for (i = 0; i < sizeof(digest); i += 3) {
139 *p++ = basis_64[digest[i] >> 2];
140 *p++ = basis_64[((digest[i] & 0x3) << 4) | ((int) (digest[
[all...]
/httpd/support/
H A Dhtdigest.c24 * htdigest.c: simple program for manipulating digest passwd file for Apache
129 unsigned char digest[16]; local
157 apr_md5_final(digest, &context);
160 apr_file_printf(f, "%02x", digest[i]);
H A Dhtcacheclean.c1233 unsigned char digest[16]; local
1242 apr_md5_final(digest, &context);
1249 x = (digest[i] << 16) | (digest[i + 1] << 8) | digest[i + 2];
1257 x = digest[15];
/httpd/modules/slotmem/
H A Dmod_slotmem_shm.c147 unsigned char digest[APR_MD5_DIGESTSIZE]; local
170 apr_md5(digest, slotmem->persist, nbytes);
173 rv = apr_file_write_full(fp, digest, APR_MD5_DIGESTSIZE, NULL);
189 unsigned char digest[APR_MD5_DIGESTSIZE]; local
210 rv = apr_file_read(fp, digest, &ds);
215 if (memcmp(digest, digest2, APR_MD5_DIGESTSIZE)) {
/httpd/modules/aaa/
H A Dmod_auth_basic.c214 "check for digest auth, using a hash of 'user:realm:pass'"),
301 const char *digest = NULL; local
329 digest = ap_md5(r->pool,
360 if (digest) {
374 auth_result = strcmp(digest, password) ? AUTH_DENIED
H A Dmod_auth_digest.c18 * mod_auth_digest: MD5 digest authentication
143 const char *digest; member in struct:digest_header_struct
343 "generating secret for digest authentication");
960 resp->digest = apr_pstrdup(r->pool, value);
974 || !resp->digest
1584 "missing user, realm, nonce, uri, digest, "
1751 /* old (rfc-2069) style digest */
1752 if (strcmp(resp->digest, old_digest(r, resp, conf->ha1))) {
1787 if (strcmp(resp->digest, exp_digest)) {
1828 /* 2069-style entity-digest i
[all...]
/httpd/modules/ssl/
H A Dssl_ct_log_config.c113 static void digest_public_key(EVP_PKEY *pubkey, unsigned char digest[LOG_ID_SIZE]) argument
125 SHA256_Final(digest, &sha256ctx);
284 APLOGNO(02760) "Provided log id doesn't match digest "
H A Dmod_ssl_ct.c222 const EVP_MD *digest; local
225 digest = EVP_get_digestbyname("sha256");
226 X509_digest(x, digest, md, &n);
1593 unsigned char digest[SHA256_DIGEST_LENGTH]; local
1611 SHA256_Final(digest, &sha256ctx); /* UNDOC */
1612 return apr_pescape_hex(c->pool, digest, sizeof digest, 0);
/httpd/modules/cache/
H A Dcache_util.c854 unsigned char digest[16]; local
863 apr_md5_final(digest, &context);
870 x = (digest[i] << 16) | (digest[i + 1] << 8) | digest[i + 2];
878 x = digest[15];
/httpd/modules/lua/
H A Dlua_request.c905 * lua_apr_md5; r:md5(string) - Calculates an MD5 digest of a string
923 * lua_apr_sha1; r:sha1(string) - Calculates the SHA1 digest of a string
927 unsigned char digest[APR_SHA1_DIGESTSIZE]; local
936 result = apr_pcalloc(r->pool, sizeof(digest) * 2 + 1);
940 apr_sha1_final(digest, &sha1);
942 ap_bin2hex(digest, sizeof(digest), result);
2141 unsigned char digest[APR_SHA1_DIGESTSIZE]; local
2154 apr_sha1_final(digest, &sha1);
2158 encoded_len = apr_base64_encode(encoded, (char*) digest, APR_SHA1_DIGESTSIZ
[all...]

Completed in 5169 milliseconds