Commit Graph
2 Commits
Author SHA1 Message Date
Zou Yong eb30a3d161 Fix losing data issue of SALSA20 cipher
If nonce received in more than one packet under some network condition, the salsa20 cipher decryption will lose cipher->nonce_len - left_len bytes of data.
2017-04-30 21:01:15 +08:00
Zou Yong 0559d8ce2e Fix decryption failed issue by nonce overwrite
If the first packet is less than nonce length, then the chunk nonce data will be overwrote by next packet and result in decrypt failed
2017-04-28 19:35:42 +08:00