Differences From Artifact [78b7e000bc]:
- File src/OFHashes.m — part of check-in [51833ec7a7] at 2009-11-15 14:25:22 on branch trunk — Get rid of 3 more FIXMEs. (user: js, size: 12459) [annotate] [blame] [check-ins using]
To Artifact [75fcedf747]:
- File
src/OFHashes.m
— part of check-in
[b91a8283fe]
at
2010-03-05 11:52:18
on branch 0.2
— Merge a few changesets from the default branch into the 0.2 branch.
Changesets:
* b95fcaa6d694
* 804c68d222b4
* da8cd738da3d
* 1109d5ce3419
* d03f5c1ca95d
* 2a7017722165
* 4fccdc79eeb7
* d228149fbc04
* 8782d412a4a6 (user: js, size: 12491) [annotate] [blame] [check-ins using]
1 | 1 2 3 4 5 6 7 8 9 | - + | /* |
︙ | |||
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 | 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 | + + | #define R3(v, w, x, y, z, i) \ z += (((w | x) & y) | (w & x)) + blk(i) + 0x8F1BBCDC + OF_ROL(v, 5); \ w = OF_ROL(w, 30); #define R4(v, w, x, y, z, i) \ z += (w ^ x ^ y) + blk(i) + 0xCA62C1D6 + OF_ROL(v, 5); \ w = OF_ROL(w, 30); /// \cond internal typedef union { char c[64]; uint32_t l[16]; } sha1_c64l16_t; /// \endcond static inline void sha1_transform(uint32_t state[5], const char buffer[64]) { uint32_t a, b, c, d, e; char workspace[64]; sha1_c64l16_t *block; |
︙ |