Home
last modified time | relevance | path

Searched refs:supported_len (Results 1 – 3 of 3) sorted by relevance

/curl/lib/vtls/
H A Dmbedtls.c387 size_t supported_len, count = 0, default13_count = 0, i, j; in mbed_set_selected_ciphers() local
392 supported_len = i; in mbed_set_selected_ciphers()
394 selected = malloc(sizeof(int) * (supported_len + 1)); in mbed_set_selected_ciphers()
403 for(j = 0; j < supported_len; j++) { in mbed_set_selected_ciphers()
418 for(ptr = ciphers; ptr[0] != '\0' && count < supported_len; ptr = end) { in mbed_set_selected_ciphers()
423 for(i = 0; i < supported_len && supported[i] != id; i++); in mbed_set_selected_ciphers()
424 if(i == supported_len) in mbed_set_selected_ciphers()
454 for(j = 0; j < supported_len; j++) { in mbed_set_selected_ciphers()
H A Drustls.c439 size_t supported_len = *selected_size; in cr_get_selected_ciphers() local
446 DEBUGASSERT(default_len <= supported_len); in cr_get_selected_ciphers()
468 for(ptr = ciphers; ptr[0] != '\0' && count < supported_len; ptr = end) { in cr_get_selected_ciphers()
473 for(i = 0; i < supported_len; i++) { in cr_get_selected_ciphers()
478 if(i == supported_len) in cr_get_selected_ciphers()
H A Dsectransp.c912 size_t supported_len; in sectransp_set_default_ciphers() local
915 ciphers = sectransp_get_supported_ciphers(ssl_ctx, &supported_len); in sectransp_set_default_ciphers()
923 for(i = 0; i < supported_len; i++) { in sectransp_set_default_ciphers()
957 size_t supported_len; in sectransp_set_selected_ciphers() local
961 supported = sectransp_get_supported_ciphers(ssl_ctx, &supported_len); in sectransp_set_selected_ciphers()
967 selected = malloc(supported_len * sizeof(SSLCipherSuite)); in sectransp_set_selected_ciphers()
973 for(ptr = ciphers; ptr[0] != '\0' && count < supported_len; ptr = end) { in sectransp_set_selected_ciphers()
978 for(i = 0; i < supported_len && supported[i] != id; i++); in sectransp_set_selected_ciphers()
979 if(i == supported_len) in sectransp_set_selected_ciphers()

Completed in 17 milliseconds