Home
last modified time | relevance | path

Searched refs:alpn (Results 1 – 25 of 39) sorted by relevance

12

/openssl/test/ssl-tests/
H A D09-alpn.cnf5 test-0 = 0-alpn-simple
13 test-8 = 8-alpn-selected-sni-server-supports-alpn
14 test-9 = 9-alpn-selected-sni-server-does-not-support-alpn
25 [0-alpn-simple]
290 [8-alpn-selected-sni-server-supports-alpn]
293 [8-alpn-selected-sni-server-supports-alpn-ssl]
298 [8-alpn-selected-sni-server-supports-alpn-server]
303 [8-alpn-selected-sni-server-supports-alpn-server2]
308 [8-alpn-selected-sni-server-supports-alpn-client]
333 [9-alpn-selected-sni-server-does-not-support-alpn]
[all …]
H A D09-alpn.cnf.in20 name => "alpn-simple",
36 name => "alpn-server-finds-match",
68 name => "alpn-alert-on-mismatch",
85 name => "alpn-no-server-support",
97 name => "alpn-no-client-support",
133 name => "alpn-with-sni-context-switch",
157 name => "alpn-selected-sni-server-supports-alpn",
180 name => "alpn-selected-sni-server-does-not-support-alpn",
200 name => "alpn-simple-resumption",
326 name => "alpn-empty-client-list",
[all …]
H A D08-npn.cnf17 test-12 = 12-alpn-preferred-over-npn
18 test-13 = 13-sni-npn-preferred-over-alpn
450 [12-alpn-preferred-over-npn]
453 [12-alpn-preferred-over-npn-ssl]
457 [12-alpn-preferred-over-npn-server]
462 [12-alpn-preferred-over-npn-client]
484 [13-sni-npn-preferred-over-alpn]
487 [13-sni-npn-preferred-over-alpn-ssl]
492 [13-sni-npn-preferred-over-alpn-server]
502 [13-sni-npn-preferred-over-alpn-client]
[all …]
H A D08-npn.cnf.in244 name => "alpn-preferred-over-npn",
264 name => "sni-npn-preferred-over-alpn",
425 name => "alpn-preferred-over-npn-resumption",
452 name => "npn-used-if-alpn-not-supported-resumption",
/openssl/doc/man3/
H A DSSL_SESSION_get0_hostname.pod19 const unsigned char **alpn,
21 int SSL_SESSION_set1_alpn_selected(SSL_SESSION *s, const unsigned char *alpn,
39 session and its associated length in bytes. The returned value of B<*alpn> is a
43 value in B<alpn> which should be of length B<len> bytes. A copy of the input
45 B<alpn>.
/openssl/doc/designs/ddd/
H A Dddd-01-conn-blocking.c55 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local
87 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
H A Dddd-03-fd-blocking.c54 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local
80 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
H A Dddd-02-conn-nonblocking-threads.c68 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local
119 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
H A Dddd-02-conn-nonblocking.c68 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local
132 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
H A Dddd-04-fd-nonblocking.c61 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local
96 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
H A Dddd-05-mem-nonblocking.c66 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; local
120 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) {
H A Dddd-06-mem-uv.c500 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in setup_ssl() local
535 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in setup_ssl()
/openssl/util/
H A Dquicserver.c161 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; in main() local
203 tserver_args.alpn = alpn; in main()
204 tserver_args.alpnlen = sizeof(alpn); in main()
/openssl/demos/guide/
H A Dquic-client-block.c124 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; in main() local
213 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn)) != 0) { in main()
H A Dquic-client-non-block.c231 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; in main() local
322 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn)) != 0) { in main()
H A Dquic-multi-stream.c142 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; in main() local
242 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn)) != 0) { in main()
H A Dquic-hq-interop.c688 unsigned char alpn[] = {10, 'h', 'q', '-', 'i', 'n', 't', 'e', 'r', 'o', 'p'}; in setup_connection() local
779 if (SSL_set_alpn_protos(*ssl, alpn, sizeof(alpn)) != 0) { in setup_connection()
H A DREADME.md78 demo, but is specifically constructed to use the hq-interop alpn for the
88 2. Negotiates the hq-interop alpn
/openssl/test/
H A Dquic_client_test.c44 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '0', '.', '9' }; in test_quic_client_ex() local
81 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn)))) in test_quic_client_ex()
H A Dquic_tserver_test.c75 unsigned char alpn[] = { 8, 'o', 's', 's', 'l', 't', 'e', 's', 't' }; in do_test() local
121 tserver_args.alpn = NULL; in do_test()
173 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn)))) in do_test()
/openssl/ssl/quic/
H A Dquic_tserver.c61 const unsigned char *alpn; in alpn_select_cb() local
64 if (srv->args.alpn == NULL) { in alpn_select_cb()
65 alpn = alpndeflt; in alpn_select_cb()
68 alpn = srv->args.alpn; in alpn_select_cb()
72 if (SSL_select_next_proto((unsigned char **)out, outlen, alpn, alpnlen, in alpn_select_cb()
H A Dquic_tls.c704 const unsigned char *alpn; in ossl_quic_tls_tick() local
748 if (sc->ext.alpn == NULL || sc->ext.alpn_len == 0) in ossl_quic_tls_tick()
817 SSL_get0_alpn_selected(qtls->args.s, &alpn, &alpnlen); in ossl_quic_tls_tick()
818 if (alpn == NULL || alpnlen == 0) in ossl_quic_tls_tick()
/openssl/demos/http3/
H A Dossl-nghttp3.c243 static const unsigned char alpn[] = {2, 'h', '3'}; in OSSL_DEMO_H3_CONN_new_for_conn() local
273 if (SSL_set_alpn_protos(conn->qconn, alpn, sizeof(alpn))) { in OSSL_DEMO_H3_CONN_new_for_conn()
/openssl/include/internal/
H A Dquic_tserver.h44 const unsigned char *alpn; member
/openssl/
H A DREADME-QUIC.md59 $ openssl s_client -quic -alpn myalpn -connect host:port
80 …/www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids

Completed in 61 milliseconds

12