Files
lattigo/utils
ChristianMct 9563e4013d Improving the parameter API and cross-scheme implementations (#114)
- 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)
2021-06-04 17:08:32 +02:00
..
2020-12-16 11:15:57 +01:00
2019-11-26 15:46:30 +01:00
2020-12-16 11:15:57 +01:00
2021-02-17 16:28:41 +01:00