diff options
author | beck <> | 2022-06-29 17:39:21 +0000 |
---|---|---|
committer | beck <> | 2022-06-29 17:39:21 +0000 |
commit | fc8a9f3799769566fe4b424c43a81a1a71f91328 (patch) | |
tree | 3406a8350556d9a6c42a2677a30e2dabf013942c /src/lib/libssl/ssl_tlsext.h | |
parent | 6f4618c6c03ccd1d0f1b55dd8ff05af4a05abe78 (diff) | |
download | openbsd-fc8a9f3799769566fe4b424c43a81a1a71f91328.tar.gz openbsd-fc8a9f3799769566fe4b424c43a81a1a71f91328.tar.bz2 openbsd-fc8a9f3799769566fe4b424c43a81a1a71f91328.zip |
Add support for sending QUIC transport parameters
This is the start of adding the boringssl API for QUIC support,
and the TLS extensions necessary to send and receive QUIC transport
data.
Inspired by boringssl's https://boringssl-review.googlesource.com/24464
ok jsing@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_tlsext.h')
-rw-r--r-- | src/lib/libssl/ssl_tlsext.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_tlsext.h b/src/lib/libssl/ssl_tlsext.h index 3439255fd6..268b274948 100644 --- a/src/lib/libssl/ssl_tlsext.h +++ b/src/lib/libssl/ssl_tlsext.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_tlsext.h,v 1.29 2022/06/03 13:31:49 tb Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.h,v 1.30 2022/06/29 17:39:20 beck Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> | 4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> |
@@ -144,6 +144,17 @@ int tlsext_srtp_server_build(SSL *s, uint16_t msg_type, CBB *cbb); | |||
144 | int tlsext_srtp_server_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert); | 144 | int tlsext_srtp_server_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert); |
145 | #endif | 145 | #endif |
146 | 146 | ||
147 | int tlsext_quic_transport_parameters_client_needs(SSL *s, uint16_t msg_type); | ||
148 | int tlsext_quic_transport_parameters_client_build(SSL *s, uint16_t msg_type, | ||
149 | CBB *cbb); | ||
150 | int tlsext_quic_transport_parameters_client_parse(SSL *s, uint16_t msg_type, | ||
151 | CBS *cbs, int *alert); | ||
152 | int tlsext_quic_transport_parameters_server_needs(SSL *s, uint16_t msg_type); | ||
153 | int tlsext_quic_transport_parameters_server_build(SSL *s, uint16_t msg_type, | ||
154 | CBB *cbb); | ||
155 | int tlsext_quic_transport_parameters_server_parse(SSL *s, uint16_t msg_type, | ||
156 | CBS *cbs, int *alert); | ||
157 | |||
147 | int tlsext_client_build(SSL *s, uint16_t msg_type, CBB *cbb); | 158 | int tlsext_client_build(SSL *s, uint16_t msg_type, CBB *cbb); |
148 | int tlsext_client_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert); | 159 | int tlsext_client_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert); |
149 | 160 | ||