InitialSecrets
struct InitialSecretsPer-direction initial-secret pair derived from the client's Destination Connection ID per RFC 9001 §5.2.
Each secret is 32 bytes (SHA-256 hash output). The packet-
protection keys (quic key / quic iv / quic hp) are
derived from each secret independently via HKDF-Expand-Label.
Implements Copyable, Movable
- Fields
initial_secret: List[UInt8]:HKDF-Extract(QUIC_V1_INITIAL_SALT, dst_cid)-- 32 bytes.client_initial_secret: List[UInt8]:HKDF-Expand-Label(initial_secret, "client in", "", 32).server_initial_secret: List[UInt8]:HKDF-Expand-Label(initial_secret, "server in", "", 32).