Lines Matching refs:msg
44 u32 keyed_hash(const signed char *msg, int len) in keyed_hash() argument
59 a = (u32) msg[0] | in keyed_hash()
60 (u32) msg[1] << 8 | (u32) msg[2] << 16 | (u32) msg[3] << 24; in keyed_hash()
61 b = (u32) msg[4] | in keyed_hash()
62 (u32) msg[5] << 8 | (u32) msg[6] << 16 | (u32) msg[7] << 24; in keyed_hash()
63 c = (u32) msg[8] | in keyed_hash()
64 (u32) msg[9] << 8 | in keyed_hash()
65 (u32) msg[10] << 16 | (u32) msg[11] << 24; in keyed_hash()
66 d = (u32) msg[12] | in keyed_hash()
67 (u32) msg[13] << 8 | in keyed_hash()
68 (u32) msg[14] << 16 | (u32) msg[15] << 24; in keyed_hash()
73 msg += 16; in keyed_hash()
77 a = (u32) msg[0] | in keyed_hash()
78 (u32) msg[1] << 8 | (u32) msg[2] << 16 | (u32) msg[3] << 24; in keyed_hash()
79 b = (u32) msg[4] | in keyed_hash()
80 (u32) msg[5] << 8 | (u32) msg[6] << 16 | (u32) msg[7] << 24; in keyed_hash()
81 c = (u32) msg[8] | in keyed_hash()
82 (u32) msg[9] << 8 | in keyed_hash()
83 (u32) msg[10] << 16 | (u32) msg[11] << 24; in keyed_hash()
88 d |= msg[i]; in keyed_hash()
91 a = (u32) msg[0] | in keyed_hash()
92 (u32) msg[1] << 8 | (u32) msg[2] << 16 | (u32) msg[3] << 24; in keyed_hash()
93 b = (u32) msg[4] | in keyed_hash()
94 (u32) msg[5] << 8 | (u32) msg[6] << 16 | (u32) msg[7] << 24; in keyed_hash()
99 c |= msg[i]; in keyed_hash()
102 a = (u32) msg[0] | in keyed_hash()
103 (u32) msg[1] << 8 | (u32) msg[2] << 16 | (u32) msg[3] << 24; in keyed_hash()
108 b |= msg[i]; in keyed_hash()
114 a |= msg[i]; in keyed_hash()
128 u32 yura_hash(const signed char *msg, int len) in yura_hash() argument
138 a = msg[0] - 48; in yura_hash()
140 a = (msg[0] - 48) * pow; in yura_hash()
143 c = msg[i] - 48; in yura_hash()
167 u32 r5_hash(const signed char *msg, int len) in r5_hash() argument
170 while (*msg) { in r5_hash()
171 a += *msg << 4; in r5_hash()
172 a += *msg >> 4; in r5_hash()
174 msg++; in r5_hash()