Dtls13ClientKeySchedule.hkdfExpandLabel

ubyte[] hkdfExpandLabel(const(ubyte)[] secret, string label, const(ubyte)[] context, size_t length)

HKDF-Expand-Label with "dtls13 " prefix for DTLS 1.3.

Parameters

secretThe input secret.
labelThe label string (without prefix).
contextThe context data, or null.
lengthOutput length in bytes.

Returns

Derived key material.