uquic/internal/handshake
Ameagari d1f6ea997c
save the RTT in non-0-RTT session tickets (#4042)
* also send session ticket when 0-RTT is disabled for go1.21

* allow session ticket without transport parameters

* do not include transport parameters for non-0RTT session ticket

* remove the test assertion because it is not supported for go1.20

* Update internal/handshake/session_ticket.go

Co-authored-by: Marten Seemann <martenseemann@gmail.com>

* add a 0-RTT argument to unmarshaling session tickets

* bump sessionTicketRevision to 4

* check if non-0-RTT session ticket has expected length

* change parameter order

* add test checks

---------

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
2023-09-11 08:05:31 -07:00
..
aead.go use a synchronous API for the crypto setup (#3939) 2023-07-21 10:00:42 -07:00
aead_test.go use a synchronous API for the crypto setup (#3939) 2023-07-21 10:00:42 -07:00
cipher_suite.go handshake: use the correct hash function for TLS_AES_256_GCM_SHA384 (#4031) 2023-08-15 20:09:01 -07:00
conn.go set a net.Conn with the correct addresses on the tls.ClientHelloInfo (#4001) 2023-07-31 13:32:10 -07:00
crypto_setup.go save the RTT in non-0-RTT session tickets (#4042) 2023-09-11 08:05:31 -07:00
crypto_setup_test.go save the RTT in non-0-RTT session tickets (#4042) 2023-09-11 08:05:31 -07:00
handshake_suite_test.go switch from unmaintained golang/mock to go.uber.org/mock (#4050) 2023-08-28 02:23:55 -07:00
header_protector.go use the new crypto/tls QUIC Transport (#3860) 2023-07-01 11:15:00 -07:00
hkdf.go add an optimized implementation of HKDF-Expand-Label 2020-04-09 08:16:23 +07:00
hkdf_test.go migrate to Ginkgo v2 2022-10-11 16:38:44 +04:00
initial_aead.go use the new crypto/tls QUIC Transport (#3860) 2023-07-01 11:15:00 -07:00
initial_aead_test.go stop using math/rand.Seed and Read in tests, bump go.mod version to 1.20 (#3936) 2023-07-01 11:29:41 -07:00
interface.go use a synchronous API for the crypto setup (#3939) 2023-07-21 10:00:42 -07:00
retry.go drop support for draft-29 (#3903) 2023-06-21 04:06:44 -07:00
retry_test.go drop support for draft-29 (#3903) 2023-06-21 04:06:44 -07:00
session_ticket.go save the RTT in non-0-RTT session tickets (#4042) 2023-09-11 08:05:31 -07:00
session_ticket_test.go save the RTT in non-0-RTT session tickets (#4042) 2023-09-11 08:05:31 -07:00
token_generator.go rename module, adjust import paths to quic-go/quic-go (#3680) 2023-01-21 19:53:57 -08:00
token_generator_test.go rename module, adjust import paths to quic-go/quic-go (#3680) 2023-01-21 19:53:57 -08:00
token_protector.go inject a random source into the token protector 2020-08-23 17:06:17 +07:00
token_protector_test.go migrate to Ginkgo v2 2022-10-11 16:38:44 +04:00
updatable_aead.go use the new crypto/tls QUIC Transport (#3860) 2023-07-01 11:15:00 -07:00
updatable_aead_test.go switch from unmaintained golang/mock to go.uber.org/mock (#4050) 2023-08-28 02:23:55 -07:00