diff options
Diffstat (limited to 'go/bls/mcl.go')
-rw-r--r-- | go/bls/mcl.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/go/bls/mcl.go b/go/bls/mcl.go index 504fc7c..00feebc 100644 --- a/go/bls/mcl.go +++ b/go/bls/mcl.go @@ -3,7 +3,6 @@ package bls /* #cgo CFLAGS:-DMCLBN_FP_UNIT_SIZE=6 #include <mcl/bn.h> -#include <bls/bls.h> */ import "C" import "fmt" @@ -18,6 +17,9 @@ const CurveFp382_1 = C.mclBn_CurveFp382_1 // CurveFp382_2 -- 382 bit curve 2 const CurveFp382_2 = C.mclBn_CurveFp382_2 +// BLS12_381 +const BLS12_381 = C.MCL_BLS12_381 + // GetMaxOpUnitSize -- func GetMaxOpUnitSize() int { return int(C.MCLBN_FP_UNIT_SIZE) |