Lines Matching refs:id

350 mbed_cipher_suite_get_str(uint16_t id, char *buf, size_t buf_size,  in mbed_cipher_suite_get_str()  argument
353 if(id == MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8) in mbed_cipher_suite_get_str()
356 return Curl_cipher_suite_get_str(id, buf, buf_size, prefer_rfc); in mbed_cipher_suite_get_str()
364 uint16_t id = Curl_cipher_suite_walk_str(str, end); in mbed_cipher_suite_walk_str() local
367 if(!id) { in mbed_cipher_suite_walk_str()
369 id = MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8; in mbed_cipher_suite_walk_str()
371 return id; in mbed_cipher_suite_walk_str()
404 uint16_t id = (uint16_t) supported[j]; in mbed_set_selected_ciphers() local
405 if(strncmp(mbedtls_ssl_get_ciphersuite_name(id), "TLS1-3", 6) != 0) in mbed_set_selected_ciphers()
408 selected[count++] = id; in mbed_set_selected_ciphers()
419 uint16_t id = mbed_cipher_suite_walk_str(&ptr, &end); in mbed_set_selected_ciphers() local
422 if(id) { in mbed_set_selected_ciphers()
423 for(i = 0; i < supported_len && supported[i] != id; i++); in mbed_set_selected_ciphers()
425 id = 0; in mbed_set_selected_ciphers()
427 if(!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()
455 uint16_t id = (uint16_t) supported[j]; in mbed_set_selected_ciphers() local
456 if(strncmp(mbedtls_ssl_get_ciphersuite_name(id), "TLS1-3", 6) == 0) 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()