Lines Matching refs:md_ctx
166 + EVP_MD_CTX md_ctx;
199 + EVP_MD_CTX_init(&md_ctx);
225 + if (EVP_DigestSignInit(&md_ctx, NULL, EVP_sha256(), NULL,
232 + if (!tls1_channel_id_hash(&md_ctx, s))
235 + if (!EVP_DigestSignFinal(&md_ctx, NULL, &sig_len))
248 + if (!EVP_DigestSignFinal(&md_ctx, der_sig, &sig_len))
278 + EVP_MD_CTX_cleanup(&md_ctx);
556 + EVP_MD_CTX md_ctx;
559 + EVP_MD_CTX_init(&md_ctx);
560 + EVP_DigestInit_ex(&md_ctx, EVP_sha256(), NULL);
561 + if (!tls1_channel_id_hash(&md_ctx, s))
564 + EVP_DigestFinal(&md_ctx, s->s3->tlsext_channel_id, &len);
565 + EVP_MD_CTX_cleanup(&md_ctx);