From 807fec2ebfa8b33fa75d51a795b9663f0d26fa5c Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 24 Oct 2016 15:17:27 +0100 Subject: double_ratchet.svg --- docs/double_ratchet.svg | 1007 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1007 insertions(+) create mode 100644 docs/double_ratchet.svg (limited to 'docs') diff --git a/docs/double_ratchet.svg b/docs/double_ratchet.svg new file mode 100644 index 0000000..26ee8c3 --- /dev/null +++ b/docs/double_ratchet.svg @@ -0,0 +1,1007 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + Initial Shared Secret + + + + + + + Secret + + HKDF + + + Root Key + + + + Chain Key + + + + Info + + "OLM_ROOT" + + + + Salt + + "" + + + + + + + Key + + + + Data + + HMAC + + + Chain Key + + "\x02" + + + + + + "\x01" + + + + + Key + + + + Data + + HMAC + + + Message Key + + + + + + + Secret + + + + + Salt + + "" + + + + Info + + "OLM_KEYS" + + HKDF + + + Cipher Key + + + + Mac Key + + + + IV + + + + + + + + + + Secret + + HKDF + + + Root Key + + + + Chain Key + + + + Info + + "OLM_RATCHET" + + + + Salt + + + + + + Alice's Chain + Bob's Chain + + + + + + Bob's Key + + + + Alice's Key + + ECDH + + + Shared Secret + + + -- cgit v1.2.3