mirror of
https://github.com/luxfi/lattice.git
synced 2026-09-24 00:25:44 +00:00
20 lines
450 B
Go
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}
|
|
)
|