Lines Matching full:b8
44 unsigned char b8[20]; member
48 unsigned char b8[8]; member
52 unsigned char b8[64]; member
87 ctxt->m.b8[(COUNT % 64)] = (x); \
96 ctxt->m.b8[(COUNT % 64)] = (x); \
113 memcpy(&tctxt.m.b8[0], &ctxt->m.b8[0], 64); in sha1_step()
114 ctxt->m.b8[0] = tctxt.m.b8[3]; ctxt->m.b8[1] = tctxt.m.b8[2]; in sha1_step()
115 ctxt->m.b8[2] = tctxt.m.b8[1]; ctxt->m.b8[3] = tctxt.m.b8[0]; in sha1_step()
116 ctxt->m.b8[4] = tctxt.m.b8[7]; ctxt->m.b8[5] = tctxt.m.b8[6]; in sha1_step()
117 ctxt->m.b8[6] = tctxt.m.b8[5]; ctxt->m.b8[7] = tctxt.m.b8[4]; in sha1_step()
118 ctxt->m.b8[8] = tctxt.m.b8[11]; ctxt->m.b8[9] = tctxt.m.b8[10]; in sha1_step()
119 ctxt->m.b8[10] = tctxt.m.b8[9]; ctxt->m.b8[11] = tctxt.m.b8[8]; in sha1_step()
120 ctxt->m.b8[12] = tctxt.m.b8[15]; ctxt->m.b8[13] = tctxt.m.b8[14]; in sha1_step()
121 ctxt->m.b8[14] = tctxt.m.b8[13]; ctxt->m.b8[15] = tctxt.m.b8[12]; in sha1_step()
122 ctxt->m.b8[16] = tctxt.m.b8[19]; ctxt->m.b8[17] = tctxt.m.b8[18]; in sha1_step()
123 ctxt->m.b8[18] = tctxt.m.b8[17]; ctxt->m.b8[19] = tctxt.m.b8[16]; in sha1_step()
124 ctxt->m.b8[20] = tctxt.m.b8[23]; ctxt->m.b8[21] = tctxt.m.b8[22]; in sha1_step()
125 ctxt->m.b8[22] = tctxt.m.b8[21]; ctxt->m.b8[23] = tctxt.m.b8[20]; in sha1_step()
126 ctxt->m.b8[24] = tctxt.m.b8[27]; ctxt->m.b8[25] = tctxt.m.b8[26]; in sha1_step()
127 ctxt->m.b8[26] = tctxt.m.b8[25]; ctxt->m.b8[27] = tctxt.m.b8[24]; in sha1_step()
128 ctxt->m.b8[28] = tctxt.m.b8[31]; ctxt->m.b8[29] = tctxt.m.b8[30]; in sha1_step()
129 ctxt->m.b8[30] = tctxt.m.b8[29]; ctxt->m.b8[31] = tctxt.m.b8[28]; in sha1_step()
130 ctxt->m.b8[32] = tctxt.m.b8[35]; ctxt->m.b8[33] = tctxt.m.b8[34]; in sha1_step()
131 ctxt->m.b8[34] = tctxt.m.b8[33]; ctxt->m.b8[35] = tctxt.m.b8[32]; in sha1_step()
132 ctxt->m.b8[36] = tctxt.m.b8[39]; ctxt->m.b8[37] = tctxt.m.b8[38]; in sha1_step()
133 ctxt->m.b8[38] = tctxt.m.b8[37]; ctxt->m.b8[39] = tctxt.m.b8[36]; in sha1_step()
134 ctxt->m.b8[40] = tctxt.m.b8[43]; ctxt->m.b8[41] = tctxt.m.b8[42]; in sha1_step()
135 ctxt->m.b8[42] = tctxt.m.b8[41]; ctxt->m.b8[43] = tctxt.m.b8[40]; in sha1_step()
136 ctxt->m.b8[44] = tctxt.m.b8[47]; ctxt->m.b8[45] = tctxt.m.b8[46]; in sha1_step()
137 ctxt->m.b8[46] = tctxt.m.b8[45]; ctxt->m.b8[47] = tctxt.m.b8[44]; in sha1_step()
138 ctxt->m.b8[48] = tctxt.m.b8[51]; ctxt->m.b8[49] = tctxt.m.b8[50]; in sha1_step()
139 ctxt->m.b8[50] = tctxt.m.b8[49]; ctxt->m.b8[51] = tctxt.m.b8[48]; in sha1_step()
140 ctxt->m.b8[52] = tctxt.m.b8[55]; ctxt->m.b8[53] = tctxt.m.b8[54]; in sha1_step()
141 ctxt->m.b8[54] = tctxt.m.b8[53]; ctxt->m.b8[55] = tctxt.m.b8[52]; in sha1_step()
142 ctxt->m.b8[56] = tctxt.m.b8[59]; ctxt->m.b8[57] = tctxt.m.b8[58]; in sha1_step()
143 ctxt->m.b8[58] = tctxt.m.b8[57]; ctxt->m.b8[59] = tctxt.m.b8[56]; in sha1_step()
144 ctxt->m.b8[60] = tctxt.m.b8[63]; ctxt->m.b8[61] = tctxt.m.b8[62]; in sha1_step()
145 ctxt->m.b8[62] = tctxt.m.b8[61]; ctxt->m.b8[63] = tctxt.m.b8[60]; in sha1_step()
187 memset(&ctxt->m.b8[0], 0, 64); in sha1_step()
214 memset(&ctxt->m.b8[padstart], 0, padlen); in sha1_pad()
221 memset(&ctxt->m.b8[padstart], 0, padlen - 8); in sha1_pad()
225 PUTPAD(ctxt->c.b8[0]); PUTPAD(ctxt->c.b8[1]); in sha1_pad()
226 PUTPAD(ctxt->c.b8[2]); PUTPAD(ctxt->c.b8[3]); in sha1_pad()
227 PUTPAD(ctxt->c.b8[4]); PUTPAD(ctxt->c.b8[5]); in sha1_pad()
228 PUTPAD(ctxt->c.b8[6]); PUTPAD(ctxt->c.b8[7]); in sha1_pad()
230 PUTPAD(ctxt->c.b8[7]); PUTPAD(ctxt->c.b8[6]); in sha1_pad()
231 PUTPAD(ctxt->c.b8[5]); PUTPAD(ctxt->c.b8[4]); in sha1_pad()
232 PUTPAD(ctxt->c.b8[3]); PUTPAD(ctxt->c.b8[2]); in sha1_pad()
233 PUTPAD(ctxt->c.b8[1]); PUTPAD(ctxt->c.b8[0]); in sha1_pad()
248 memcpy(&ctxt->m.b8[gapstart], &input[off], copysiz); in sha1_loop()
266 memcpy(digest, &ctxt->h.b8[0], 20); in sha1_result()
268 digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; in sha1_result()
269 digest[2] = ctxt->h.b8[1]; digest[3] = ctxt->h.b8[0]; in sha1_result()
270 digest[4] = ctxt->h.b8[7]; digest[5] = ctxt->h.b8[6]; in sha1_result()
271 digest[6] = ctxt->h.b8[5]; digest[7] = ctxt->h.b8[4]; in sha1_result()
272 digest[8] = ctxt->h.b8[11]; digest[9] = ctxt->h.b8[10]; in sha1_result()
273 digest[10] = ctxt->h.b8[9]; digest[11] = ctxt->h.b8[8]; in sha1_result()
274 digest[12] = ctxt->h.b8[15]; digest[13] = ctxt->h.b8[14]; in sha1_result()
275 digest[14] = ctxt->h.b8[13]; digest[15] = ctxt->h.b8[12]; in sha1_result()
276 digest[16] = ctxt->h.b8[19]; digest[17] = ctxt->h.b8[18]; in sha1_result()
277 digest[18] = ctxt->h.b8[17]; digest[19] = ctxt->h.b8[16]; in sha1_result()