| /lighttpd1.4/src/ |
| H A D | sys-crypto-md.h | 31 MD4_Final(unsigned char *digest, MD4_CTX *ctx) in MD4_Final() argument 52 MD5_Final(unsigned char *digest, MD5_CTX *ctx) in MD5_Final() argument 73 SHA1_Final(unsigned char *digest, SHA_CTX *ctx) in SHA1_Final() argument 167 MD4_Final(unsigned char *digest, MD4_CTX *ctx) in MD4_Final() argument 195 MD5_Final(unsigned char *digest, MD5_CTX *ctx) in MD5_Final() argument 198 int rc = mbedtls_md5_finish(ctx, digest); in MD5_Final() 358 wc_Md4Final((Md4 *)ctx, digest); in MD4_Final() 683 gnutls_hash_deinit(*ctx, digest); in MD5_Final() 705 gnutls_hash_deinit(*ctx, digest); in SHA1_Final() 727 gnutls_hash_deinit(*ctx, digest); in SHA256_Final() [all …]
|
| H A D | algo_hmac.c | 72 MD5_iov(digest, iov, sizeof(iov)/sizeof(*iov)); in li_hmac_md5() 101 || wc_HmacFinal(&hmac, (byte *)digest) < 0) in li_hmac_sha1() 109 digest, &dlen)); in li_hmac_sha1() 131 UNUSED(digest); in li_hmac_sha1() 142 UNUSED(digest); in li_hmac_sha1() 185 digest, &dlen)); in li_hmac_sha256() 207 UNUSED(digest); in li_hmac_sha256() 218 UNUSED(digest); in li_hmac_sha256() 261 digest, &dlen)); in li_hmac_sha512() 283 UNUSED(digest); in li_hmac_sha512() [all …]
|
| H A D | algo_hmac.h | 11 li_hmac_md5 (unsigned char digest[16], /* [MD5_DIGEST_LENGTH] */ 16 li_hmac_sha1 (unsigned char digest[20], /* [SHA_DIGEST_LENGTH] */ 21 li_hmac_sha256 (unsigned char digest[32], /* [SHA256_DIGEST_LENGTH] */ 26 li_hmac_sha512 (unsigned char digest[64], /* [SHA512_DIGEST_LENGTH] */
|
| H A D | mod_authn_file.c | 192 digest_iov(ai->digest, iov, sizeof(iov)/sizeof(*iov)); in mod_authn_file_digest() 275 return li_hex2bin(ai->digest, sizeof(ai->digest), f_pwd, pwd_len); in mod_authn_file_htdigest_get_loop() 306 unsigned char htdigest[sizeof(ai.digest)]; 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() 707 unsigned char digest[SHA_DIGEST_LENGTH*2]; in mod_authn_file_htpasswd_basic() local 708 SHA1_once(digest+SHA_DIGEST_LENGTH, pw, strlen(pw)); in mod_authn_file_htpasswd_basic() 710 == li_base64_dec(digest, sizeof(digest), in mod_authn_file_htpasswd_basic() 712 && ck_memeq_const_time_fixed_len(digest, digest+SHA_DIGEST_LENGTH, in mod_authn_file_htpasswd_basic() [all …]
|
| H A D | mod_auth_api.h | 69 unsigned char digest[32]; member 76 handler_t(*digest)(request_st *r, void *p_d, http_auth_info_t *ai); member
|
| H A D | rand.c | 231 uint8_t digest[SHA256_DIGEST_SIZE]; in li_arcfour_init_random_key_hashed() local 236 sha256_digest(&hash, SHA256_DIGEST_SIZE, digest); in li_arcfour_init_random_key_hashed() 237 nettle_arcfour_set_key(ctx, SHA256_DIGEST_SIZE, digest); in li_arcfour_init_random_key_hashed()
|
| H A D | mod_auth.c | 906 li_tohex(a1, sizeof(a1), (const char *)ai->digest, ai->dlen); in mod_auth_digest_mutate() 921 digest_iov(ai->digest, iov, 5); in mod_auth_digest_mutate() 922 li_tohex(a1, sizeof(a1), (const char *)ai->digest, ai->dlen); in mod_auth_digest_mutate() 944 digest_iov(ai->digest, iov, n); in mod_auth_digest_mutate() 945 li_tohex(a2, sizeof(a2), (const char *)ai->digest, ai->dlen); in mod_auth_digest_mutate() 974 digest_iov(ai->digest, iov, n+1); in mod_auth_digest_mutate() 1151 memcpy(ai->digest, ae->pwdigest, ai->dlen); in mod_auth_digest_get() 1167 rc = backend->digest(r, backend->p_d, ai); in mod_auth_digest_get() 1186 (char *)ai->digest, ai->dlen); in mod_auth_digest_get() 1495 if (NULL == backend || NULL == backend->digest) in mod_auth_check_digest() [all …]
|
| H A D | algo_sha1.h | 65 void SHA1_Final(sha1_byte digest[SHA1_DIGEST_LENGTH], SHA_CTX *context);
|
| H A D | mod_magnet.c | 766 uint8_t digest[MD_DIGEST_LENGTH_MAX]; in magnet_md_once() local 773 SHA512_once(digest, msg.ptr, msg.len); in magnet_md_once() 780 SHA256_once(digest, msg.ptr, msg.len); in magnet_md_once() 789 SHA1_once(digest, msg.ptr, msg.len); in magnet_md_once() 798 MD5_once(digest, msg.ptr, msg.len); in magnet_md_once() 809 li_tohex_uc(dighex, sizeof(dighex), (char *)digest, dlen); in magnet_md_once() 828 uint8_t digest[MD_DIGEST_LENGTH_MAX]; in magnet_hmac_once() local 836 rc = li_hmac_sha512(digest,secret.ptr,secret.len,msgptr,msg.len); in magnet_hmac_once() 852 rc = li_hmac_sha1(digest,secret.ptr,secret.len,msgptr,msg.len); in magnet_hmac_once() 861 rc = li_hmac_md5(digest,secret.ptr,secret.len,msgptr,msg.len); in magnet_hmac_once() [all …]
|
| H A D | algo_sha1.c | 148 void SHA1_Final(sha1_byte digest[SHA1_DIGEST_LENGTH], SHA_CTX *context) { in SHA1_Final() 163 digest[i] = (sha1_byte) in SHA1_Final()
|
| H A D | algo_md5.c | 181 void li_MD5_Final (unsigned char digest[16], li_MD5_CTX *context) in li_MD5_Final() 199 Encode (digest, context->state, 16); in li_MD5_Final()
|
| H A D | mod_authn_dbi.c | 538 && 0 == li_hex2bin(ai->digest,sizeof(ai->digest),rpw,len)) in mod_authn_dbi_query()
|
| H A D | algo_xxhash.h | 592 unsigned char digest[4]; /*!< Hash bytes, big endian */ member 743 typedef struct { unsigned char digest[sizeof(XXH64_hash_t)]; } XXH64_canonical_t; member 949 typedef struct { unsigned char digest[sizeof(XXH128_hash_t)]; } XXH128_canonical_t; member 5582 h.low64 = XXH_readBE64(src->digest + 8); in XXH128_hashFromCanonical()
|
| /lighttpd1.4/doc/outdated/ |
| H A D | authentication.txt | 43 digest 63 for digest auth: 177 # ( "method" => "digest"/"basic", 184 # digest-algorithm and has to match the realm in the 190 "method" => "digest", 196 "method" => "digest",
|
| /lighttpd1.4/ |
| H A D | README | 90 - authentication: basic and digest
|
| H A D | NEWS | 597 * [mod_auth] send 401 if digest algo not supported 708 * [mod_authn_file] wipe password/digest after use 809 * [multiple] use <algo>_iov() digest funcs 1403 * [core] sys-crypto-md.h w/ inline message digest fn 1462 * [core] Nettle assert()s if buffer len > digest sz 1659 * [multiple] openssl 3.0.0 digest interface migrate 1800 * [mod_auth] require digest uri= match original URI 1882 * [mod_auth] http_auth_info_t digest abstraction 2258 * [mod_auth] check that digest realm matches config 3610 * fixed crash in digest handling in mod_auth [all …]
|