Home
last modified time | relevance | path

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

/mbedtls-3.5.0/programs/fuzz/
Dfuzz_client.c20 const char *alpn_list[3]; variable
59 alpn_list[0] = "HTTP"; in LLVMFuzzerTestOneInput()
60 alpn_list[1] = "fuzzalpn"; in LLVMFuzzerTestOneInput()
61 alpn_list[2] = NULL; in LLVMFuzzerTestOneInput()
131 mbedtls_ssl_conf_alpn_protocols(&conf, alpn_list); in LLVMFuzzerTestOneInput()
Dfuzz_server.c23 const char *alpn_list[3]; variable
87 alpn_list[0] = "HTTP"; in LLVMFuzzerTestOneInput()
88 alpn_list[1] = "fuzzalpn"; in LLVMFuzzerTestOneInput()
89 alpn_list[2] = NULL; in LLVMFuzzerTestOneInput()
123 mbedtls_ssl_conf_alpn_protocols(&conf, alpn_list); in LLVMFuzzerTestOneInput()
/mbedtls-3.5.0/library/
Dssl_client.c137 if (ssl->conf->alpn_list == NULL) { in ssl_write_alpn_ext()
159 for (const char **cur = ssl->conf->alpn_list; *cur != NULL; cur++) { in ssl_write_alpn_ext()
Dssl_tls13_client.c140 if (ssl->conf->alpn_list == NULL) { in ssl_tls13_parse_alpn_ext()
166 for (const char **alpn = ssl->conf->alpn_list; *alpn != NULL; alpn++) { in ssl_tls13_parse_alpn_ext()
Dssl_tls12_client.c920 if (ssl->conf->alpn_list == NULL) { in ssl_parse_alpn_ext()
961 for (p = ssl->conf->alpn_list; *p != NULL; p++) { in ssl_parse_alpn_ext()
Dssl_tls.c3040 conf->alpn_list = protos; in mbedtls_ssl_conf_alpn_protocols()
4785 if (alpn_len != 0 && ssl->conf->alpn_list != NULL) { in ssl_context_load()
4787 for (cur = ssl->conf->alpn_list; *cur != NULL; cur++) { in ssl_context_load()
9539 if (ssl->conf->alpn_list == NULL) { in mbedtls_ssl_parse_alpn_ext()
9581 for (const char **alpn = ssl->conf->alpn_list; *alpn != NULL; alpn++) { in mbedtls_ssl_parse_alpn_ext()
/mbedtls-3.5.0/programs/ssl/
Dssl_client2.c756 const char *alpn_list[ALPN_LIST_SIZE]; in main() local
854 memset((void *) alpn_list, 0, sizeof(alpn_list)); in main()
1622 alpn_list[i++] = p; in main()
1888 if ((ret = mbedtls_ssl_conf_alpn_protocols(&conf, alpn_list)) != 0) { in main()
Dssl_server2.c1531 const char *alpn_list[ALPN_LIST_SIZE]; in main() local
1621 memset((void *) alpn_list, 0, sizeof(alpn_list)); in main()
2515 alpn_list[i++] = p; in main()
2897 if ((ret = mbedtls_ssl_conf_alpn_protocols(&conf, alpn_list)) != 0) { in main()
/mbedtls-3.5.0/include/mbedtls/
Dssl.h1548 const char **MBEDTLS_PRIVATE(alpn_list); /*!< ordered list of protocols */