Lines Matching defs:digest
281 /* Store the digest into hd->buf. */
301 this key; with KEY given as NULL, a plain SHA-256 digest is
381 /* Update the message digest with the contents of BUFFER containing
424 /* Finalize an operation and return the digest. If R_DLEN is not NULL
425 the length of the digest will be stored at that address. The
469 const unsigned char *digest;
505 digest = _gcry_hmac256_finalize (hd, &digestlen);
506 if (!digest)
518 memcpy (result, digest, digestlen);
620 const unsigned char *digest;
627 digest = _gcry_hmac256_finalize (hmachd, &dlen);
628 if (!digest)
634 || memcmp (digest, tv[tvidx].expect, sizeof (tv[tvidx].expect)))
655 const unsigned char *digest;
755 digest = _gcry_hmac256_finalize (hd, &dlen);
756 if (!digest)
764 if (fwrite (digest, dlen, 1, stdout) != 1)
774 printf ("%02x", digest[idx]);