lwe-to-polynomial: migrate encrypt/decrypt lowering to support RNS #1199
Labels
dialect: lwe
Issues about the LWE dialect
dialect: polynomial
Issues concerning the polynomial dialect
PR #1190 migrated most of the types to NewLWEType, however, for lwe-to-polynomial, there are some non-trivial changes that needs to be done.
This also relates to #882
NewLWEPlaintext
now has aPlaintextSpace.Ring
(for exampleZ_65537 / (X^N + 1)
), which is different fromNewCiphertext
'sCiphertextSpace.Ring
(typically RNS)Z_65537
toZ_qi
(ciphertext rns modulus), which needsmod_arith
dialect support, and it is non-trivial.The text was updated successfully, but these errors were encountered: