Lines Matching refs:md_ctx
1358 EVP_MD_CTX md_ctx;
1444 EVP_MD_CTX_init(&md_ctx);
1993 EVP_MD_CTX_set_flags(&md_ctx,
1995 EVP_DigestInit_ex(&md_ctx,(num == 2)
1997 EVP_DigestUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE);
1998 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE);
1999 EVP_DigestUpdate(&md_ctx,param,param_len);
2000 EVP_DigestFinal_ex(&md_ctx,q,&size);
2023 EVP_VerifyInit_ex(&md_ctx, md, NULL);
2024 EVP_VerifyUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE);
2025 EVP_VerifyUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE);
2026 EVP_VerifyUpdate(&md_ctx,param,param_len);
2027 if (EVP_VerifyFinal(&md_ctx,p,(int)n,pkey) <= 0)
2053 EVP_MD_CTX_cleanup(&md_ctx);
2073 EVP_MD_CTX_cleanup(&md_ctx);
3637 EVP_MD_CTX md_ctx;
3670 EVP_MD_CTX_init(&md_ctx);
3696 if (EVP_DigestSignInit(&md_ctx, NULL, EVP_sha256(), NULL,
3703 if (!tls1_channel_id_hash(&md_ctx, s))
3706 if (!EVP_DigestSignFinal(&md_ctx, NULL, &sig_len))
3719 if (!EVP_DigestSignFinal(&md_ctx, der_sig, &sig_len))
3749 EVP_MD_CTX_cleanup(&md_ctx);