Home
last modified time | relevance | path

Searched refs:alpn_list (Results 1 – 12 of 12) sorted by relevance

/openthread-3.7.0/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_client.c18 const char *alpn_list[3]; variable
57 alpn_list[0] = "HTTP"; in LLVMFuzzerTestOneInput()
58 alpn_list[1] = "fuzzalpn"; in LLVMFuzzerTestOneInput()
59 alpn_list[2] = NULL; in LLVMFuzzerTestOneInput()
136 mbedtls_ssl_conf_alpn_protocols(&conf, alpn_list); in LLVMFuzzerTestOneInput()
Dfuzz_server.c21 const char *alpn_list[3]; variable
98 alpn_list[0] = "HTTP"; in LLVMFuzzerTestOneInput()
99 alpn_list[1] = "fuzzalpn"; in LLVMFuzzerTestOneInput()
100 alpn_list[2] = NULL; in LLVMFuzzerTestOneInput()
129 mbedtls_ssl_conf_alpn_protocols(&conf, alpn_list); in LLVMFuzzerTestOneInput()
/openthread-3.7.0/third_party/mbedtls/repo/library/
Dssl_client.c123 if (ssl->conf->alpn_list == NULL) { in ssl_write_alpn_ext()
145 for (const char **cur = ssl->conf->alpn_list; *cur != NULL; cur++) { in ssl_write_alpn_ext()
Dssl_tls13_client.c136 if (ssl->conf->alpn_list == NULL) { in ssl_tls13_parse_alpn_ext()
162 for (const char **alpn = ssl->conf->alpn_list; *alpn != NULL; alpn++) { in ssl_tls13_parse_alpn_ext()
Dssl_tls12_client.c918 if (ssl->conf->alpn_list == NULL) { in ssl_parse_alpn_ext()
959 for (p = ssl->conf->alpn_list; *p != NULL; p++) { in ssl_parse_alpn_ext()
Dssl_tls.c2848 conf->alpn_list = protos; in mbedtls_ssl_conf_alpn_protocols()
5438 if (alpn_len != 0 && ssl->conf->alpn_list != NULL) { in ssl_context_load()
5440 for (cur = ssl->conf->alpn_list; *cur != NULL; cur++) { in ssl_context_load()
9735 if (ssl->conf->alpn_list == NULL) { in mbedtls_ssl_parse_alpn_ext()
9777 for (const char **alpn = ssl->conf->alpn_list; *alpn != NULL; alpn++) { in mbedtls_ssl_parse_alpn_ext()
/openthread-3.7.0/third_party/mbedtls/repo/tests/include/test/
Dssl_helpers.h126 const char *alpn_list[MBEDTLS_TEST_MAX_ALPN_LIST_SIZE]; member
/openthread-3.7.0/third_party/mbedtls/repo/programs/ssl/
Dssl_client2.c800 const char *alpn_list[ALPN_LIST_SIZE]; in main() local
894 memset((void *) alpn_list, 0, sizeof(alpn_list)); in main()
1644 alpn_list[i++] = p; in main()
1909 if ((ret = mbedtls_ssl_conf_alpn_protocols(&conf, alpn_list)) != 0) { in main()
Dssl_server2.c1569 const char *alpn_list[ALPN_LIST_SIZE]; in main() local
1656 memset((void *) alpn_list, 0, sizeof(alpn_list)); in main()
2538 alpn_list[i++] = p; in main()
2918 if ((ret = mbedtls_ssl_conf_alpn_protocols(&conf, alpn_list)) != 0) { in main()
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function3740 client_options.alpn_list[0] = "ALPNExample";
3741 client_options.alpn_list[1] = NULL;
3742 server_options.alpn_list[0] = "ALPNExample";
3743 server_options.alpn_list[1] = NULL;
3778 client_options.alpn_list[0] = "ALPNExample";
3779 client_options.alpn_list[1] = NULL;
3780 server_options.alpn_list[0] = "ALPNExample";
3781 server_options.alpn_list[1] = NULL;
3785 client_options.alpn_list[0] = "ALPNExample2";
3786 client_options.alpn_list[1] = NULL;
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c838 if (options->alpn_list[0] != NULL) { in mbedtls_test_ssl_endpoint_init()
839 mbedtls_ssl_conf_alpn_protocols(&(ep->conf), options->alpn_list); in mbedtls_test_ssl_endpoint_init()
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/
Dssl.h1630 const char **MBEDTLS_PRIVATE(alpn_list); /*!< ordered list of protocols */