Lines Matching refs:InternalState

69   (InternalState.block[(n)] = (MD5_u32plus)ptr[(n)*4] |                        \
73 #define GET(n) (InternalState.block[(n)])
87 a = InternalState.a; in body()
88 b = InternalState.b; in body()
89 c = InternalState.c; in body()
90 d = InternalState.d; in body()
178 InternalState.a = a; in body()
179 InternalState.b = b; in body()
180 InternalState.c = c; in body()
181 InternalState.d = d; in body()
195 saved_lo = InternalState.lo; in update()
196 if ((InternalState.lo = (saved_lo + Size) & 0x1fffffff) < saved_lo) in update()
197 InternalState.hi++; in update()
198 InternalState.hi += Size >> 29; in update()
206 memcpy(&InternalState.buffer[used], Ptr, Size); in update()
210 memcpy(&InternalState.buffer[used], Ptr, free); in update()
213 body(makeArrayRef(InternalState.buffer, 64)); in update()
221 memcpy(InternalState.buffer, Ptr, Size); in update()
237 used = InternalState.lo & 0x3f; in final()
239 InternalState.buffer[used++] = 0x80; in final()
244 memset(&InternalState.buffer[used], 0, free); in final()
245 body(makeArrayRef(InternalState.buffer, 64)); in final()
250 memset(&InternalState.buffer[used], 0, free - 8); in final()
252 InternalState.lo <<= 3; in final()
253 support::endian::write32le(&InternalState.buffer[56], InternalState.lo); in final()
254 support::endian::write32le(&InternalState.buffer[60], InternalState.hi); in final()
256 body(makeArrayRef(InternalState.buffer, 64)); in final()
258 support::endian::write32le(&Result[0], InternalState.a); in final()
259 support::endian::write32le(&Result[4], InternalState.b); in final()
260 support::endian::write32le(&Result[8], InternalState.c); in final()
261 support::endian::write32le(&Result[12], InternalState.d); in final()
271 auto StateToRestore = InternalState; in result()
276 InternalState = StateToRestore; in result()