Skip to content

Commit

Permalink
Merge branch 'main' into jonas/pv-handshake-annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneider-bensch authored Apr 2, 2024
2 parents 9050ddb + 88808fa commit d7e9a5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tls13handshake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ pub struct ClientPostClientHello(Random, Algorithms, KemSk, Option<Psk>, Transcr
pub struct ClientPostServerHello(Random, Random, Algorithms, Key, MacKey, MacKey, Transcript);
pub struct ClientPostCertificateVerify(Random, Random, Algorithms, Key, MacKey, MacKey, Transcript);
pub struct ClientPostServerFinished(Random, Random, Algorithms, Key, MacKey, Transcript);
// We do not use most of this state, but we keep the unused parts for verification purposes.
#[allow(dead_code)]
pub struct ClientPostClientFinished(Random, Random, Algorithms, Key, Transcript);

pub fn algs_post_client_hello(st: &ClientPostClientHello) -> Algorithms {
Expand Down Expand Up @@ -245,6 +247,8 @@ pub struct ServerPostServerHello {

pub struct ServerPostCertificateVerify(Random, Random, Algorithms, Key, MacKey, MacKey, Transcript);
pub struct ServerPostServerFinished(Random, Random, Algorithms, Key, MacKey, Transcript);
// We do not use most of this state, but we keep the unsused parts for verification purposes.
#[allow(dead_code)]
pub struct ServerPostClientFinished(Random, Random, Algorithms, Key, Transcript);

/* Handshake Core Functions: See RFC 8446 Section 4 */
Expand Down

0 comments on commit d7e9a5b

Please sign in to comment.