Skip to main content

transcript_ir

Function transcript_ir 

Source
pub fn transcript_ir(ya: &[u8], ad_a: &[u8], yb: &[u8], ad_b: &[u8]) -> Vec<u8> ⓘ
Expand description

Builds the initiator-responder transcript lv_cat(Ya, ADa) || lv_cat(Yb, ADb) (§6.3).

Both sides hash the same ordering: the initiator’s share and associated data first, then the responder’s, whichever party computes it. Sendspin’s ADa is b"server" and its ADb is b"client".