HomeSort by: relevance | last modified time | path
    Searched defs:alpn (Results 1 - 25 of 39) sorted by relevancy

1 2

  /src/crypto/external/apache2/openssl/dist/include/internal/
quic_tserver.h 44 const unsigned char *alpn; member in struct:quic_tserver_args_st
  /src/crypto/external/apache2/openssl/dist/demos/guide/
quic-client-block.c 124 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; local
213 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn)) != 0) {
214 printf("Failed to set the ALPN for the connection\n");
quic-multi-stream.c 142 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; local
240 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn)) != 0) {
241 printf("Failed to set the ALPN for the connection\n");
quic-client-non-block.c 231 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; local
322 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn)) != 0) {
323 printf("Failed to set the ALPN for the connection\n");
  /src/crypto/external/apache2/openssl/dist/doc/designs/ddd/
ddd-01-conn-blocking.c 55 static const unsigned char alpn[] = { 5, 'd', 'u', 'm', 'm', 'y' }; local
86 /* Configure ALPN, which is required for QUIC. */
87 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) {
ddd-03-fd-blocking.c 54 static const unsigned char alpn[] = { 5, 'd', 'u', 'm', 'm', 'y' }; local
79 /* Configure ALPN, which is required for QUIC. */
80 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) {
ddd-02-conn-nonblocking-threads.c 68 static const unsigned char alpn[] = { 5, 'd', 'u', 'm', 'm', 'y' }; local
118 /* Configure ALPN, which is required for QUIC. */
119 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) {
ddd-04-fd-nonblocking.c 61 static const unsigned char alpn[] = { 5, 'd', 'u', 'm', 'm', 'y' }; local
95 /* Configure ALPN, which is required for QUIC. */
96 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) {
ddd-05-mem-nonblocking.c 66 static const unsigned char alpn[] = { 5, 'd', 'u', 'm', 'm', 'y' }; local
119 /* Configure ALPN, which is required for QUIC. */
120 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) {
ddd-02-conn-nonblocking.c 68 static const unsigned char alpn[] = { 5, 'd', 'u', 'm', 'm', 'y' }; local
131 /* Configure ALPN, which is required for QUIC. */
132 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) {
ddd-06-mem-uv.c 500 static const unsigned char alpn[] = { 5, 'd', 'u', 'm', 'm', 'y' }; local
534 /* Configure ALPN, which is required for QUIC. */
535 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) {
  /src/crypto/external/apache2/openssl/dist/test/
quic_client_test.c 44 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '0', '.', '9' }; local
80 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn))))
quic_tserver_test.c 75 unsigned char alpn[] = { 8, 'o', 's', 's', 'l', 't', 'e', 's', 't' }; local
121 tserver_args.alpn = NULL;
173 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn))))
quicapitest.c 920 * We must configure the ALPN/peer address etc so we get the SSL object in
1380 * Test that we correctly handle ALPN supplied by the application
1381 * Test 0: ALPN is provided
1382 * Test 1: No ALPN is provided
1409 * Clear the ALPN we set in qtest_create_quic_objects. We use TEST_false
1420 /* We expect an immediate error due to lack of ALPN */
1424 /* ALPN was provided so we expect the connection to succeed */
2519 static unsigned char alpn[] = { 8, 'o', 's', 's', 'l', 't', 'e', 's', 't' }; local
2521 if (SSL_select_next_proto((unsigned char **)out, out_len, alpn, sizeof(alpn),
2607 static unsigned char alpn[] = { 8, 'o', 's', 's', 'l', 't', 'e', 's', 't' }; local
    [all...]
ssl_old_test.c 293 fprintf(stderr, "failed to parser ALPN server protocol string: %s\n",
345 BIO_printf(bio_stdout, "ALPN selected protocols differ!\n");
350 BIO_printf(bio_stdout, "ALPN selected protocols differ!\n");
355 BIO_printf(bio_stdout, "ALPN unexpectedly negotiated\n");
361 "ALPN selected protocols not equal to expected protocol: %s\n",
369 BIO_printf(bio_stdout, "ALPN results: client: '");
374 BIO_printf(bio_stdout, "ALPN configured: client: '%s', server: '",
706 fprintf(stderr, " -alpn_client <string> - have client side offer ALPN\n");
707 fprintf(stderr, " -alpn_server <string> - have server side offer ALPN\n");
709 fprintf(stderr, " -alpn_server2 <string> - have server side context 2 offer ALPN\n")
1715 unsigned char *alpn = next_protos_parse(&alpn_len, alpn_client); local
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_tserver.c 58 const unsigned char *alpn; local
61 if (srv->args.alpn == NULL) {
62 alpn = alpndeflt;
65 alpn = srv->args.alpn;
69 if (SSL_select_next_proto((unsigned char **)out, outlen, alpn, alpnlen,
quic_tls.c 754 const unsigned char *alpn; local
796 /* ALPN is a requirement for QUIC and must be set */
801 if (sc->ext.alpn == NULL || sc->ext.alpn_len == 0)
803 "ALPN must be configured when using QUIC");
847 /* Validate that we have ALPN */
848 SSL_get0_alpn_selected(qtls->args.s, &alpn, &alpnlen);
849 if (alpn == NULL || alpnlen == 0)
  /src/crypto/external/apache2/openssl/dist/test/quic-openssl-docker/hq-interop/
quic-hq-interop.c 23 * responses to disk. It demonstrates OpenSSL's QUIC API, including ALPN protocol
689 * performs host verification, configures ALPN, and establishes a non-blocking
702 unsigned char alpn[] = { 10, 'h', 'q', '-', 'i', 'n', 't', 'e', 'r', 'o', 'p' }; local
792 if (SSL_set_alpn_protos(*ssl, alpn, sizeof(alpn)) != 0) {
793 fprintf(stderr, "Failed to set the ALPN for the connection\n");
  /src/crypto/external/apache2/openssl/dist/demos/http3/
ossl-nghttp3.c 245 static const unsigned char alpn[] = { 2, 'h', '3' }; local
271 * auto-configure ALPN. If the application wants to initiate the connection
275 if (SSL_set_alpn_protos(conn->qconn, alpn, sizeof(alpn))) {
278 "failed to configure ALPN");
  /src/external/mpl/bind/dist/lib/isc/netmgr/
streamdns.c 309 const unsigned char *alpn = NULL; local
312 isc__nmhandle_get_selected_alpn(transp_handle, &alpn, &alpnlen);
313 if (alpn != NULL && alpnlen == ISC_TLS_DOT_PROTO_ALPN_ID_LEN &&
314 memcmp(ISC_TLS_DOT_PROTO_ALPN_ID, alpn,
  /src/external/mpl/bind/dist/tests/isc/
proxyheader_test.c 939 const char *alpn = "dot"; local
1012 /* one ALPN tag is fine */
1015 ISC_PROXY2_TLV_TYPE_ALPN, alpn);
1022 /* two ALPN tags is not fine */
1024 ISC_PROXY2_TLV_TYPE_ALPN, alpn);
  /src/crypto/external/apache2/openssl/dist/test/helpers/
quictestlib.c 136 /* ALPN value as recognised by QUIC_TSERVER */
137 unsigned char alpn[] = { 8, 'o', 's', 's', 'l', 't', 'e', 's', 't' }; local
195 if (!TEST_false(SSL_set_alpn_protos(*cssl, alpn, sizeof(alpn))))
338 tserver_args.alpn = NULL;
  /src/external/bsd/unbound/dist/testcode/
doqclient.c 885 const unsigned char* alpn = NULL; variable
888 SSL_get0_alpn_selected(data->ssl, &alpn, &alpnlen);
891 memmove(alpnstr, alpn, alpnlen);
893 verbose(1, "negotiated ALPN is '%s'", alpnstr);
  /src/crypto/external/bsd/openssl/dist/test/
ssl_old_test.c 296 fprintf(stderr, "failed to parser ALPN server protocol string: %s\n",
336 BIO_printf(bio_stdout, "ALPN selected protocols differ!\n");
342 BIO_printf(bio_stdout, "ALPN selected protocols differ!\n");
347 BIO_printf(bio_stdout, "ALPN unexpectedly negotiated\n");
355 "ALPN selected protocols not equal to expected protocol: %s\n",
363 BIO_printf(bio_stdout, "ALPN results: client: '");
368 BIO_printf(bio_stdout, "ALPN configured: client: '%s', server: '",
700 fprintf(stderr, " -alpn_client <string> - have client side offer ALPN\n");
701 fprintf(stderr, " -alpn_server <string> - have server side offer ALPN\n");
703 fprintf(stderr, " -alpn_server2 <string> - have server side context 2 offer ALPN\n")
1719 unsigned char *alpn = next_protos_parse(&alpn_len, alpn_client); local
    [all...]
  /src/external/mpl/bind/dist/lib/dns/
rdata.c 1794 * Level 1 Level 2 ALPN's
1826 * Disallow empty ALPN at start (",h1" or "\,h1") or
1834 * Consume this ALPN and possible ending comma.
1839 * Disallow empty ALPN at end ("h1," or "h1\,").
2553 * tls-extensiontype-values.xhtml#alpn-protocol-ids
2570 svcb_hashttp(isc_textregion_t *alpn) {
2571 while (alpn->length > 0) {
2573 unsigned char len = *alpn->base;
2575 isc_textregion_consume(alpn, 1);
2581 s = alpn->base
2621 isc_textregion_t alpn; local
    [all...]

Completed in 40 milliseconds

1 2