Skip to content

Commit

Permalink
Update open sums code with admits for Tahina
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-l committed Oct 19, 2018
1 parent 4d0d2d8 commit c066635
Show file tree
Hide file tree
Showing 3 changed files with 225 additions and 82 deletions.
34 changes: 34 additions & 0 deletions extractrfc/tls_merged.rfc
Original file line number Diff line number Diff line change
Expand Up @@ -1366,3 +1366,37 @@ struct {
case finished: Finished;
} body[length];
} Handshake12;

/*
This file defines the internal format of tickets in miTLS.
*/

enum {
ticket12, ticket13, (255)
} TicketVersion;

enum { false, true, (255)} bool;

struct {
ProtocolVersion pv;
CipherSuite cs;
bool ems;
opaque master_secret[48];
} TicketContents12;

struct {
CipherSuite cs;
opaque rms<32..255>;
opaque nonce<0..255>;
uint32 creation_time;
uint32 age_add;
opaque custom_data<0..2^16-1>;
} TicketContents13;

struct {
TicketVersion version;
select(v) {
case ticket12: TicketContents12;
case ticket13: TicketContents13;
} contents;
} TicketContents;
Loading

0 comments on commit c066635

Please sign in to comment.