Home
last modified time | relevance | path

Searched refs:group_id (Results 1 – 15 of 15) sorted by relevance

/openssl/ssl/statem/
H A Dextensions_srvr.c609 unsigned int group_id; in tls_parse_ctos_key_share() local
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()
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()
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()
1391 if (s->s3.group_id == 0) in tls_construct_stoc_supported_groups()
[all …]
H A Dextensions_clnt.c673 s->s3.group_id = curve_id; in add_key_share()
710 if (s->s3.group_id != 0) { in tls_construct_ctos_key_share()
711 curve_id = s->s3.group_id; in tls_construct_ctos_key_share()
1835 unsigned int group_id; in tls_parse_stoc_key_share() local
1846 if (!PACKET_get_net_2(pkt, &group_id)) { in tls_parse_stoc_key_share()
1864 if (group_id == s->s3.group_id) { in tls_parse_stoc_key_share()
1872 if (group_id == pgroups[i]) in tls_parse_stoc_key_share()
1883 s->s3.group_id = group_id; in tls_parse_stoc_key_share()
1889 if (group_id != s->s3.group_id) { in tls_parse_stoc_key_share()
1899 s->session->kex_group = group_id; in tls_parse_stoc_key_share()
[all …]
H A Dextensions.c1455 unsigned int group_id = 0; in final_key_share() local
1467 group_id = pgroups[i]; in final_key_share()
1469 if (check_in_list(s, group_id, clntgroups, clnt_num_groups, in final_key_share()
1471 && tls_group_allowed(s, group_id, in final_key_share()
1473 && tls_valid_group(s, group_id, TLS1_3_VERSION, in final_key_share()
1480 s->s3.group_id = group_id; in final_key_share()
H A Dstatem_local.h68 int check_in_list(SSL_CONNECTION *s, uint16_t group_id, const uint16_t *groups,
H A Dstatem_lib.c2580 int check_in_list(SSL_CONNECTION *s, uint16_t group_id, const uint16_t *groups, in check_in_list() argument
2591 if (group_id == group in check_in_list()
/openssl/ssl/
H A Dt1_lib.c145 uint16_t group_id; member
290 ginf->group_id = (uint16_t)gid; in add_provider_groups()
742 return ctx->group_list[i].group_id; in tls1_group_name2id()
753 if (ctx->group_list[i].group_id == group_id) in tls1_group_id_lookup()
774 if (group_id == 0) in tls1_group_id2nid()
783 if (nid_to_group[i].group_id == group_id) in tls1_group_id2nid()
788 return TLSEXT_nid_unknown | (int)group_id; in tls1_group_id2nid()
802 return nid_to_group[i].group_id; in tls1_nid2group_id()
1195 if (group_id == 0) in tls1_check_group_id()
1325 uint16_t group_id; in tls1_check_cert_param() local
[all …]
H A Dt1_trce.c854 int group_id; in ssl_print_extension() local
857 group_id = (ext[0] << 8) | ext[1]; in ssl_print_extension()
860 ssl_trace_str(group_id, ssl_groups_tbl), group_id); in ssl_print_extension()
874 int group_id; in ssl_print_extension() local
878 group_id = (ext[0] << 8) | ext[1]; in ssl_print_extension()
886 ssl_trace_str(group_id, ssl_groups_tbl), group_id); in ssl_print_extension()
H A Dssl_local.h747 uint16_t group_id; /* Group ID */ member
1434 uint16_t group_id; member
2790 __owur const char *tls1_group_id2name(SSL_CTX *ctx, uint16_t group_id);
2791 __owur int tls1_group_id2nid(uint16_t group_id, int include_unknown);
2793 __owur int tls1_check_group_id(SSL_CONNECTION *s, uint16_t group_id,
2801 __owur int tls_valid_group(SSL_CONNECTION *s, uint16_t group_id, int minversion,
H A Ds3_lib.c3706 cptr[i] = tls1_group_id2nid(cinf->group_id, 1); in ssl3_ctrl()
3735 id = sc->s3.group_id; in ssl3_ctrl()
5101 id = sc->s3.group_id; in SSL_get0_group_name()
5109 int group_id = 0; in SSL_group_to_name() local
5114 group_id = nid & 0xFFFF; in SSL_group_to_name()
5116 group_id = tls1_nid2group_id(nid); in SSL_group_to_name()
5119 cinf = tls1_group_id_lookup(s->ctx, group_id); in SSL_group_to_name()
/openssl/ssl/quic/
H A Dqlog.c76 if (info->group_id != NULL in ossl_qlog_new()
77 && (qlog->info.group_id = OPENSSL_strdup(info->group_id)) == NULL) in ossl_qlog_new()
98 OPENSSL_free((char *)qlog->info.group_id); in ossl_qlog_new()
169 OPENSSL_free((char *)qlog->info.group_id); in ossl_qlog_free()
310 write_str_once(qlog, "group_id", (char **)&qlog->info.group_id); in qlog_event_seq_header()
H A Dquic_channel.c126 qti.group_id = NULL; in ch_get_qlog()
/openssl/providers/common/
H A Dcapabilities.c25 unsigned int group_id; /* Group ID */ member
112 (unsigned int *)&group_list[idx].group_id), \
/openssl/test/
H A Dquic_qlog_test.c92 qti.group_id = "test group ID"; in test_qlog()
H A Dtls-provider.c204 unsigned int group_id; /* for "tls-group-id", see provider-base(7) */ member
247 OSSL_PARAM_uint(OSSL_CAPABILITY_TLS_GROUP_ID, &xor_group.group_id),
266 OSSL_PARAM_uint(OSSL_CAPABILITY_TLS_GROUP_ID, &xor_kemgroup.group_id),
388 OPENSSL_assert(xor_group.group_id >= 65024 in tls_prov_get_capabilities()
389 && xor_group.group_id < 65279 - NUM_DUMMY_GROUPS); in tls_prov_get_capabilities()
3234 xor_group.group_id = randomize_tls_alg_id(libctx); in tls_provider_init()
3235 xor_kemgroup.group_id = randomize_tls_alg_id(libctx); in tls_provider_init()
/openssl/include/internal/
H A Dqlog.h33 const char *title, *description, *group_id; member

Completed in 90 milliseconds