Skip to main content

finished_mac

Function finished_mac 

Source
pub fn finished_mac(
    secret: &[u8; 32],
    transcript_digest: &StrongDigest,
    initiator_to_responder: bool,
) -> Result<StrongDigest, CryptoError>
Expand description

Finished MAC over the transcript.

Rejects all-zero secrets and unauthenticated zero transcript digests (R03).