X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fsp.texi;h=dca38c3497d5be4631bb4dc5b528f94895662a4e;hb=8e0dde30602de63fd1229049d15cb8f62ffd8288;hp=282a1b9cd182b375b0b7a62d4496f58a6e0903b6;hpb=2d1b66fcbc3efc5338015cad096e354b7d599b3d;p=nncp.git diff --git a/doc/sp.texi b/doc/sp.texi index 282a1b9..dca38c3 100644 --- a/doc/sp.texi +++ b/doc/sp.texi @@ -27,7 +27,7 @@ are sent inside XDR envelope: @headitem @tab XDR type @tab Value @item Magic number @tab 8-byte, fixed length opaque data @tab - @verb{|NNCPS0x00x00x01|} + @verb{|N N C P S 0x00 0x00 0x01|} @item Payload @tab variable length opaque data @tab Noise packet itself @@ -36,7 +36,7 @@ are sent inside XDR envelope: Peers static keys are specified as @ref{Configuration, @emph{noisepub}} configuration entry. -Payload inside Noise packets has maximum size of @emph{65 KiB - 256 B = +Payload inside Noise packets has maximum size of @emph{64 KiB - 256 B = 65280 B}. It is sent immediately in the first message by each side. The very first payload (that is carried inside handshake messages) is always padded to the maximum size with @emph{HALT} packets (read below), for