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

42 lines
776 B
Go

package multiparty
import (
"github.com/luxfi/lattice/v7/core/rlwe"
)
type TestParametersLiteral struct {
BaseTwoDecomposition int
rlwe.ParametersLiteral
}
var (
logN = 10
qi = []uint64{0x200000440001, 0x7fff80001, 0x800280001, 0x7ffd80001, 0x7ffc80001}
pj = []uint64{0x3ffffffb80001, 0x4000000800001}
// testInsecure are insecure parameters used for the sole purpose of fast testing.
testInsecure = []TestParametersLiteral{
{
BaseTwoDecomposition: 16,
ParametersLiteral: rlwe.ParametersLiteral{
LogN: logN,
Q: qi,
P: pj[:1],
NTTFlag: true,
},
},
{
BaseTwoDecomposition: 0,
ParametersLiteral: rlwe.ParametersLiteral{
LogN: logN,
Q: qi,
P: pj,
NTTFlag: true,
},
},
}
)