Lines Matching defs:md_ctx
1159 EVP_MD_CTX md_ctx;
1161 EVP_MD_CTX_init(&md_ctx);
1462 EVP_DigestInit_ex(&md_ctx,(num == 2)
1464 EVP_DigestUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE);
1465 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE);
1466 EVP_DigestUpdate(&md_ctx,&(d[4]),n);
1467 EVP_DigestFinal_ex(&md_ctx,q,
1487 EVP_SignInit_ex(&md_ctx,EVP_dss1(), NULL);
1488 EVP_SignUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE);
1489 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE);
1490 EVP_SignUpdate(&md_ctx,&(d[4]),n);
1491 if (!EVP_SignFinal(&md_ctx,&(p[2]),
1506 EVP_SignInit_ex(&md_ctx,EVP_ecdsa(), NULL);
1507 EVP_SignUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE);
1508 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE);
1509 EVP_SignUpdate(&md_ctx,&(d[4]),n);
1510 if (!EVP_SignFinal(&md_ctx,&(p[2]),
1539 EVP_MD_CTX_cleanup(&md_ctx);
1548 EVP_MD_CTX_cleanup(&md_ctx);