Lines Matching refs:digest
247 uint8_t *digest; in sha1_result() local
249 digest = (uint8_t *)digest0; in sha1_result()
252 bcopy(&ctxt->h.b8[0], digest, SHA1_RESULTLEN); in sha1_result()
254 digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; in sha1_result()
255 digest[2] = ctxt->h.b8[1]; digest[3] = ctxt->h.b8[0]; in sha1_result()
256 digest[4] = ctxt->h.b8[7]; digest[5] = ctxt->h.b8[6]; in sha1_result()
257 digest[6] = ctxt->h.b8[5]; digest[7] = ctxt->h.b8[4]; in sha1_result()
258 digest[8] = ctxt->h.b8[11]; digest[9] = ctxt->h.b8[10]; in sha1_result()
259 digest[10] = ctxt->h.b8[9]; digest[11] = ctxt->h.b8[8]; in sha1_result()
260 digest[12] = ctxt->h.b8[15]; digest[13] = ctxt->h.b8[14]; in sha1_result()
261 digest[14] = ctxt->h.b8[13]; digest[15] = ctxt->h.b8[12]; in sha1_result()
262 digest[16] = ctxt->h.b8[19]; digest[17] = ctxt->h.b8[18]; in sha1_result()
263 digest[18] = ctxt->h.b8[17]; digest[19] = ctxt->h.b8[16]; in sha1_result()