H A D | sha1.c | 114 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 115 #define G(x, y, z) ((x) ^ (y) ^ (z)) argument 116 #define H(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) argument 117 #define I(x, y, z) ((x) ^ (y) ^ (z)) argument 121 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) argument 125 #define W(i) ( tmp=x[(i-3)&15]^x[(i-8)&15]^x[(i-14)&15]^x[i&15], \ 126 (x[i&15]=ROTATE_LEFT(tmp, 1)) ) 257 SHA1Decode(x, block, 64); 260 FF(a, b, c, d, e, x[0]); /* 1 */ 261 FF(e, a, b, c, d, x[1]); /* 2 */ [all …]
|