cggmp

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Broadcast

func Broadcast(pm types.PeerManager, msg proto.Message)

func ComputeSSID

func ComputeSSID(sid, id, rid []byte) []byte

The output is sid + ',' + id ',' + rid.

func ComputeZKSsid

func ComputeZKSsid(ssid []byte, bk *birkhoffinterpolation.BkParameter) []byte

func MtaWithProofAff_g

func MtaWithProofAff_g(ownssidwithbk []byte, peerPed *paillierzkproof.PederssenOpenParameter, paillierKey *paillier.Paillier, msgCipher []byte, x *big.Int, ecPoint *pt.ECPoint) (*big.Int, *big.Int, *big.Int, *big.Int, []byte, *big.Int, *paillierzkproof.PaillierAffAndGroupRangeMessage, error)

func MtaWithProofAff_p

func MtaWithProofAff_p(ownssidwithbk []byte, peerPed *paillierzkproof.PederssenOpenParameter, paillierKey *paillier.Paillier, msgKCipher []byte, gamma *big.Int, mu *big.Int, gammaCiphertext *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *paillierzkproof.PaillierOperationAndCommitmentMessage, error)

func PerformMTA

func PerformMTA(ped *paillierzkproof.PederssenOpenParameter, paillierKey *paillier.Paillier, msgCipher []byte, x *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL