]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/handshake.txt
[DOC] Hide handshake diagram's footer
[govpn.git] / doc / handshake.txt
index 8c3eb3898be080c96303456a928645b296292610..9a3bef5a07cbfe77749b360c3758ba8200378b86 100644 (file)
@@ -1,15 +1,16 @@
 @startuml
+hide footbox
 participant Client
 participant Server
 
 Client -> Client : R=rand(64bit)
 Client -> Client : CDHPriv=rand(256bit)
-Client -> Server : R, enc(H(DSAPub), R, CDHPub)
+Client -> Server : R, enc(H(DSAPub), R, El(CDHPub))
 Server -> Server : SDHPriv=rand(256bit)
 Server -> Server : K=H(DH(SDHPriv, CDHPub))
 Server -> Server : RS=rand(64bit)
 Server -> Server : SS=rand(256bit)
-Server -> Client : enc(H(DSAPub), R+1, SDHPub); enc(K, R, RS+SS)
+Server -> Client : enc(H(DSAPub), R+1, El(SDHPub)); enc(K, R, RS+SS)
 Client -> Client : K=H(DH(CDHPriv, SDHPub))
 Client -> Client : RC=rand(64bit); SC=rand(256bit)
 Client -> Server : enc(K, R+1, RS+RC+SC+Sign(DSAPriv, K))