This library implements the BKW algorithm for solving LWE instances presented here. Differently from fbbl, rbbl uses only RAM memory. It is therefore much faster than fbbl, but it is also limited by the RAM memory available. It supports smooth-Lazy Modulus Switch and the FWHT-based guessing method (with ot without bruteforce).
As an example, the hardest LWE instance we solved with this library had parameters n=40
, q=1601
and standard deviation σ = 0.005q
. Using 15 cores and 32Gb of RAM, it took <20 seconds.
mkdir target
cd target
cmake ..
make
make test
Author: Alessandro Budroni