Lines Matching refs:digest
339 u_char digest[16];
349 MD5Final(&digest[0], (MD5_CTX *)state->foo);
351 bcopy(&digest[0], (void *)addr, sizeof(digest));
460 u_char digest[SHA1_RESULTLEN]; /* SHA-1 generates 160 bits */
471 SHA1Final((caddr_t)&digest[0], ctxt);
472 bcopy(&digest[0], (void *)addr, HMACSIZE);
577 u_char digest[16];
589 MD5Final(&digest[0], ctxt);
593 MD5Update(ctxt, &digest[0], sizeof(digest));
594 MD5Final(&digest[0], ctxt);
596 bcopy(&digest[0], (void *)addr, HMACSIZE);
703 u_char digest[SHA1_RESULTLEN]; /* SHA-1 generates 160 bits */
715 SHA1Final((caddr_t)&digest[0], ctxt);
719 SHA1Update(ctxt, (caddr_t)&digest[0], sizeof(digest));
720 SHA1Final((caddr_t)&digest[0], ctxt);
722 bcopy(&digest[0], (void *)addr, HMACSIZE);
835 u_char digest[SHA256_DIGEST_LENGTH];
847 SHA256_Final((caddr_t)&digest[0], ctxt);
852 SHA256_Update(ctxt, (caddr_t)&digest[0], sizeof(digest));
853 SHA256_Final((caddr_t)&digest[0], ctxt);
855 bcopy(&digest[0], (void *)addr, HMACSIZE);
968 u_char digest[SHA384_DIGEST_LENGTH];
980 SHA384_Final((caddr_t)&digest[0], ctxt);
985 SHA384_Update(ctxt, (caddr_t)&digest[0], sizeof(digest));
986 SHA384_Final((caddr_t)&digest[0], ctxt);
988 bcopy(&digest[0], (void *)addr, HMACSIZE);
1101 u_char digest[SHA512_DIGEST_LENGTH];
1113 SHA512_Final((caddr_t)&digest[0], ctxt);
1118 SHA512_Update(ctxt, (caddr_t)&digest[0], sizeof(digest));
1119 SHA512_Final((caddr_t)&digest[0], ctxt);
1121 bcopy(&digest[0], (void *)addr, HMACSIZE);