Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations.

This commit is contained in:
Adam Ierymenko 2014-04-18 00:14:12 -07:00
parent 5f45977e3e
commit 7831c4bfef
6 changed files with 31 additions and 33 deletions

View file

@ -461,8 +461,8 @@ static int testPacket()
unsigned char salsaKey[32],hmacKey[32];
Packet a,b;
a.zeroAll();
b.zeroAll();
a.burn();
b.burn();
for(unsigned int i=0;i<32;++i) {
salsaKey[i] = (unsigned char)rand();