Lines Matching refs:group_id

609     unsigned int group_id;  in tls_parse_ctos_key_share()  local
644 if (s->s3.group_id != 0 && PACKET_remaining(&key_share_list) == 0) { in tls_parse_ctos_key_share()
655 if (!PACKET_get_net_2(&key_share_list, &group_id) in tls_parse_ctos_key_share()
673 if (s->s3.group_id != 0 in tls_parse_ctos_key_share()
674 && (group_id != s->s3.group_id in tls_parse_ctos_key_share()
681 if (!check_in_list(s, group_id, clntgroups, clnt_num_groups, 0)) { in tls_parse_ctos_key_share()
687 if (!check_in_list(s, group_id, srvrgroups, srvr_num_groups, 1) in tls_parse_ctos_key_share()
688 || !tls_group_allowed(s, group_id, SSL_SECOP_CURVE_SUPPORTED) in tls_parse_ctos_key_share()
693 || !tls_valid_group(s, group_id, TLS1_3_VERSION, TLS1_3_VERSION, in tls_parse_ctos_key_share()
699 s->s3.group_id = group_id; in tls_parse_ctos_key_share()
701 s->session->kex_group = group_id; in tls_parse_ctos_key_share()
703 if ((s->s3.peer_tmp = ssl_generate_param_group(s, group_id)) == NULL) { in tls_parse_ctos_key_share()
727 unsigned int format, version, key_share, group_id; in tls_parse_ctos_cookie() local
817 if (!PACKET_get_net_2(&cookie, &group_id)) { in tls_parse_ctos_cookie()
827 if (group_id != s->s3.group_id in tls_parse_ctos_cookie()
896 || !WPACKET_put_bytes_u16(&hrrpkt, s->s3.group_id) in tls_parse_ctos_cookie()
1391 if (s->s3.group_id == 0) in tls_construct_stoc_supported_groups()
1413 if (s->s3.group_id == group) in tls_construct_stoc_supported_groups()
1656 || !WPACKET_put_bytes_u16(pkt, s->s3.group_id) in tls_construct_stoc_key_share()
1686 || !WPACKET_put_bytes_u16(pkt, s->s3.group_id)) { in tls_construct_stoc_key_share()
1692 s->s3.group_id)) == NULL) { in tls_construct_stoc_key_share()
1805 || !WPACKET_put_bytes_u16(pkt, s->s3.group_id) in tls_construct_stoc_cookie()