Lines Matching refs:md_ctx
1213 EVP_MD_CTX md_ctx; in ssl3_get_key_exchange() local
1294 EVP_MD_CTX_init(&md_ctx); in ssl3_get_key_exchange()
1608 EVP_DigestInit_ex(&md_ctx,(num == 2) in ssl3_get_key_exchange()
1610 EVP_DigestUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
1611 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
1612 EVP_DigestUpdate(&md_ctx,param,param_len); in ssl3_get_key_exchange()
1613 EVP_DigestFinal_ex(&md_ctx,q,(unsigned int *)&i); in ssl3_get_key_exchange()
1639 EVP_VerifyInit_ex(&md_ctx,EVP_dss1(), NULL); in ssl3_get_key_exchange()
1640 EVP_VerifyUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
1641 EVP_VerifyUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
1642 EVP_VerifyUpdate(&md_ctx,param,param_len); in ssl3_get_key_exchange()
1643 if (EVP_VerifyFinal(&md_ctx,p,(int)n,pkey) <= 0) in ssl3_get_key_exchange()
1657 EVP_VerifyInit_ex(&md_ctx,EVP_ecdsa(), NULL); in ssl3_get_key_exchange()
1658 EVP_VerifyUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
1659 EVP_VerifyUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
1660 EVP_VerifyUpdate(&md_ctx,param,param_len); in ssl3_get_key_exchange()
1661 if (EVP_VerifyFinal(&md_ctx,p,(int)n,pkey) <= 0) in ssl3_get_key_exchange()
1693 EVP_MD_CTX_cleanup(&md_ctx); in ssl3_get_key_exchange()
1713 EVP_MD_CTX_cleanup(&md_ctx); in ssl3_get_key_exchange()