Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 5 of 5) sorted by relevance

/lighttpd1.4/src/
H A Dsys-crypto-md.h917 #define li_md_once(algo) \ argument
919 algo##_once (unsigned char * const digest, \
922 algo##_CTX ctx; \
923 algo##_Init(&ctx); \
924 algo##_Update(&ctx, data, n); \
925 algo##_Final(digest, &ctx); \
939 #define li_md_iov(algo) \ argument
941 algo##_iov (unsigned char * const digest, \
944 algo##_CTX ctx; \
945 algo##_Init(&ctx); \
[all …]
H A Dmod_auth_api.c120 unsigned int http_auth_digest_len (int algo) in http_auth_digest_len() argument
122 if (algo & (HTTP_AUTH_DIGEST_SHA256 | HTTP_AUTH_DIGEST_SHA512_256)) { in http_auth_digest_len()
126 if (algo & HTTP_AUTH_DIGEST_MD5) { in http_auth_digest_len()
H A Dmod_auth_api.h32 unsigned int http_auth_digest_len (int algo);
H A Dmod_magnet.c764 const_buffer algo = magnet_checkconstbuffer(L, -2); in magnet_md_once() local
768 switch (algo.len) { in magnet_md_once()
772 if (0 == memcmp(algo.ptr, "sha512", 6)) { in magnet_md_once()
779 if (0 == memcmp(algo.ptr, "sha256", 6)) { in magnet_md_once()
788 if (0 == memcmp(algo.ptr, "sha1", 4)) { in magnet_md_once()
797 if (0 == memcmp(algo.ptr, "md5", 3)) { in magnet_md_once()
831 switch (algo.len) { in magnet_hmac_once()
835 if (0 == memcmp(algo.ptr, "sha512", 6)) { in magnet_hmac_once()
842 if (0 == memcmp(algo.ptr, "sha256", 6)) { in magnet_hmac_once()
851 if (0 == memcmp(algo.ptr, "sha1", 4)) { in magnet_hmac_once()
[all …]
/lighttpd1.4/
H A DNEWS597 * [mod_auth] send 401 if digest algo not supported
809 * [multiple] use <algo>_iov() digest funcs
811 * [mod_auth] mod_auth_algorithm_parse() w/ algo len