[BACK]Return to PROTOCOL.chacha20poly1305 CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/PROTOCOL.chacha20poly1305 between version 1.2 and 1.3

version 1.2, 2013/12/02 02:50:27 version 1.3, 2016/05/03 13:10:24
Line 34 
Line 34 
 The chacha20-poly1305@openssh.com cipher requires 512 bits of key  The chacha20-poly1305@openssh.com cipher requires 512 bits of key
 material as output from the SSH key exchange. This forms two 256 bit  material as output from the SSH key exchange. This forms two 256 bit
 keys (K_1 and K_2), used by two separate instances of chacha20.  keys (K_1 and K_2), used by two separate instances of chacha20.
   The first 256 bits consitute K_2 and the second 256 bits become
   K_1.
   
 The instance keyed by K_1 is a stream cipher that is used only  The instance keyed by K_1 is a stream cipher that is used only
 to encrypt the 4 byte packet length field. The second instance,  to encrypt the 4 byte packet length field. The second instance,

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3