Searched refs:curve_id (Results 1 – 4 of 4) sorted by relevance
/openssl/ssl/statem/ |
H A D | extensions_clnt.c | 629 static int add_key_share(SSL_CONNECTION *s, WPACKET *pkt, unsigned int curve_id) in add_key_share() argument 645 key_share_key = ssl_generate_pkey_group(s, curve_id); in add_key_share() 661 if (!WPACKET_put_bytes_u16(pkt, curve_id) in add_key_share() 673 s->s3.group_id = curve_id; in add_key_share() 692 uint16_t curve_id = 0; in tls_construct_ctos_key_share() local 711 curve_id = s->s3.group_id; in tls_construct_ctos_key_share() 721 curve_id = pgroups[i]; in tls_construct_ctos_key_share() 726 if (curve_id == 0) { in tls_construct_ctos_key_share() 731 if (!add_key_share(s, pkt, curve_id)) { in tls_construct_ctos_key_share()
|
H A D | statem_srvr.c | 2522 int curve_id = 0; in tls_construct_server_key_exchange() local 2619 curve_id = tls1_shared_group(s, -2); in tls_construct_server_key_exchange() 2620 if (curve_id == 0) { in tls_construct_server_key_exchange() 2626 s->session->kex_group = curve_id; in tls_construct_server_key_exchange() 2628 s->s3.tmp.pkey = ssl_generate_pkey_group(s, curve_id); in tls_construct_server_key_exchange() 2747 || !WPACKET_put_bytes_u8(pkt, curve_id) in tls_construct_server_key_exchange()
|
H A D | statem_clnt.c | 2348 unsigned int curve_type, curve_id; in tls_process_ske_ecdhe() local 2355 if (!PACKET_get_1(pkt, &curve_type) || !PACKET_get_net_2(pkt, &curve_id)) { in tls_process_ske_ecdhe() 2364 || !tls1_check_group_id(s, curve_id, 1)) { in tls_process_ske_ecdhe() 2369 if ((s->s3.peer_tmp = ssl_generate_param_group(s, curve_id)) == NULL) { in tls_process_ske_ecdhe() 2399 s->session->kex_group = curve_id; in tls_process_ske_ecdhe()
|
/openssl/ssl/ |
H A D | ssl_local.h | 2789 __owur const TLS_GROUP_INFO *tls1_group_id_lookup(SSL_CTX *ctx, uint16_t curve_id);
|
Completed in 38 milliseconds