Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindShortVector ¶
FindShortVector finds a "short" non-zero vector `(d_0, d_1)` such that `d_0 = d_1 k mod ell`. `d_0` and `d_1` may be negative.
Implements Algorithm 4 from [Pornin 2020](https://eprint.iacr.org/2020/454).
Types ¶
type Int128 ¶
type Int128 struct {
// contains filtered or unexported fields
}
Int128 is a representation of a signed 128-bit integer.
func (Int128) IsNegative ¶
IsNegative returns whether or not the Int128 is negative.
Click to show internal directories.
Click to hide internal directories.