diff options
Diffstat (limited to 'go/bls/mcl.go')
-rw-r--r-- | go/bls/mcl.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/go/bls/mcl.go b/go/bls/mcl.go index c7a5ffd..d523308 100644 --- a/go/bls/mcl.go +++ b/go/bls/mcl.go @@ -17,17 +17,6 @@ const CurveFp382_1 = C.mclBn_CurveFp382_1 // CurveFp382_2 -- 382 bit curve 2 const CurveFp382_2 = C.mclBn_CurveFp382_2 -// Init -- -// call this function before calling all the other operations -// this function is not thread safe -func mclInit(curve int) error { - err := C.mclBn_init(C.int(curve), C.MCLBN_FP_UNIT_SIZE) - if err != 0 { - return fmt.Errorf("ERR mclBn_init curve=%d", curve) - } - return nil -} - //////////////////////////////////////////////// // Fr -- type Fr struct { |