safecrypto / libsafecrypto

WP6 of the SAFEcrypto project - a suite of lattice-based cryptographic schemes
MIT License
39 stars 11 forks source link

Reset of the entropy flag! #46

Open loisscott opened 6 years ago

loisscott commented 6 years ago

https://github.com/safecrypto/libsafecrypto/blob/914c646d633594a8676edf2be362c4f85461df11/test/functional/func_alg_dilithium.c#L105

the code at line 105 clears the flag value set in the preceding lines (92-103), such that Huffman and BAC compression are not tested...

neil-smyth commented 6 years ago

The preceding code needs to remove the lossless compression switches as Dilithium doesn't use them. The test is correct but confusing ...