Lines Matching refs:md
227 EVP_MD_CTX md;
356 EVP_MD_CTX_init(&md);
363 EVP_DigestInit_ex(&md, EVP_md5(), NULL);
364 EVP_DigestUpdate(&md, key, j);
365 EVP_DigestUpdate(&md, er1, SSL3_RANDOM_SIZE);
366 EVP_DigestUpdate(&md, er2, SSL3_RANDOM_SIZE);
367 EVP_DigestFinal_ex(&md, &(exp_key[0]), NULL);
371 EVP_DigestInit_ex(&md, EVP_md5(), NULL);
372 EVP_DigestUpdate(&md, er1, SSL3_RANDOM_SIZE);
373 EVP_DigestUpdate(&md, er2, SSL3_RANDOM_SIZE);
374 EVP_DigestFinal_ex(&md, &(exp_iv[0]), NULL);
402 EVP_MD_CTX_cleanup(&md);
602 const EVP_MD *md;
622 for (i = 0; ssl_get_handshake_digest(i, &mask, &md); i++) {
623 if ((mask & ssl_get_algorithm2(s)) && md) {
626 if (EVP_MD_nid(md) == NID_md5) {
631 if (!EVP_DigestInit_ex(s->s3->handshake_dgst[i], md, NULL)
729 int n_ssl3_mac(SSL *ssl, unsigned char *md, int send)
795 md, &md_size,
806 p = md;
813 || EVP_DigestUpdate(&md_ctx, md, 2) <= 0
815 || EVP_DigestFinal_ex(&md_ctx, md, NULL) <= 0
819 || EVP_DigestUpdate(&md_ctx, md, md_size) <= 0
820 || EVP_DigestFinal_ex(&md_ctx, md, &md_size_u) <= 0) {