-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined: bls12377.HashToCurveG1Svdw #404
Comments
Looks like this was due to this PR: #188 |
FWIW, in a separate project, I vendored diff --git a/go/vendorlibs/coinbase/kryptology/pkg/core/curves/bls12377_curve.go b/go/vendorlibs/coinbase/kryptolo
gy/pkg/core/curves/bls12377_curve.go
index c449431e..2b47613d 100644
--- a/go/vendorlibs/coinbase/kryptology/pkg/core/curves/bls12377_curve.go
+++ b/go/vendorlibs/coinbase/kryptology/pkg/core/curves/bls12377_curve.go
@@ -349,7 +349,7 @@ func (p *PointBls12377G1) Random(reader io.Reader) Point {
func (p *PointBls12377G1) Hash(bytes []byte) Point {
var domain = []byte("BLS12377G1_XMD:SHA-256_SVDW_RO_")
- pt, err := bls12377.HashToG1Svdw(bytes, domain)
+ pt, err := bls12377.HashToG1(bytes, domain)
if err != nil {
return nil
}
@@ -623,7 +623,7 @@ func (p *PointBls12377G2) Random(reader io.Reader) Point {
func (p *PointBls12377G2) Hash(bytes []byte) Point {
var domain = []byte("BLS12377G2_XMD:SHA-256_SVDW_RO_")
- pt, err := bls12377.HashToCurveG2Svdw(bytes, domain)
+ pt, err := bls12377.HashToG2(bytes, domain)
if err != nil {
return nil
} And then I updated that project's go.mod to use it:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Failed to compile the project with this error
The text was updated successfully, but these errors were encountered: