google/heir

Rename/Move `--bgv-add-client-interface` to `--add-client-interface`

Closed this issue · 0 comments

We already use !lwe.rlwe_ciphertext which (in theory, see #785) carries all the information needed to understand how to encode and encrypt a value into that ciphertext type and this pass uses nothing BGV specific as far as I can tell.
With the addition of CKKS, it'd be nice to have one generic pass that can generate the client helper functions for all schemes.
This should also be useful in eventually supporting scheme-switching.

When doing the switch, it'd probably ge a good idea to create an issue and add a //TODO to the code for LWE encode/encrypt support