/lib/ |
D | halfmd4.c | 16 #define ROUND(f, a, b, c, d, x, s) \ argument 17 (a += f(b, c, d) + x, a = (a << s) | (a >> (32 - s))) 27 __u32 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; in half_md4_transform() local 30 ROUND(F, a, b, c, d, in[0] + K1, 3); in half_md4_transform() 31 ROUND(F, d, a, b, c, in[1] + K1, 7); in half_md4_transform() 32 ROUND(F, c, d, a, b, in[2] + K1, 11); in half_md4_transform() 33 ROUND(F, b, c, d, a, in[3] + K1, 19); in half_md4_transform() 34 ROUND(F, a, b, c, d, in[4] + K1, 3); in half_md4_transform() 35 ROUND(F, d, a, b, c, in[5] + K1, 7); in half_md4_transform() 36 ROUND(F, c, d, a, b, in[6] + K1, 11); in half_md4_transform() [all …]
|
D | sha1.c | 41 __u32 a, b, c, d, e, t, i; in sha_transform() local 52 d = digest[3]; in sha_transform() 56 t = f1(b, c, d) + K1 + rol32(a, 5) + e + W[i]; in sha_transform() 57 e = d; d = c; c = rol32(b, 30); b = a; a = t; in sha_transform() 61 t = f2(b, c, d) + K2 + rol32(a, 5) + e + W[i]; in sha_transform() 62 e = d; d = c; c = rol32(b, 30); b = a; a = t; in sha_transform() 66 t = f3(b, c, d) + K3 + rol32(a, 5) + e + W[i]; in sha_transform() 67 e = d; d = c; c = rol32(b, 30); b = a; a = t; in sha_transform() 71 t = f2(b, c, d) + K4 + rol32(a, 5) + e + W[i]; in sha_transform() 72 e = d; d = c; c = rol32(b, 30); b = a; a = t; in sha_transform() [all …]
|
D | div64.c | 29 uint64_t res, d = 1; in __div64_32() local 42 d = d+d; in __div64_32() 48 res += d; in __div64_32() 51 d >>= 1; in __div64_32() 52 } while (d); in __div64_32() 84 u32 high, d; in div64_u64() local 90 d = divisor >> shift; in div64_u64() 93 d = divisor; in div64_u64() 95 return div_u64(dividend, d); in div64_u64()
|
D | inflate.c | 322 const ush *d, /* list of base values for non-simple codes */ in huft_build() argument 526 r.v.n = d[*p++ - s]; in huft_build() 595 unsigned n, d; /* length and index for copy */ in inflate_codes() local 656 d = w - t->v.n - ((unsigned)b & mask_bits[e]); in inflate_codes() 658 Tracevv((stderr,"\\[%d,%d]", w-d, n)); in inflate_codes() 662 n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); in inflate_codes() 664 if (w - d >= e) /* (this test assumes unsigned comparison) */ in inflate_codes() 666 memcpy(slide + w, slide + d, e); in inflate_codes() 668 d += e; in inflate_codes() 673 slide[w++] = slide[d++]; in inflate_codes()
|
D | random32.c | 50 #define TAUSWORTHE(s,a,b,c,d) ((s&c)<<d) ^ (((s <<a) ^ s)>>b) in __random32() argument
|
D | ts_fsm.c | 130 static inline int match_token(struct ts_fsm_token *t, u8 d) in match_token() argument 133 return (token_lookup_tbl[d] & t->type) != 0; in match_token() 135 return t->value == d; in match_token()
|
D | bitmap.c | 1010 unsigned long *d = dst; in bitmap_copy_le() local 1015 d[i] = cpu_to_le64(src[i]); in bitmap_copy_le() 1017 d[i] = cpu_to_le32(src[i]); in bitmap_copy_le()
|