pub fn SetupAuthPSKR(
    config: HPKEConfig,
    enc: &ByteSeq,
    skR: &HpkePrivateKey,
    info: &Info,
    psk: &Psk,
    psk_id: &PskId,
    pkS: &PublicKey
) -> ContextResult
Expand description

Authentication using both a PSK and an Asymmetric Key - Receiver

See SetupAuthPSKS for more details.

def SetupAuthPSKR(enc, skR, info, psk, psk_id, pkS):
  shared_secret = AuthDecap(enc, skR, pkS)
  return KeyScheduleR(mode_auth_psk, shared_sec