aboutsummaryrefslogtreecommitdiffstats
path: root/ffi/go/bls/bls_test.go
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-12-05 10:59:06 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-12-05 10:59:06 +0800
commitf63e122a2cff8d0e20288b897c449a42cdf84897 (patch)
treebed5a15333c3d04fbf23f583a56bbc64c8c9d271 /ffi/go/bls/bls_test.go
parentafbcbeaaf3b5f9962af382d668ae5bcad337f661 (diff)
downloaddexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.gz
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.bz2
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.lz
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.xz
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.tar.zst
dexon-bls-f63e122a2cff8d0e20288b897c449a42cdf84897.zip
-tags options is necessary fo cgo
Diffstat (limited to 'ffi/go/bls/bls_test.go')
-rw-r--r--ffi/go/bls/bls_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/ffi/go/bls/bls_test.go b/ffi/go/bls/bls_test.go
index adc2806..bc94703 100644
--- a/ffi/go/bls/bls_test.go
+++ b/ffi/go/bls/bls_test.go
@@ -380,8 +380,10 @@ func TestMain(t *testing.T) {
t.Log("CurveFp254BNb")
test(t, CurveFp254BNb)
if GetMaxOpUnitSize() == 6 {
- t.Log("CurveFp382_1")
- test(t, CurveFp382_1)
+ if GetFrUnitSize() == 6 {
+ t.Log("CurveFp382_1")
+ test(t, CurveFp382_1)
+ }
t.Log("BLS12_381")
test(t, BLS12_381)
}