Lines Matching refs:group_id
145 uint16_t group_id; member
290 ginf->group_id = (uint16_t)gid; in add_provider_groups()
397 if (ctx->group_list[j].group_id == supported_groups_default[i]) { in ssl_load_groups()
398 tmp_supp_groups[num_deflt_grps++] = ctx->group_list[j].group_id; in ssl_load_groups()
742 return ctx->group_list[i].group_id; in tls1_group_name2id()
748 const TLS_GROUP_INFO *tls1_group_id_lookup(SSL_CTX *ctx, uint16_t group_id) in tls1_group_id_lookup() argument
753 if (ctx->group_list[i].group_id == group_id) in tls1_group_id_lookup()
760 const char *tls1_group_id2name(SSL_CTX *ctx, uint16_t group_id) in tls1_group_id2name() argument
762 const TLS_GROUP_INFO *tls_group_info = tls1_group_id_lookup(ctx, group_id); in tls1_group_id2name()
770 int tls1_group_id2nid(uint16_t group_id, int include_unknown) in tls1_group_id2nid() argument
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()
846 int tls_valid_group(SSL_CONNECTION *s, uint16_t group_id, in tls_valid_group() argument
851 group_id); in tls_valid_group()
899 tls1_group_id2nid(ginfo->group_id, 0), (void *)gtmp); in tls_group_allowed()
1189 int tls1_check_group_id(SSL_CONNECTION *s, uint16_t group_id, in tls1_check_group_id() argument
1195 if (group_id == 0) in tls1_check_group_id()
1203 if (group_id != OSSL_TLS_GROUP_ID_secp256r1) in tls1_check_group_id()
1206 if (group_id != OSSL_TLS_GROUP_ID_secp384r1) in tls1_check_group_id()
1217 if (!tls1_in_list(group_id, groups, groups_len)) in tls1_check_group_id()
1221 if (!tls_group_allowed(s, group_id, SSL_SECOP_CURVE_CHECK)) in tls1_check_group_id()
1239 return tls1_in_list(group_id, groups, groups_len); in tls1_check_group_id()
1325 uint16_t group_id; in tls1_check_cert_param() local
1336 group_id = tls1_get_group_id(pkey); in tls1_check_cert_param()
1341 if (!tls1_check_group_id(s, group_id, !s->server)) in tls1_check_cert_param()
1352 if (group_id == OSSL_TLS_GROUP_ID_secp256r1) in tls1_check_cert_param()
1354 else if (group_id == OSSL_TLS_GROUP_ID_secp384r1) in tls1_check_cert_param()