Lines Matching refs:digest
376 unsigned char digest[PREFIXLEN + ISC_SHA512_DIGESTLENGTH];
412 isc_md5_final(md5ctx, digest);
422 isc_sha1_final(sha1ctx, digest);
431 isc_sha256_final(digest, sha256ctx);
445 isc_sha512_final(digest, sha512ctx);
465 status = RSA_sign(type, digest, digestlen, r.base,
473 INSIST(prefixlen + digestlen <= sizeof(digest));
475 memmove(digest + prefixlen, digest, digestlen);
476 memmove(digest, prefix, prefixlen);
478 digest, r.base, rsa,
491 status = RSA_sign(type, digest, digestlen, r.base, &siglen, rsa);
513 unsigned char digest[ISC_SHA512_DIGESTLENGTH];
547 isc_md5_final(md5ctx, digest);
557 isc_sha1_final(sha1ctx, digest);
566 isc_sha256_final(digest, sha256ctx);
580 isc_sha512_final(digest, sha512ctx);
603 status = RSA_verify(type, digest, digestlen, sig->base,
634 if (memcmp(original + prefixlen, digest, digestlen))
645 status = RSA_verify(type, digest, digestlen, sig->base,