Function LabeledExpand

Source
pub fn LabeledExpand(
    alg: KDF,
    suite_id: Vec<u8>,
    prk: &[u8],
    label: Vec<u8>,
    info: &Info,
    L: usize,
) -> HpkeBytesResult
Expand description

KDF: Labeled Expand

def LabeledExpand(prk, label, info, L):
  labeled_info = concat(I2OSP(L, 2), "HPKE-v1", suite_id,
                        label, info)
  return Expand(prk, labeled_info, L)