heir icon indicating copy to clipboard operation
heir copied to clipboard

Generate a helper that configures OpenFHE crypto context based on the IR content

Open j2kun opened this issue 2 months ago • 2 comments

Right now the user must manually call functions like EvalMultKeyGen if the IR contains EvalMult, and EvalRotateKeyGen with known rotation shifts (which requires looking at the generated code to determine), as well as SetMultiplicativeDepth and SetPlaintextModulus.

We should have a pass in the OpenFHE dialect that generates a function that configures the cryptoContext appropriately.

j2kun avatar Apr 29 '24 22:04 j2kun