Documentation
¶
Index ¶
- func DECDSA_Key_Commitment_Verify(com *ec2.Commitment) bool
- func DECDSA_Key_GenerateNtildeH1H2(length int) *ec2.NtildeH1H2
- func DECDSA_Key_GetSharesId(v *ec2.ShareStruct2) *big.Int
- func DECDSA_Key_RoundOne(ThresHold int, PaillierKeyLength int) (*big.Int, *ec2.PolyStruct2, *ec2.PolyGStruct2, *ec2.Commitment, *ec2.PublicKey, ...)
- func DECDSA_Key_Verify_Share(share *ec2.ShareStruct2, polyG *ec2.PolyGStruct2) bool
- func DECDSA_Key_Vss(u1Poly *ec2.PolyStruct2, ids []*big.Int) ([]*ec2.ShareStruct2, error)
- func DECDSA_Key_ZkUProve(u *big.Int) *ec2.ZkUProof
- func DECDSA_Key_ZkUVerify(u []*big.Int, zkUProof *ec2.ZkUProof) bool
- func GetRandomInt(length int) *big.Int
- func GetRandomIntFromZn(n *big.Int) *big.Int
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 GetRandomInt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.