Difference between revisions of "Np1sec/algebraic"

Vmon (Talk | contribs)
(Join)
Dmitri (Talk | contribs)
m (Dmitri moved page MpOTR/algebraic to Np1sec/algebraic)
 
(5 intermediate revisions by one other user not shown)
Line 128: Line 128:
 
|-
 
|-
 
|align="right"|Broadcast session key confirmation
 
|align="right"|Broadcast session key confirmation
|align="center"|<math>k_i \leftarrow H(k_i, sid_i, U_i)</math>
+
|align="center"|<math>skc_i \leftarrow H(k_i, sid_i, U_i)</math>
 
|}
 
|}
  
Line 182: Line 182:
 
|-
 
|-
 
|align="right"| Append the hash of the session digest up to parent of current message   
 
|align="right"| Append the hash of the session digest up to parent of current message   
|align="center"|<math> m \leftarrow (m, Digest(parnet(m)), parent\_id) </math>
+
|align="center"|<math> m \leftarrow (m, Digest(parent(m)), parent\_id) </math>
 
|-
 
|-
 
|align="right"| Sign the message
 
|align="right"| Sign the message
Line 188: Line 188:
 
|-
 
|-
 
|align="right"|Encrypt
 
|align="right"|Encrypt
|align="center"|<math>e \leftarrow Enc_k_{sid}(m)</math>
+
|align="center"|<math>e \leftarrow Enc_{k_{sid}}(m)</math>
 
|-
 
|-
 
|align="right"| Broadcast the message
 
|align="right"| Broadcast the message
Line 200: Line 200:
 
|-
 
|-
 
|align="right"| check signature
 
|align="right"| check signature
|align="center"|<math> verify(m) == (m, \sigma) </math>
+
|align="center"|<math> verify(m,\sigma) </math>
 +
|-
 +
|align="right"| update message block chain
 +
|align="center"|<math> Insert(BlackChain_{sid}, m) </math>
 
|-
 
|-
 
|align="right"| decrypt messagen
 
|align="right"| decrypt messagen
Line 206: Line 209:
 
|-
 
|-
 
|align="right"| Verify session id and hash
 
|align="right"| Verify session id and hash
|align="center"|<math>\sigma \leftarrow sid_i == sid_{rec} & h == Digest(parent\_id)</math>
+
|align="center"|<math> sid_i == sid_{rec} \;  \textrm{and}  \; h == Digest(parent\_id)</math>
 
|-
 
|-
|align="right"| Update key share or session key
+
|align="right"| Update sender key or share key
|align="center"|<math>(y_j,z_{ji})</math>
+
|align="center"|<math>y_j \leftarrow s \; \textrm {  or  } \; z_{j} \leftarrow s</math>
 +
|-
 +
|align="right"| if all users' share are received session key
 +
|align="center"|<math>k_i \leftarrow ComputeSessionKey(z_1,...,z_n) </math>
 
|-
 
|-
 
|align="right"| return m
 
|align="right"| return m
 
|align="center"|<math>m</math>
 
|align="center"|<math>m</math>
 
|}
 
|}
 +
 +
[[Category: mpOTR]]

Latest revision as of 18:46, 2 December 2014

Join

Accept

Leave

Send

Receive

Last modified 11 years ago
Cancel

Help improve this page!

Cancel

Keep track of this page and all changes to it.