1#ifndef QUIC_SRVFIN_COMPLETE_H
2#define QUIC_SRVFIN_COMPLETE_H
int quic_srvfin_complete(quic_srvfin_state *s, const u8 *final_transcript, usz final_transcript_len)
Advance the key schedule to Master over the final transcript (the handshake messages through the clie...
void quic_srvfin_state_init(quic_srvfin_state *s, quic_keysched *sched, quic_keyset *keys)
Bind the key schedule and key set the completion step operates on.
RFC 8446 7.1: order-driven key schedule.
RFC 9001 4: per-protection-level key sets.
Key schedule state: the current stage, the Master Secret once reached, and the four traffic key sets ...
Definition keyschedule.h:29
Per-protection-level key store: one AES-128-GCM key set per level plus an installed flag.
Definition keyset.h:23
Server handshake-completion state.
Definition complete.h:14
quic_keyset * keys
receives the server 1-RTT keys
Definition complete.h:16
quic_keysched * sched
the key schedule to advance to Master
Definition complete.h:15
int confirmed
1 once the handshake is confirmed
Definition complete.h:17
u64 usz
unsigned size (size_t equivalent)
Definition syscall.h:19
unsigned char u8
unsigned 8-bit integer / byte
Definition syscall.h:17