Lines Matching refs:curves
410 const uint16_t *curves; in tls1_check_curve() local
420 tls1_get_curvelist(s, 0, &curves, &curves_len); in tls1_check_curve()
422 if (curve_id == curves[i]) { in tls1_check_curve()
432 const uint16_t *curves, *peer_curves, *pref, *supp; in tls1_get_shared_curve() local
440 tls1_get_curvelist(s, 0 /* local curves */, &curves, &curves_len); in tls1_get_shared_curve()
447 return (curves_len == 0) ? NID_undef : tls1_ec_curve_id2nid(curves[0]); in tls1_get_shared_curve()
451 pref = curves; in tls1_get_shared_curve()
458 supp = curves; in tls1_get_shared_curve()
474 const int *curves, size_t ncurves) { in tls1_set_curves() argument
484 if (!tls1_ec_nid2curve_id(&curve_ids[i], curves[i])) { in tls1_set_curves()
564 const uint16_t *curves; in tls1_check_curve_id() local
575 tls1_get_curvelist(s, get_peer_curves, &curves, &curves_len); in tls1_check_curve_id()
583 if (curves[i] == curve_id) { in tls1_check_curve_id()
1031 const uint16_t *curves; in ssl_add_clienthello_tlsext() local
1055 tls1_get_curvelist(s, 0, &curves, &curves_len); in ssl_add_clienthello_tlsext()
1074 s2n(curves[i], ret); in ssl_add_clienthello_tlsext()