Lines Matching refs:selected
379 int *selected; in mbed_set_selected_ciphers() local
387 selected = malloc(sizeof(int) * (supported_len + 1)); in mbed_set_selected_ciphers()
388 if(!selected) in mbed_set_selected_ciphers()
401 selected[count++] = id; in mbed_set_selected_ciphers()
428 for(i = 0; i < count && selected[i] != id; i++); in mbed_set_selected_ciphers()
436 selected[count++] = id; in mbed_set_selected_ciphers()
453 for(i = 0; i < count && selected[i] != id; i++); in mbed_set_selected_ciphers()
457 selected[count++] = id; in mbed_set_selected_ciphers()
462 selected[count] = 0; in mbed_set_selected_ciphers()
465 free(selected); in mbed_set_selected_ciphers()
472 backend->ciphersuites = selected; in mbed_set_selected_ciphers()