Lines Matching refs:group_ids
340 uint16_t *group_ids = (uint16_t *)OPENSSL_malloc(ncurves * sizeof(uint16_t)); in tls1_set_curves() local
341 if (group_ids == NULL) { in tls1_set_curves()
346 if (!ssl_nid_to_group_id(&group_ids[i], curves[i])) { in tls1_set_curves()
347 OPENSSL_free(group_ids); in tls1_set_curves()
353 *out_group_ids = group_ids; in tls1_set_curves()
361 uint16_t *group_ids = NULL; in tls1_set_curves_list() local
377 group_ids, (ncurves + 1) * sizeof(uint16_t)); in tls1_set_curves_list()
381 group_ids = new_group_ids; in tls1_set_curves_list()
383 group_ids[ncurves] = group_id; in tls1_set_curves_list()
392 *out_group_ids = group_ids; in tls1_set_curves_list()
398 OPENSSL_free(group_ids); in tls1_set_curves_list()