Skip to main content

transcript_oc

Function transcript_oc 

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

Builds the parallel-execution transcript o_cat(lv_cat(Ya, ADa), lv_cat(Yb, ADb)) (§6.3).

The two messages are ordered lexicographically and prefixed with b"oc", so neither party has to know who spoke first. Sendspin fixes an initiator and a responder, so it uses transcript_ir; this form exists because the draft’s vectors cover it.