nucypher / nufhe

NuCypher fully homomorphic encryption (NuFHE) library implemented in Python
https://nufhe.readthedocs.io/en/latest/
GNU General Public License v3.0
441 stars 53 forks source link

NTT fails on MacOS and AMD Vega videocard #11

Open fjarri opened 5 years ago

fjarri commented 5 years ago

NTT transform fails (producing incorrect results) on MacOS 10.14.2 and AMD Vega 20 videocard. The reason seems to be a bug in the OpenCL driver - see https://bugreport.apple.com/web/?problemID=46939100

The current workaround is to use transform_type="FFT" when calling NuFHEParameters constructor, make_secret_key() or make_key_pair().