package
0.0.0-20240806202947-369a1d73b513
Repository: https://github.com/overclock-validator/keep-core.git
Documentation: pkg.go.dev

# Functions

AggregateG1Points aggregates array of G1 points into a single G1 point.
AggregateG2Points aggregates array of G2 points into a single G2 point.
GetSecretKeyShare computes secret share by evaluating a polynomial with coefficients taken from masterSecretKey.
RecoverPublicKey reconstructs public key from a threshold number of public key shares using Lagrange interpolation.
RecoverSignature reconstructs the full BLS signature from a threshold number of signature shares using Lagrange interpolation.
Sign creates a point on a curve G1 by hashing and signing provided message using the provided secret key.
SignG1 creates a point on a curve G1 by signing the provided G1 point message using the provided secret key.
Verify performs the pairing operation to check if the signature is correct for the provided message and the corresponding public key.
VerifyG1 performs the pairing operation to check if the signature is correct for the provided G1 point message and the corresponding public key.

# Structs

PublicKeyShare represents public key share and its index.
SecretKeyShare represents secret key share and its index.
SignatureShare represents signature share and its index.