Documentation
¶
Index ¶
- func ChallengeInit(msg string, a fr.Element, pk bn254.G1Affine) fr.Element
- func ChallengeMain(msg string, r fr.Element, c fr.Element, pk bn254.G1Affine, ...) fr.Element
- func GenerateFe() fr.Element
- func GenerateGe(fe fr.Element) bn254.G1Affine
- func GetKeyImage(sk fr.Element, pk bn254.G1Affine) bn254.G1Affine
- func GetRandomShiftFactor(n int) int
- func GetSignerIndex(ring []bn254.G1Affine, pk bn254.G1Affine) (int, error)
- func HashPointToPoint(pk bn254.G1Affine) bn254.G1Affine
- func KeyGen() (fr.Element, bn254.G1Affine)
- func Sign(msg string, sk fr.Element, ring []bn254.G1Affine, keyImage bn254.G1Affine) []fr.Element
- func Verify(msg string, sig []fr.Element, ring []bn254.G1Affine, keyImage bn254.G1Affine) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChallengeMain ¶
func GenerateFe ¶
func GetRandomShiftFactor ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.