Function hpke_kdf::LabeledExtract
source · [−]pub fn LabeledExtract(
alg: KDF,
suite_id: &ByteSeq,
salt: &ByteSeq,
label: &ByteSeq,
ikm: &InputKeyMaterial
) -> HpkeByteSeqResult
Expand description
LabeledExtract
def LabeledExtract(salt, label, ikm):
labeled_ikm = concat("HPKE-v1", suite_id, label, ikm)
return Extract(salt, labeled_ikm)