openfheorg / openfhe-development

This is the development repository for the OpenFHE library. The current (stable) version is v1.2.1 (released on September 10, 2024).
BSD 2-Clause "Simplified" License
724 stars 188 forks source link

Deduplicate the indices in key generation operations for automorphism keys #813

Open yspolyakov opened 3 months ago

yspolyakov commented 3 months ago

This affects EvalAtIndexKeyGen, EvalSum*KeyGen, and similar methods in cryptocontext.h/.cpp. One of the ideas is to pass a vector or set of the existing indices down to lower level functions