diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llmath/llmd5.h | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/llmath/llmd5.h')
-rw-r--r-- | linden/indra/llmath/llmd5.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/linden/indra/llmath/llmd5.h b/linden/indra/llmath/llmd5.h index 20c32ed..5df98bf 100644 --- a/linden/indra/llmath/llmd5.h +++ b/linden/indra/llmath/llmd5.h | |||
@@ -85,6 +85,9 @@ class LLMD5 { | |||
85 | typedef unsigned short int uint2; // assumes short integer is 2 words long | 85 | typedef unsigned short int uint2; // assumes short integer is 2 words long |
86 | typedef unsigned char uint1; // assumes char is 1 word long | 86 | typedef unsigned char uint1; // assumes char is 1 word long |
87 | 87 | ||
88 | // how many bytes to grab at a time when checking files | ||
89 | static const int BLOCK_LEN; | ||
90 | |||
88 | public: | 91 | public: |
89 | // methods for controlled operation: | 92 | // methods for controlled operation: |
90 | LLMD5 (); // simple initializer | 93 | LLMD5 (); // simple initializer |
@@ -125,20 +128,6 @@ private: | |||
125 | static void encode (uint1 *dest, const uint4 *src, const uint4 length); | 128 | static void encode (uint1 *dest, const uint4 *src, const uint4 length); |
126 | static void decode (uint4 *dest, const uint1 *src, const uint4 length); | 129 | static void decode (uint4 *dest, const uint1 *src, const uint4 length); |
127 | 130 | ||
128 | static inline uint4 rotate_left (uint4 x, uint4 n); | ||
129 | static inline uint4 F (uint4 x, uint4 y, uint4 z); | ||
130 | static inline uint4 G (uint4 x, uint4 y, uint4 z); | ||
131 | static inline uint4 H (uint4 x, uint4 y, uint4 z); | ||
132 | static inline uint4 I (uint4 x, uint4 y, uint4 z); | ||
133 | static inline void FF (uint4& a, uint4 b, uint4 c, uint4 d, uint4 x, | ||
134 | uint4 s, uint4 ac); | ||
135 | static inline void GG (uint4& a, uint4 b, uint4 c, uint4 d, uint4 x, | ||
136 | uint4 s, uint4 ac); | ||
137 | static inline void HH (uint4& a, uint4 b, uint4 c, uint4 d, uint4 x, | ||
138 | uint4 s, uint4 ac); | ||
139 | static inline void II (uint4& a, uint4 b, uint4 c, uint4 d, uint4 x, | ||
140 | uint4 s, uint4 ac); | ||
141 | |||
142 | }; | 131 | }; |
143 | 132 | ||
144 | #endif // LL_LLMD5_H | 133 | #endif // LL_LLMD5_H |