Home
last modified time | relevance | path

Searched refs:ROTL_MD4 (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/libecc/src/examples/hash/
H A Dmd4.c54 A = ROTL_MD4((A + F_MD4(B, C, D) + W[idx] + C1_MD4[12]), C1_MD4[8]); in md4_process()
56 D = ROTL_MD4((D + F_MD4(A, B, C) + W[idx] + C1_MD4[12]), C1_MD4[9]); in md4_process()
58 C = ROTL_MD4((C + F_MD4(D, A, B) + W[idx] + C1_MD4[12]), C1_MD4[10]); in md4_process()
60 B = ROTL_MD4((B + F_MD4(C, D, A) + W[idx] + C1_MD4[12]), C1_MD4[11]); in md4_process()
64 A = ROTL_MD4((A + G_MD4(B, C, D) + W[idx] + C2_MD4[12]), C2_MD4[8]); in md4_process()
66 D = ROTL_MD4((D + G_MD4(A, B, C) + W[idx] + C2_MD4[12]), C2_MD4[9]); in md4_process()
68 C = ROTL_MD4((C + G_MD4(D, A, B) + W[idx] + C2_MD4[12]), C2_MD4[10]); in md4_process()
70 B = ROTL_MD4((B + G_MD4(C, D, A) + W[idx] + C2_MD4[12]), C2_MD4[11]); in md4_process()
74 A = ROTL_MD4((A + H_MD4(B, C, D) + W[idx] + C3_MD4[12]), C3_MD4[8]); in md4_process()
76 D = ROTL_MD4((D + H_MD4(A, B, C) + W[idx] + C3_MD4[12]), C3_MD4[9]); in md4_process()
[all …]
H A Dmd4.h100 #define ROTL_MD4(x, n) ((((u32)(x)) << (n)) | (((u32)(x)) >> (32-(n)))) macro