sign_online

package
v0.0.0-...-ae70d50 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alice

type Alice struct {
	// contains filtered or unexported fields
}

Alice struct encoding Alice's state during one execution of the overall signing algorithm. At the end of the joint computation, Alice will not possess the signature.

func NewAlice

func NewAlice(curve *curves.Curve, output *sign_offline.AliceOutput) *Alice

NewAlice creates a party that can participate in protocol runs of DKLs sign, in the role of Alice.

func (*Alice) Step2

func (alice *Alice) Step2(m []byte, s2 curves.Scalar) *curves.EcdsaSignature

type Bob

type Bob struct {
	// contains filtered or unexported fields
}

Bob struct encoding Bob's state during one execution of the overall signing algorithm. At the end of the joint computation, Bob will obtain the signature.

func NewBob

func NewBob(curve *curves.Curve, output *sign_offline.BobOutput) *Bob

NewBob creates a party that can participate in protocol runs of DKLs sign, in the role of Bob. This party receives the signature at the end.

func (*Bob) Step1

func (bob *Bob) Step1(m []byte) curves.Scalar

Jump to

Keyboard shortcuts

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