]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/transport.texi
[DOC] Padding is the standard 7816-4 format
[govpn.git] / doc / transport.texi
index 1518d6f95fa59d02324409e9818234416827e5c0..812322528f03019d4b882dab6e925ebdd386afa4 100644 (file)
@@ -25,8 +25,9 @@ MAC_KEY = 256bit(ENCRYPT(KEY, 0))
 Salsa20's output is ignored and only remaining is XORed with ther data,
 encrypting it.
 
-@code{DATA} is padded with @code{PAD} (0x80 byte). Optional @code{ZEROS}
-may follow, to fill up packet to conceal payload packet length.
+@code{DATA} is padded using ISO/IEC 7816-4 format (@code{PAD} (0x80
+byte) with optional @code{ZEROS} following), to fill up packet to
+conceal payload packet length.
 
 @code{AUTH} is Poly1305 authentication function. First 256 bits of
 Salsa20's output are used as a one-time key for @code{AUTH}.