Lines Matching refs:digest
2 * digest support for NTP, MD5 and with OpenSSL more
43 * Allocate and initialize a digest context. As a speed optimization,
75 const rwbuffT * digest,
82 * Compute digest of key concatenated with packet. Note: the
83 * key type and digest type have been verified when the key
115 if (cmac_ctx_size(ctx) > digest->len) {
123 if (!CMAC_Final(ctx, digest->buf, &retlen)) {
141 if ((size_t)EVP_MD_CTX_size(ctx) > digest->len) {
156 if (!EVP_DigestFinal(ctx, digest->buf, &uilen)) {
171 if (digest->len < MD5_LENGTH) {
177 MD5Final(digest->buf, ctx);
191 * MD5authencrypt - generate message digest
204 u_char digest[EVP_MAX_MD_SIZE];
205 rwbuffT digb = { digest, sizeof(digest) };
214 memcpy((u_char *)pkt + length + KEY_MAC_LEN, digest,
223 * Returns one if digest valid, zero if invalid.
236 u_char digest[EVP_MAX_MD_SIZE];
237 rwbuffT digb = { digest, sizeof(digest) };
249 return !isc_tsmemcmp(digest,
274 u_char digest[MD5_DIGEST_LENGTH];
284 MD5Final(u.digest, &md5_ctx);