Lines Matching refs:selected
386 int *selected; in mbed_set_selected_ciphers() local
394 selected = malloc(sizeof(int) * (supported_len + 1)); in mbed_set_selected_ciphers()
395 if(!selected) in mbed_set_selected_ciphers()
408 selected[count++] = id; in mbed_set_selected_ciphers()
435 for(i = 0; i < count && selected[i] != id; i++); in mbed_set_selected_ciphers()
443 selected[count++] = id; in mbed_set_selected_ciphers()
460 for(i = 0; i < count && selected[i] != id; i++); in mbed_set_selected_ciphers()
464 selected[count++] = id; in mbed_set_selected_ciphers()
469 selected[count] = 0; in mbed_set_selected_ciphers()
472 free(selected); in mbed_set_selected_ciphers()
479 backend->ciphersuites = selected; in mbed_set_selected_ciphers()