updated libquantum 1.0.0 source files

This commit is contained in:
libquantum
2016-10-27 04:26:15 +09:00
parent 7091733a35
commit a88843b324
8 changed files with 70 additions and 54 deletions

View File

@@ -158,6 +158,11 @@ static inline void
quantum_reconstruct_hash(quantum_reg *reg)
{
int i;
/* Check whether register is sorted */
if(!reg->hashw)
return;
for(i=0; i<(1 << reg->hashw); i++)
reg->hash[i] = 0;