quarkslab / NFLlib

NTT-based Fast Lattice library
MIT License
167 stars 52 forks source link

Fixed bug in sub testing code #38

Closed micciancio closed 6 years ago

micciancio commented 6 years ago

Library failed subtraction test when compiled with AVX optimizations. It turns out the bug was in the test code, due to computation of a-b using unsigned integer arithmetic. Fixed the bug in the test code.

carlosaguilarmelchor commented 6 years ago

Thank you Daniele!