]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/developer.texi
Use Argon2d PHC winner instead of PBKDF2
[govpn.git] / doc / developer.texi
index 3fd23ed817fae43d18409af8c9862dc351163aad..d9ec24fffbcdff245b5983402cfd8e400e2e92a5 100644 (file)
@@ -1,29 +1,36 @@
-@node Developer manual
+@node Developer
 @unnumbered Developer manual
 
+Pay attention how to get @ref{Sources, development source code}.
+
 @table @asis
 @item Nonce and identity encryption
-@url{http://143.53.36.235:8080/tea.htm, XTEA}
+@url{http://143.53.36.235:8080/tea.htm, XTEA}.
 @item Data encryption
-@url{http://cr.yp.to/snuffle.html, Salsa20}
+@url{http://cr.yp.to/snuffle.html, Salsa20}.
 @item Message authentication
-@url{http://cr.yp.to/mac.html, Poly1305}
+@url{http://cr.yp.to/mac.html, Poly1305}.
 @item Password authenticated key agreement
 DH-A-EKE powered by @url{http://cr.yp.to/ecdh.html, Curve25519}
-and @url{http://ed25519.cr.yp.to/, Ed25519}
-@item Key derivation function for verifier generation
-@url{https://en.wikipedia.org/wiki/PBKDF2, PBKDF2} based on
-@url{https://en.wikipedia.org/wiki/SHA-2, SHA-512}
+and @url{http://ed25519.cr.yp.to/, Ed25519}.
+@item DH elliptic-curve point encoding for public keys
+@url{http://elligator.cr.yp.to/, Elligator}.
+@item Verifier password hashing algorithm
+@url{https://password-hashing.net/#argon2, Argon2d}.
 @item Packet overhead
-26 bytes per packet
+26 bytes per packet.
 @item Handshake overhead
-4 UDP (2 from client, 2 from server) packets, 264 bytes total payload
+4 UDP (2 from client, 2 from server) packets (round-trips for TCP),
+264 bytes total payload.
+@item Entropy required
+832 bits in average on client, 832 bits in average on server side per
+handshake.
 @end table
 
 @menu
 * Verifier structure::
-* Transport protocol::
-* Handshake protocol::
+* Transport protocol: Transport.
+* Handshake protocol: Handshake.
 @end menu
 
 @include verifierstruct.texi