|
reSIProcate/stack
9694
|
#include "md5.hxx"
Go to the source code of this file.
Defines | |
| #define | S11 7 |
| #define | S12 12 |
| #define | S13 17 |
| #define | S14 22 |
| #define | S21 5 |
| #define | S22 9 |
| #define | S23 14 |
| #define | S24 20 |
| #define | S31 4 |
| #define | S32 11 |
| #define | S33 16 |
| #define | S34 23 |
| #define | S41 6 |
| #define | S42 10 |
| #define | S43 15 |
| #define | S44 21 |
| #define | F(x, y, z) (((x) & (y)) | ((~x) & (z))) |
| #define | G(x, y, z) (((x) & (z)) | ((y) & (~z))) |
| #define | H(x, y, z) ((x) ^ (y) ^ (z)) |
| #define | I(x, y, z) ((y) ^ ((x) | (~z))) |
| #define | ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) |
| #define | FF(a, b, c, d, x, s, ac) |
| #define | GG(a, b, c, d, x, s, ac) |
| #define | HH(a, b, c, d, x, s, ac) |
| #define | II(a, b, c, d, x, s, ac) |
Functions | |
| static void MD5Transform | PROTO_LIST ((UINT4[4], unsigned char[64])) |
| static void Encode | PROTO_LIST ((unsigned char *, UINT4 *, unsigned int)) |
| static void Decode | PROTO_LIST ((UINT4 *, unsigned char *, unsigned int)) |
| static void MD5_memcpy | PROTO_LIST ((POINTER, POINTER, unsigned int)) |
| static void MD5_memset | PROTO_LIST ((POINTER, int, unsigned int)) |
| void | MD5Init (context) MD5_CTX *context |
Variables | |
| static unsigned char | PADDING [64] |
| unsigned char * | input |
| unsigned int | inputLen |
| MD5_CTX * | context |
| unsigned char | block [64] |
| unsigned int | len |
| int | value |
| #define FF | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| x, | |||
| s, | |||
| ac | |||
| ) |
{ \
(a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \
(a) = ROTATE_LEFT ((a), (s)); \
(a) += (b); \
}
| #define GG | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| x, | |||
| s, | |||
| ac | |||
| ) |
{ \
(a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \
(a) = ROTATE_LEFT ((a), (s)); \
(a) += (b); \
}
| #define HH | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| x, | |||
| s, | |||
| ac | |||
| ) |
{ \
(a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \
(a) = ROTATE_LEFT ((a), (s)); \
(a) += (b); \
}
| #define II | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| x, | |||
| s, | |||
| ac | |||
| ) |
{ \
(a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \
(a) = ROTATE_LEFT ((a), (s)); \
(a) += (b); \
}
| #define ROTATE_LEFT | ( | x, | |
| n | |||
| ) | (((x) << (n)) | ((x) >> (32-(n)))) |
| void MD5Init | ( | context | ) |
| static void MD5Transform PROTO_LIST | ( | (UINT4[4], unsigned char[64]) | ) | [static] |
| static void Encode PROTO_LIST | ( | (unsigned char *, UINT4 *, unsigned int) | ) | [static] |
| static void Decode PROTO_LIST | ( | (UINT4 *, unsigned char *, unsigned int) | ) | [static] |
| static void MD5_memset PROTO_LIST | ( | (POINTER, int, unsigned int) | ) | [static] |
Definition at line 116 of file md5.cxx.
Referenced by resip::Helper::jitterValue(), and main().
| unsigned int len |
Definition at line 282 of file md5.cxx.
Referenced by resip::ApiCheck::ApiCheck(), resip::InternalTransport::bind(), resip::TlsConnection::computePeerName(), dayofweek_hash(), resip::DateCategory::DayOfWeekFromData(), resip::TransportSelector::determineSourceInterface(), hash(), hashcasen(), resip::TestSupportPriv::labels(), main(), resip::SipMessage::make(), resip::Helper::make405(), month_hash(), resip::DateCategory::MonthFromData(), MyInet_ntop6(), resip::Uri::parseEmbeddedHeaders(), resip::UdpTransport::processRxAll(), resip::UdpTransport::processRxParse(), resip::UdpTransport::processRxRecv(), sendto(), resip::SipMessage::setBody(), strncasecmp(), and resip::UdpTransport::stunSendTest().
unsigned char PADDING[64] [static] |
| int value |
Definition at line 326 of file md5.cxx.
Referenced by isNear(), resip::Transport::make503(), resip::Uri::operator==(), resip::ParserCategory::param(), resip::AttributeHelper::parse(), and resip::TuIM::processResponse().
1.7.5.1