Lines Matching defs:md
482 EVP_MD_CTX md;
489 fatal("bad kex md size %d", mdsz);
496 EVP_DigestInit(&md, kex->evp_md);
498 EVP_DigestUpdate(&md, buffer_ptr(&b), buffer_len(&b));
499 EVP_DigestUpdate(&md, hash, hashlen);
500 EVP_DigestUpdate(&md, &c, 1);
501 EVP_DigestUpdate(&md, kex->session_id, kex->session_id_len);
502 EVP_DigestFinal(&md, digest, NULL);
510 EVP_DigestInit(&md, kex->evp_md);
512 EVP_DigestUpdate(&md, buffer_ptr(&b), buffer_len(&b));
513 EVP_DigestUpdate(&md, hash, hashlen);
514 EVP_DigestUpdate(&md, digest, have);
515 EVP_DigestFinal(&md, digest + have, NULL);
566 EVP_MD_CTX md;
570 EVP_DigestInit(&md, evp_md);
576 EVP_DigestUpdate(&md, nbuf, len);
582 EVP_DigestUpdate(&md, nbuf, len);
584 EVP_DigestUpdate(&md, cookie, 8);
586 EVP_DigestFinal(&md, obuf, NULL);
591 memset(&md, 0, sizeof(md));