Files
zeekay eaf864890e feat: release v7.0.0 with GPU acceleration and module update
- Update module path to github.com/luxfi/lattice/v7
- Add GPU acceleration with Metal (macOS) and CUDA backends
- Enhance threshold FHE operations
- Revert to vanilla Apache 2.0 license (remove tfhe)
- Update Go version to 1.25.5
- Merge upstream lattigo improvements
2025-12-30 15:37:37 -08:00

52 lines
1.0 KiB
Go

package mpckks
import "github.com/luxfi/lattice/v7/schemes/ckks"
var (
// testInsecurePrec45 are insecure parameters used for the sole purpose of fast testing.
testInsecurePrec45 = ckks.ParametersLiteral{
LogN: 10,
Q: []uint64{
0x80000000080001,
0x2000000a0001,
0x2000000e0001,
0x2000001d0001,
0x1fffffcf0001,
0x1fffffc20001,
0x200000440001,
},
P: []uint64{
0x80000000130001,
0x7fffffffe90001,
},
LogDefaultScale: 45,
}
// testInsecurePrec90 are insecure parameters used for the sole purpose of fast testing.
testInsecurePrec90 = ckks.ParametersLiteral{
LogN: 10,
Q: []uint64{
0x80000000080001,
0x80000000440001,
0x2000000a0001,
0x2000000e0001,
0x1fffffc20001,
0x200000440001,
0x200000500001,
0x200000620001,
0x1fffff980001,
0x2000006a0001,
0x1fffff7e0001,
0x200000860001,
},
P: []uint64{
0xffffffffffc0001,
0x10000000006e0001,
},
LogDefaultScale: 90,
}
testParamsLiteral = []ckks.ParametersLiteral{testInsecurePrec45, testInsecurePrec90}
)