openfhe-development icon indicating copy to clipboard operation
openfhe-development copied to clipboard

Add API for serializing bootstrapping keys

Open sarojaduality opened this issue 1 year ago • 1 comments

We have APIs for SerializeEvalMultKey and SerializeEvalAutomorphismKey. We should add one for bootstrapping keys. Maybe it is possible to serialize bootstrapping keys with the SerializeEvalAutomorphismKey API, but we need to double check.

sarojaduality avatar Apr 04 '23 16:04 sarojaduality

Related to this, in case of CKKS, I think what is missing are APIs to quickly (de)serialize m_bootPrecomMap, in FHECKKSRNS. Rotations needed by the bootstrapping are indeed included in the (de)serialization of the rotation keys.

narger-ef avatar Oct 24 '23 18:10 narger-ef