Function hpke::SetupAuthR 
source · [−]pub fn SetupAuthR(
    config: HPKEConfig, 
    enc: &ByteSeq, 
    skR: &HpkePrivateKey, 
    info: &Info, 
    pkS: &PublicKey
) -> ContextResultExpand description
Authentication using an Asymmetric Key - Receiver
See SetupAuthS for more details.
def SetupAuthR(enc, skR, info, pkS):
  shared_secret = AuthDecap(enc, skR, pkS)
  return KeyScheduleR(mode_auth, shared_secret, info,
                      default_psk, default_psk_id)