diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-04-02 10:20:28 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-04-02 10:20:28 +0800 |
commit | 1ddd6b9e97d6ab27e2472165066e7ce4ef81e255 (patch) | |
tree | 71e8b583024e1c4f6f0b5c7a9328036542ff5fac /go | |
parent | af7764d36900c9463cff3caf95b014b67a2775f5 (diff) | |
download | dexon-bls-1ddd6b9e97d6ab27e2472165066e7ce4ef81e255.tar dexon-bls-1ddd6b9e97d6ab27e2472165066e7ce4ef81e255.tar.gz dexon-bls-1ddd6b9e97d6ab27e2472165066e7ce4ef81e255.tar.bz2 dexon-bls-1ddd6b9e97d6ab27e2472165066e7ce4ef81e255.tar.lz dexon-bls-1ddd6b9e97d6ab27e2472165066e7ce4ef81e255.tar.xz dexon-bls-1ddd6b9e97d6ab27e2472165066e7ce4ef81e255.tar.zst dexon-bls-1ddd6b9e97d6ab27e2472165066e7ce4ef81e255.zip |
compare sign as string
Diffstat (limited to 'go')
-rw-r--r-- | go/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ func testSign() { signVec[i] = *secVec[i].Sign(m) s := *secVec[i].SignCT(m) - verifyTrue(signVec[i] == s); + verifyTrue(signVec[i].String() == s.String()); verifyTrue(signVec[i].Verify(&pubVec[i], m)) } var sec1 blscgo.SecretKey |