H A D | rmd160.c | 2 /*- 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 27 * Preneel, Bosselaers, Dobbertin, "The Cryptographic Hash Function RIPEMD-160", 72 #define ROL(n, x) (((x) << (n)) | ((x) >> (32-(n)))) 74 #define F0(x, y, z) ((x) ^ (y) ^ (z)) macro 80 #define R(a, b, c, d, e, Fj, Kj, sj, rj) \ argument 82 a = ROL(sj, a + Fj(b,c,d) + X(rj) + Kj) + e; \ 97 ctx->count = 0; in RMD160Init() 98 ctx->state[0] = H0; in RMD160Init() 99 ctx->state[1] = H1; in RMD160Init() [all …]
|