aboutsummaryrefslogtreecommitdiffstats
path: root/go/bls/bls.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/bls/bls.go')
-rw-r--r--go/bls/bls.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/go/bls/bls.go b/go/bls/bls.go
index 6aba00b..f4faf92 100644
--- a/go/bls/bls.go
+++ b/go/bls/bls.go
@@ -21,6 +21,8 @@ const CurveFp382_1 = 1
const CurveFp382_2 = 2
// Init --
+// call this function before calling all the other operations
+// this function is not thread safe
func Init(curve int) {
C.blsInit(C.int(curve), C.BLS_MAX_OP_UNIT_SIZE)
}