Tls13KeySchedule.deriveResumptionPsk

ubyte[] deriveResumptionPsk(const(ubyte)[] transcriptHash)

Derives a resumption PSK from the master secret and transcript.

resumption_psk = HKDF-Expand-Label(master_secret, "res master", transcript, hashLen)

Parameters

transcriptHashThe hash of the full handshake transcript.

Returns

The 32-byte resumption PSK.