Lines Matching refs:ecdh
2984 if (s->s3->tmp.ecdh != NULL) in ssl3_free()
2985 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_free()
3034 if (s->s3->tmp.ecdh != NULL) in ssl3_clear()
3036 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_clear()
3037 s->s3->tmp.ecdh = NULL; in ssl3_clear()
3202 EC_KEY *ecdh = NULL; in ssl3_ctrl() local
3214 ecdh = (EC_KEY *)parg; in ssl3_ctrl()
3217 if (!EC_KEY_generate_key(ecdh)) in ssl3_ctrl()
3219 EC_KEY_free(ecdh); in ssl3_ctrl()
3226 s->cert->ecdh_tmp = ecdh; in ssl3_ctrl()
3505 EC_KEY *ecdh = NULL; in ssl3_ctx_ctrl() local
3512 ecdh = EC_KEY_dup((EC_KEY *)parg); in ssl3_ctx_ctrl()
3513 if (ecdh == NULL) in ssl3_ctx_ctrl()
3520 if (!EC_KEY_generate_key(ecdh)) in ssl3_ctx_ctrl()
3522 EC_KEY_free(ecdh); in ssl3_ctx_ctrl()
3532 cert->ecdh_tmp = ecdh; in ssl3_ctx_ctrl()