Skip to content

Commit

Permalink
Merge pull request #3 from rolsonquadras/main
Browse files Browse the repository at this point in the history
chore: Mathlib dep update
  • Loading branch information
rolsonquadras authored Oct 30, 2023
2 parents 5347c84 + 4c90fab commit a548a3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bbs12381g2pub/keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func TestPublicKey_Marshal(t *testing.T) {
pubKeyUnmarshalled, err := bbs.UnmarshalPublicKey(pubKeyBytes)
require.NoError(t, err)
require.NotNil(t, pubKeyUnmarshalled)
require.Equal(t, pubKey, pubKeyUnmarshalled)
require.True(t, pubKey.PointG2.Equals(pubKeyUnmarshalled.PointG2))
}

func TestParseMattrKeys(t *testing.T) {
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module github.com/trustbloc/bbs-signature-go
go 1.21

require (
github.com/IBM/mathlib v0.0.3-0.20230831083617-4a731ed31b2a
github.com/IBM/mathlib v0.0.3-0.20231011094432-44ee0eb539da
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/stretchr/testify v1.8.2
golang.org/x/crypto v0.10.0
Expand All @@ -20,11 +20,9 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/hyperledger/fabric-amcl v0.0.0-20230602173724-9e02669dceb2 // indirect
github.com/kilic/bls12-381 v0.1.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
golang.org/x/sys v0.9.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
Expand Down
5 changes: 2 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/IBM/mathlib v0.0.3-0.20230831083617-4a731ed31b2a h1:xWKqjaYWIbZ/um4ZBj6akjqlIaknSie2DsZhYLyQDq8=
github.com/IBM/mathlib v0.0.3-0.20230831083617-4a731ed31b2a/go.mod h1:k0NBSWMYVgaZ2keDuI8DSwdIEhUNhp8XnlVmm6Xwyuk=
github.com/IBM/mathlib v0.0.3-0.20231011094432-44ee0eb539da h1:qqGozq4tF6EOVnWoTgBoJGudRKKZXSAYnEtDggzTnsw=
github.com/IBM/mathlib v0.0.3-0.20231011094432-44ee0eb539da/go.mod h1:Tco9QzE3fQzjMS7nPbHDeFfydAzctStf1Pa8hsh6Hjs=
github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII=
github.com/bits-and-blooms/bitset v1.7.0 h1:YjAGVd3XmtK9ktAbX8Zg2g2PwLIMjGREZJHlV4j7NEo=
github.com/bits-and-blooms/bitset v1.7.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA=
Expand All @@ -17,7 +17,6 @@ github.com/consensys/bavard v0.1.13 h1:oLhMLOFGTLdlda/kma4VOJazblc7IM5y5QPd2A/Yj
github.com/consensys/bavard v0.1.13/go.mod h1:9ItSMtA/dXMAiL7BG6bqW2m3NdSEObYWoH223nGHukI=
github.com/consensys/gnark-crypto v0.12.1 h1:lHH39WuuFgVHONRl3J0LRBtuYdQTumFSDtJF7HpyG8M=
github.com/consensys/gnark-crypto v0.12.1/go.mod h1:v2Gy7L/4ZRosZ7Ivs+9SfUDr0f5UlG+EM5t7MPHiLuY=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
Expand Down

0 comments on commit a548a3f

Please sign in to comment.