H A D | sha1.c | 57 #define SHA_ROUND(t, input, fn, constant, A, B, C, D, E) do { \ argument 61 TEMP = E; E = D; D = C; C = B; B = A; A = TEMP; } while (0) 63 #define T_0_15(t, A, B, C, D, E) SHA_ROUND(t, SHA_SRC, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument 64 #define T_16_19(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument 65 #define T_20_39(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0x6ed9eba1, A, B, C, D, E ) argument 66 #define T_40_59(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, ((B&C)+(D&(B^C))) , 0x8f1bbcdc, A, B, C, D,… argument 67 #define T_60_79(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0xca62c1d6, A, B, C, D, E ) argument 89 __u32 A, B, C, D, E; in sha1_transform() local 95 D = digest[3]; in sha1_transform() 100 T_0_15(i, A, B, C, D, E); in sha1_transform() [all …]
|