Searched refs:alpn_list (Results 1 – 11 of 11) sorted by relevance
/third_party/mbedtls/programs/fuzz/ |
D | fuzz_client.c | 20 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()
|
D | fuzz_server.c | 23 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/ |
D | server_ssl_common.cc | 168 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()
|
D | server_ssl_common.h | 33 bool server_ssl_test(const char* alpn_list[], unsigned int alpn_list_len,
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_client2.c | 676 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()
|
D | ssl_server2.c | 1351 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/ |
D | ssl_cli.c | 663 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()
|
D | ssl_srv.c | 679 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()
|
D | ssl_tls.c | 4118 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/ |
D | coap_mbedtls.c | 1108 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/ |
D | ssl.h | 1415 const char **MBEDTLS_PRIVATE(alpn_list); /*!< ordered list of protocols */
|