From bed93fcbc76edbb99753495dd144d0dcf3a626d6 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 20 Aug 2015 11:22:51 +0100 Subject: Add explanation of the notation in the spec --- docs/olm.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs') diff --git a/docs/olm.rst b/docs/olm.rst index 51a38bd..8b73c83 100644 --- a/docs/olm.rst +++ b/docs/olm.rst @@ -4,6 +4,19 @@ Olm: A Cryptographic Ratchet An implementation of the cryptographic ratchet described by https://github.com/trevp/axolotl/wiki. +Notation +-------- + +This document uses :math:`\parallel` to represent string concatenation. When +:math:`\parallel` appears on the right hand side of an :math:`=` it means that +the inputs are concatenated. When :math:`\parallel` appears on the left hand +side of an :math:`=` it means that the output is split. + +When this document uses :math:`ECDH\left(K_A,\,K_B\right)` it means that each +party computes a Diffie-Hellman agreement using their private key and the +remote parties public key. +So party :math:`A` computes :math:`ECDH\left(K_B_public,\,K_A_private\right)` +and party :math:`B` computes :math:`ECDH\left(K_A_public,\,K_B_private\right)` The Olm Algorithm ----------------- -- cgit v1.2.3