encryptorion-lab / phantom-fhe

PhantomFHE: A CUDA-Accelerated Homomorphic Encryption Library
https://encryptorion-lab.gitbook.io/phantom-fhe/
GNU General Public License v3.0
60 stars 8 forks source link

[Bug] The logic from GaloisElement to Galois Index. #1

Closed fionser closed 6 months ago

fionser commented 6 months ago

It seems current Phantom determines the index of the GaloisKey to used bascially from "order of the given galois elements" within the create_galois_key(). However, the PhantomContext creates the GaloisTool before the GaloisKeys are generated (using some fixed order of galois elements).

fionser commented 6 months ago

I see, we can set the galois_elts in EncryptionParamers orz....

D4rkCrypto commented 6 months ago

Thanks for highlighting this. We plan to enhance our documentation shortly.