prysm-pulse/shared/bls/constants.go
Nishant Das 211d9bc0b9
Update BLST And Herumi (#7632)
* fix build from source

* clean up

* update again

* change everything

* workaround for now

* fix versioning

* all passing now

* fix build issues

* clean up

* revert use of MulVerify

* gaz

* stub

* Apply suggestions from code review

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* fix all

* fix test

* todo

* fix stub

* revert back

* make deep source happy

* Update shared/bls/herumi/public_key.go

* Update shared/bls/blst/signature.go

* Update shared/bls/blst/signature_test.go

* imports

* move iface to common, export errors

* rm iface build

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2020-10-30 19:06:33 +00:00

18 lines
487 B
Go

package bls
import (
"github.com/prysmaticlabs/prysm/shared/bls/common"
)
// DomainByteLength length of domain byte array.
const DomainByteLength = 4
// CurveOrder for the BLS12-381 curve.
const CurveOrder = "52435875175126190479447740508185965837690552500527637822603658699938581184513"
// ZeroSecretKey represents a zero secret key.
var ZeroSecretKey = common.ZeroSecretKey
// InfinitePublicKey represents an infinite public key.
var InfinitePublicKey = common.InfinitePublicKey