Home
last modified time | relevance | path

Searched refs:curve_id (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/ssl/
Dt1_lib.c339 uint16_t curve_id; member
363 int tls1_ec_curve_id2nid(uint16_t curve_id) { in tls1_ec_curve_id2nid() argument
366 if (curve_id == tls_curves[i].curve_id) { in tls1_ec_curve_id2nid()
377 *out_curve_id = tls_curves[i].curve_id; in tls1_ec_nid2curve_id()
409 uint16_t curve_id; in tls1_check_curve() local
416 !CBS_get_u16(cbs, &curve_id)) { in tls1_check_curve()
422 if (curve_id == curves[i]) { in tls1_check_curve()
423 *out_curve_id = curve_id; in tls1_check_curve()
563 static int tls1_check_curve_id(SSL *s, uint16_t curve_id) { in tls1_check_curve_id() argument
583 if (curves[i] == curve_id) { in tls1_check_curve_id()
[all …]
Ds3_srvr.c1245 uint16_t curve_id = 0; in ssl3_send_server_key_exchange() local
1354 if (!tls1_ec_nid2curve_id(&curve_id, EC_GROUP_get_curve_name(group))) { in ssl3_send_server_key_exchange()
1452 *(p++) = (uint8_t)(curve_id >> 8); in ssl3_send_server_key_exchange()
1453 *(p++) = (uint8_t)(curve_id & 0xff); in ssl3_send_server_key_exchange()
Ds3_clnt.c1206 uint16_t curve_id; in ssl3_get_server_key_exchange() local
1214 if (!tls1_check_curve(s, &server_key_exchange, &curve_id)) { in ssl3_get_server_key_exchange()
1220 curve_nid = tls1_ec_curve_id2nid(curve_id); in ssl3_get_server_key_exchange()
Dinternal.h1033 int tls1_ec_curve_id2nid(uint16_t curve_id);