147 Commits (c890ae519582d988d93d333dca9a39ee44f413ee)

Author SHA1 Message Date
David Benjamin c890ae5195 Make ECH server APIs take EVP_HPKE_KEY. 3 years ago
David Benjamin c3b373bf4f Rename SSL_ECH_SERVER_CONFIG_LIST to SSL_ECH_KEYS. 3 years ago
David Benjamin 0724e3d552 runner: Self-check tests more accurately and earlier. 3 years ago
David Benjamin cd89004847 Don't pad the second ClientHello. 3 years ago
David Benjamin 350fe3bf32 Fix ext_pre_shared_key_clienthello_length calculation. 3 years ago
David Benjamin b32aa05538 Tidy up the PSK binder logic. 3 years ago
David Benjamin c89ce97a2d Move the TLS vs DTLS header length adjustment into ssl_add_clienthello_tlsext. 3 years ago
David Benjamin fb4d2571f3 Shift some complexity out of ssl_add_clienthello_tlsext. 3 years ago
David Benjamin 9052286dab Add a note about extension callback names. 3 years ago
David Benjamin 5acf9f42c2 Replace hs->needs_psk_binder with an output parameter. 3 years ago
David Benjamin 14e51ad416 Make add_clienthello callbacks const. 3 years ago
David Benjamin 246c556b65 Compute the ECH GREASE payload outside of the callbacks. 3 years ago
David Benjamin 43ab56c618 Pick up the GREASE ECH config ID from grease_seed. 3 years ago
David Benjamin 33e8c7893b Initialize grease_seed on construction. 3 years ago
David Benjamin 52b3638f0a Remove the extension init hook. 3 years ago
David Benjamin 97ede40d43 Move key_share computation out of ClientHello callbacks. 3 years ago
David Benjamin 6c9758fa9a Release some temporaries outside of ClientHello callbacks. 3 years ago
David Benjamin 4e93cd487f Move the early_data_{offered,reason} logic out of extension callbacks. 3 years ago
David Benjamin 26f186bcab Implement a handshake hint for certificate compression. 3 years ago
David Benjamin 7fffa4636c runner: Implement ECH server for testing. 3 years ago
David Benjamin 1f54fd9864 runner: Parse the status_request extension more strictly. 3 years ago
David Benjamin 00bccd6eef runner: Make echIsInner a boolean. 3 years ago
David Benjamin 1241228782 runner: Revise ECHConfig type in preparation for client implementation 3 years ago
David Benjamin 88df13d73d Fix ECH-Server-RepeatedConfigID test. 4 years ago
David Benjamin 3a036c76eb Add SSL_ech_accepted API and ech_is_required alerts. 4 years ago
David Benjamin 5b7ec8329e Reject the ECH extension in TLS 1.2 ServerHello. 4 years ago
David Benjamin da15f2910d Move ECH-related APIs to encrypted_client_hello.cc. 4 years ago
David Benjamin bcef51424b Const-correct message creation hooks. 4 years ago
David Benjamin b5879118ac Remove the Channel ID callback. 4 years ago
David Benjamin 8acec00e9e Manage Channel ID handshake state better. 4 years ago
David Benjamin bc4c91ab46 DTLS-SRTP is only defined for DTLS. 4 years ago
David Benjamin 4848294f43 Remove impossible ssl->s3 null check. 4 years ago
David Benjamin a1d3bfb64f Cite an RFC over 9000 (draft-ietf-quic-tls is now RFC 9001). 4 years ago
Adam Langley 47cefed43f Don't copy client's session ID into server's session. 4 years ago
Dan McArdle 3dd9864fea Test ECH server with unique and repeated config IDs. 4 years ago
Dan McArdle 4749d8fb89 Implement fuzzer mode for ECH server. 4 years ago
David Benjamin 3675eb3f2a GREASE is now RFC 8701. 4 years ago
David Benjamin aef0a88e51 runner: Reject all zero client and server randoms. 4 years ago
David Benjamin b778b9c1b3 Const-correct SSL_get_srtp_profiles. 4 years ago
David Benjamin 49ee62fe13 Update the ECH GREASE size selection. 4 years ago
David Benjamin 747229ec7e Add a missing case to SSL_error_description. 4 years ago
David Benjamin d89ec688f2 Remove draft tokbind implementation. 4 years ago
David Benjamin ddecaabdc8 Check hs->early_session, not ssl->session, for the early data limit. 4 years ago
David Benjamin 71a3b82663 Check for resumption identifiers in SSL_SESSION_is_resumable. 4 years ago
David Benjamin 6ff9429853 Don't use SHA256(ticket) as the signaling session ID for tickets. 4 years ago
David Benjamin 1f6c3dc7d7 Simplify renego + resumption handling. 4 years ago
David Benjamin 962b375bcb Move session ID assignment out of ssl_get_new_session. 4 years ago
David Benjamin 8349dfc87e Fix the ech_accept comment. 4 years ago
David Benjamin 070a6c3e02 Export the HPKE implementation. 4 years ago
David Benjamin 1d58cd1fd3 Shift the KEM dependency in HPKE up a step. 4 years ago