github.com/tuneinsight/lattigo
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Too new to tell
only 1 dated releases
Unknown
no stable releases
1 version withdrawn
withdrawn after publishing
3 years old
1 releases · first in 2023
0 releases in the last 12 months
see the full history below
Release timeline
1 releases · Apr 2023 to Apr 2023
2024
2025
2026
Releases
latest 1-
v1.3.125 Apr 2023 withdrawnModule deprecated: The latest supported version is github.com/tuneinsight/lattigo/v4.
Release notes
Open source →Added
- BFV/CKKS: Added API for encrypting using a CRP (common reference polynomial).
- BFV/CKKS: Added API for encrypting faster (encrypts zero directly in Q instead of QP and does not need to divide by P).
- BFV/CKKS: Parameters can now be created without the modulus P. Doing so disables all key-switching operations.
- CKKS: Added tests for hoisted rotations.
- RING: Added benchmarks for a NTT using purely Barrett reduction for comparison purposes.
Changed
- BFV/CKKS: Changed the switching keys from (-as1 + (s0-s1) + e, a) to (-as1 + s0 + e, a). This does not affect the user experience as it only changes the internal behavior, which is kept consistent. However, Rotation and KeySwitching keys generated with older releases will induce wrong results and will need to be re-generated.
Fixes
- BFV: Fixed EncryptFromSK that was not correctly wiping the memory pool before using it, which lead to back encryptions.
- BFV: Fixed an index out of bound error that would happen during the multiplication if #QMul > #Qi.
- CKKS: Removed some redundant operations in the hoisted rotations.
- CKKS: MulRelin now always returns a fully reduced ciphertext.
- DCKKS: PCKS and CKS now correctly set the scale of the output ciphertext to the scale of the input ciphertext.
- RING: Fixed GenerateNTTPrimes that could return twice the same prime if the initial value was prime.
- RING: The function context.UniformPoly now samples based on the number of moduli of the context rather than based on the input polynomial.