
Go to the source code of this file.
Macros | |
| #define | byteSwap(buf, words) |
| #define | F1(x, y, z) (z ^ (x & (y ^ z))) |
| #define | F2(x, y, z) F1(z, x, y) |
| #define | F3(x, y, z) (x ^ y ^ z) |
| #define | F4(x, y, z) (y ^ (x | ~z)) |
| #define | MD5STEP(f, w, x, y, z, in, s) (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x) |
Functions | |
| void | SquidMD5Init (struct SquidMD5Context *ctx) |
| void | SquidMD5Update (struct SquidMD5Context *ctx, const void *_buf, unsigned len) |
| void | SquidMD5Final (unsigned char digest[16], struct SquidMD5Context *ctx) |
| void | SquidMD5Transform (uint32_t buf[4], uint32_t const in[16]) |
Macro Definition Documentation
◆ byteSwap
◆ F1
◆ F2
◆ F3
◆ F4
◆ MD5STEP
| #define MD5STEP | ( | f, | |
| w, | |||
| x, | |||
| y, | |||
| z, | |||
| in, | |||
| s | |||
| ) | (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x) |
Function Documentation
◆ SquidMD5Final()
| void SquidMD5Final | ( | unsigned char | digest[16], |
| struct SquidMD5Context * | ctx | ||
| ) |
Definition at line 130 of file md5.c.
References SquidMD5Context::buf, SquidMD5Context::bytes, byteSwap, SquidMD5Context::in, and SquidMD5Transform().
◆ SquidMD5Init()
| void SquidMD5Init | ( | struct SquidMD5Context * | ctx | ) |
Definition at line 73 of file md5.c.
References SquidMD5Context::buf, and SquidMD5Context::bytes.
Referenced by authDigestNonceEncode(), crypt_md5(), DigestCalcHA1(), DigestCalcResponse(), md5_calc(), md5sum(), PidFilenameHash(), storeKeyPublic(), storeKeyPublicByRequestMethod(), wccp2_check_security(), and wccp2_update_md5_security().
◆ SquidMD5Transform()
| void SquidMD5Transform | ( | uint32_t | buf[4], |
| uint32_t const | in[16] | ||
| ) |
Definition at line 181 of file md5.c.
References F1, F2, F3, F4, and MD5STEP.
Referenced by SquidMD5Final(), and SquidMD5Update().
◆ SquidMD5Update()
| void SquidMD5Update | ( | struct SquidMD5Context * | ctx, |
| const void * | _buf, | ||
| unsigned | len | ||
| ) |
Definition at line 89 of file md5.c.
References SquidMD5Context::buf, SquidMD5Context::bytes, byteSwap, SquidMD5Context::in, and SquidMD5Transform().
Referenced by authDigestNonceEncode(), crypt_md5(), DigestCalcHA1(), DigestCalcResponse(), md5_calc(), md5sum(), PidFilenameHash(), storeKeyPublic(), storeKeyPublicByRequestMethod(), wccp2_check_security(), and wccp2_update_md5_security().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
