mirror of
https://github.com/tuneinsight/lattigo.git
synced 2025-09-13 03:27:14 +00:00
- added the ParameterLiteral type for literally specifying scheme parameters in Go programs - removed the now obsolete `Moduli` and `LogModuli` types and their associated `Parameters` constructors - unified the `ckks.Parameters` and `bfv.Parameters` types with common `rlwe.Parameters` base type - extracted the `rlwe.Element` type as common base for BFV and CKKS plaintext and ciphertexts - renamed the `Parameters.Copy()` method to `Parameters.CopyNew()` for consistency - added `Parameter` methods to instantiate new `ring.Ring` structs directly - `Parameters` types are now passed by value in most situations - added `encoding/json`-compatible JSON serialisers and deserialisers for the `Parameters` types. - added a `-params=[params json]` flag for all test and bench suites for specifying parameters from the command line. - removed the scheme-specific key types - added equality and inclusion check methods for the `rlwe.RotatationKeySet` type - reduced the memory footprint of all structure by not copying read-only structs (like parameters or rings)