diff options
Diffstat (limited to 'go/bls/bls_test.go')
-rw-r--r-- | go/bls/bls_test.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/go/bls/bls_test.go b/go/bls/bls_test.go index 5d5d432..400f90d 100644 --- a/go/bls/bls_test.go +++ b/go/bls/bls_test.go @@ -292,6 +292,9 @@ func testOrder(t *testing.T, c int) { } else if c == CurveFp382_2 { curve = "5541245505022739011583672869577435255026888277144126952448297309161979278754528049907713682488818304329661351460877" field = "5541245505022739011583672869577435255026888277144126952450651294188487038640194767986566260919128250811286032482323" + } else if c == BLS12_381 { + curve = "52435875175126190479447740508185965837690552500527637822603658699938581184513" + field = "4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787" } else { t.Fatal("bad c", c) } @@ -343,8 +346,8 @@ func TestMain(t *testing.T) { if GetMaxOpUnitSize() == 6 { t.Log("CurveFp382_1") test(t, CurveFp382_1) - t.Log("CurveFp382_2") - test(t, CurveFp382_2) + t.Log("BLS12_381") + test(t, BLS12_381) } } |