Lines Matching refs:digest
140 u_int8_t digest[SHA1_RESULTLEN];
153 SHA1Final(digest, &ctxt);
155 /* assumes sizeof(digest) > sizeof(ifid) */
156 bcopy(digest, &in6->s6_addr[8], 8);
175 u_int8_t seed[16], nullbuf[8], digest[SHA1_RESULTLEN];
210 SHA1Final(digest, &ctxt);
214 * Take the left-most 64-bits of the SHA1 digest and set bit 6 (the
217 bcopy(digest, ret, 8);
222 * for simplicity. If the caclculated digest happens to be zero,
236 * Take the next 64-bits of the SHA1 digest and save them in
240 bcopy(&digest[8], seed0, 8);
247 printf("%02x", digest[i]);
683 u_int8_t digest[SHA1_RESULTLEN];
708 SHA1Final(digest, &ctxt);
713 bcopy(digest, &in6->s6_addr32[3], sizeof(in6->s6_addr32[3]));