Files
lattice/he/heint/parameters_test.go
2023-12-15 21:45:54 +01:00

20 lines
450 B
Go

package heint_test
import (
"github.com/luxdefi/lattice/v5/he/heint"
)
var (
// testInsecure are insecure parameters used for the sole purpose of fast testing.
testInsecure = heint.ParametersLiteral{
LogN: 10,
Q: []uint64{0x3fffffa8001, 0x1000090001, 0x10000c8001, 0x10000f0001, 0xffff00001},
P: []uint64{0x7fffffd8001},
}
testPlaintextModulus = []uint64{0x101, 0xffc001}
testParams = []heint.ParametersLiteral{testInsecure}
)