You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In bfv/bgv, I was trying to use as many levels as possible. It seems that loqQ can be formed by at most 32 sizes of primes. Indeed, the following parameters do not work.
I can encrypt and decrypt, but when decoding the plaintext obtained as a result of the decryption, I got the runtime error "index out of range [32] with length 32" raised by ring.reconstructRNS.
What version of Lattigo are you using?
v6.0.0
Does this issue persist with the latest release?
Yes
What were you trying to do?
In bfv/bgv, I was trying to use as many levels as possible. It seems that loqQ can be formed by at most 32 sizes of primes. Indeed, the following parameters do not work.
bgv.ParametersLiteral{
LogN: 16,
LogQ: []int{56, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30},
LogP: []int{60, 60, 60, 60, 60},
PlaintextModulus: 0xc0001,
}
See discussion #516
What were you expecting to happen?
What actually happened?
I can encrypt and decrypt, but when decoding the plaintext obtained as a result of the decryption, I got the runtime error "index out of range [32] with length 32" raised by ring.reconstructRNS.
Reproducibility
package main
import (
"fmt"
"math/rand"
"slices"
)
func main() {
var err error
var params bgv.Parameters
}
The text was updated successfully, but these errors were encountered: