This commit is contained in:
Adam Ierymenko 2017-07-17 13:48:39 -07:00
parent 3a1ec07db0
commit ab0806a036
3 changed files with 3 additions and 10 deletions

View file

@ -1274,12 +1274,6 @@ public:
/**
* Encrypt/decrypt a separately armored portion of a packet
*
* This currently uses Salsa20/12, but any message that uses this should
* incorporate a cipher selector to permit this to be changed later. To
* ensure that key stream is not reused, the key is slightly altered for
* this use case and the same initial 32 keystream bytes that are taken
* for MAC in ordinary armor() are also skipped here.
*
* This is currently only used to mask portions of HELLO as an extra
* security precation since most of that message is sent in the clear.
*