Documentation ¶
Index ¶
- func Broadcast(pm types.PeerManager, msg proto.Message)
- func ComputeSSID(sid, id, rid []byte) []byte
- func ComputeZKSsid(ssid []byte, bk *birkhoffinterpolation.BkParameter) []byte
- func MtaWithProofAff_g(ownssidwithbk []byte, peerPed *paillierzkproof.PederssenOpenParameter, ...) (*big.Int, *big.Int, *big.Int, *big.Int, []byte, *big.Int, ...)
- func MtaWithProofAff_p(ownssidwithbk []byte, peerPed *paillierzkproof.PederssenOpenParameter, ...) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, ...)
- func PerformMTA(ped *paillierzkproof.PederssenOpenParameter, paillierKey *paillier.Paillier, ...) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSSID ¶
The output is sid + ',' + id ',' + rid.
func ComputeZKSsid ¶
func ComputeZKSsid(ssid []byte, bk *birkhoffinterpolation.BkParameter) []byte
func MtaWithProofAff_g ¶
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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.