openfhe-development
openfhe-development copied to clipboard
Add API for serializing bootstrapping keys
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.
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.