mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-10 18:25:17 +00:00
35561a9e41
* v1.4.19-p1 * remove integrity check from startup
24 lines
561 B
Go
24 lines
561 B
Go
package bls48581
|
|
|
|
import (
|
|
generated "source.quilibrium.com/quilibrium/monorepo/bls48581/generated/bls48581"
|
|
)
|
|
|
|
//go:generate ./generate.sh
|
|
|
|
func Init() {
|
|
generated.Init()
|
|
}
|
|
|
|
func CommitRaw(data []byte, polySize uint64) []byte {
|
|
return generated.CommitRaw(data, polySize)
|
|
}
|
|
|
|
func ProveRaw(data []byte, index uint64, polySize uint64) []byte {
|
|
return generated.ProveRaw(data, index, polySize)
|
|
}
|
|
|
|
func VerifyRaw(data []byte, commit []byte, index uint64, proof []byte, polySize uint64) bool {
|
|
return generated.VerifyRaw(data, commit, index, proof, polySize)
|
|
}
|