pub fn SetupAuthPSKR(
config: HPKEConfig,
enc: &[u8],
skR: &HpkePrivateKey,
info: &Info,
psk: &Psk,
psk_id: &PskId,
pkS: &PublicKeyIn,
) -> 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