Lines Matching refs:digestlen
379 unsigned int digestlen = 0;
414 digestlen = ISC_MD5_DIGESTLENGTH;
424 digestlen = ISC_SHA1_DIGESTLENGTH;
432 digestlen = ISC_SHA256_DIGESTLENGTH;
446 digestlen = ISC_SHA512_DIGESTLENGTH;
465 status = RSA_sign(type, digest, digestlen, r.base,
473 INSIST(prefixlen + digestlen <= sizeof(digest));
475 memmove(digest + prefixlen, digest, digestlen);
477 status = RSA_private_encrypt(digestlen + prefixlen,
491 status = RSA_sign(type, digest, digestlen, r.base, &siglen, rsa);
515 unsigned int digestlen = 0;
549 digestlen = ISC_MD5_DIGESTLENGTH;
559 digestlen = ISC_SHA1_DIGESTLENGTH;
567 digestlen = ISC_SHA256_DIGESTLENGTH;
581 digestlen = ISC_SHA512_DIGESTLENGTH;
603 status = RSA_verify(type, digest, digestlen, sig->base,
630 if (status != (int)(prefixlen + digestlen))
634 if (memcmp(original + prefixlen, digest, digestlen))
645 status = RSA_verify(type, digest, digestlen, sig->base,