keygen

package
v0.0.0-...-e59d3c4 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DECDSA_Key_Commitment_Verify

func DECDSA_Key_Commitment_Verify(com *ec2.Commitment) bool

func DECDSA_Key_GenerateNtildeH1H2

func DECDSA_Key_GenerateNtildeH1H2(length int) *ec2.NtildeH1H2

func DECDSA_Key_GetSharesId

func DECDSA_Key_GetSharesId(v *ec2.ShareStruct2) *big.Int

func DECDSA_Key_RoundOne

func DECDSA_Key_RoundOne(ThresHold int, PaillierKeyLength int) (*big.Int, *ec2.PolyStruct2, *ec2.PolyGStruct2, *ec2.Commitment, *ec2.PublicKey, *ec2.PrivateKey)

func DECDSA_Key_Verify_Share

func DECDSA_Key_Verify_Share(share *ec2.ShareStruct2, polyG *ec2.PolyGStruct2) bool

func DECDSA_Key_Vss

func DECDSA_Key_Vss(u1Poly *ec2.PolyStruct2, ids []*big.Int) ([]*ec2.ShareStruct2, error)

func DECDSA_Key_ZkUProve

func DECDSA_Key_ZkUProve(u *big.Int) *ec2.ZkUProof

func DECDSA_Key_ZkUVerify

func DECDSA_Key_ZkUVerify(u []*big.Int, zkUProof *ec2.ZkUProof) bool

func GetRandomInt

func GetRandomInt(length int) *big.Int

func GetRandomIntFromZn

func GetRandomIntFromZn(n *big.Int) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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