Home
last modified time | relevance | path

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

/third_party/mbedtls/programs/fuzz/
Dfuzz_client.c20 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()
119 mbedtls_ssl_conf_alpn_protocols( &conf, alpn_list ); in LLVMFuzzerTestOneInput()
Dfuzz_server.c23 const char *alpn_list[3]; variable
81 alpn_list[0] = "HTTP"; in LLVMFuzzerTestOneInput()
82 alpn_list[1] = "fuzzalpn"; in LLVMFuzzerTestOneInput()
83 alpn_list[2] = NULL; in LLVMFuzzerTestOneInput()
113 mbedtls_ssl_conf_alpn_protocols( &conf, alpn_list ); in LLVMFuzzerTestOneInput()
/third_party/grpc/test/core/handshake/
Dserver_ssl_common.cc168 bool server_ssl_test(const char* alpn_list[], unsigned int alpn_list_len, in server_ssl_test() argument
220 alpn_protos_len += static_cast<unsigned int>(strlen(alpn_list[i])); in server_ssl_test()
226 const uint8_t len = static_cast<uint8_t>(strlen(alpn_list[i])); in server_ssl_test()
228 memcpy(p, alpn_list[i], len); in server_ssl_test()
Dserver_ssl_common.h33 bool server_ssl_test(const char* alpn_list[], unsigned int alpn_list_len,
/third_party/mbedtls/programs/ssl/
Dssl_client2.c676 const char *alpn_list[ALPN_LIST_SIZE]; in main() local
768 memset( (void * ) alpn_list, 0, sizeof( alpn_list ) ); in main()
1577 alpn_list[i++] = p; in main()
1836 if( ( ret = mbedtls_ssl_conf_alpn_protocols( &conf, alpn_list ) ) != 0 ) in main()
Dssl_server2.c1351 const char *alpn_list[ALPN_LIST_SIZE]; in main() local
1435 memset( (void *) alpn_list, 0, sizeof( alpn_list ) ); in main()
2311 alpn_list[i++] = p; in main()
2674 if( ( ret = mbedtls_ssl_conf_alpn_protocols( &conf, alpn_list ) ) != 0 ) in main()
/third_party/mbedtls/library/
Dssl_cli.c663 if( ssl->conf->alpn_list == NULL ) in ssl_write_alpn_ext()
668 for( cur = ssl->conf->alpn_list; *cur != NULL; cur++ ) in ssl_write_alpn_ext()
687 for( cur = ssl->conf->alpn_list; *cur != NULL; cur++ ) in ssl_write_alpn_ext()
1640 if( ssl->conf->alpn_list == NULL ) in ssl_parse_alpn_ext()
1685 for( p = ssl->conf->alpn_list; *p != NULL; p++ ) in ssl_parse_alpn_ext()
Dssl_srv.c679 if( ssl->conf->alpn_list == NULL ) in ssl_parse_alpn_ext()
735 for( ours = ssl->conf->alpn_list; *ours != NULL; ours++ ) in ssl_parse_alpn_ext()
Dssl_tls.c4118 conf->alpn_list = protos; in mbedtls_ssl_conf_alpn_protocols()
6156 if( alpn_len != 0 && ssl->conf->alpn_list != NULL ) in ssl_context_load()
6159 for( cur = ssl->conf->alpn_list; *cur != NULL; cur++ ) in ssl_context_load()
/third_party/libcoap/src/
Dcoap_mbedtls.c1108 const char *alpn_list[] = { "coap", NULL }; in setup_client_ssl_session() local
1110 ret = mbedtls_ssl_conf_alpn_protocols(&m_env->conf, alpn_list); in setup_client_ssl_session()
/third_party/mbedtls/include/mbedtls/
Dssl.h1415 const char **MBEDTLS_PRIVATE(alpn_list); /*!< ordered list of protocols */