diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-04-28 09:07:40 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-04-28 09:07:40 +0800 |
commit | 2d2d4a11b718932a17a9ea817f3f7ac115864c85 (patch) | |
tree | 68dfb88d2e7921f542751d9a8df16fd5ec5a75ab /go/bls | |
parent | ae8342e9fdd14844606eb03ebe32fcf77f156b76 (diff) | |
download | dexon-bls-2d2d4a11b718932a17a9ea817f3f7ac115864c85.tar dexon-bls-2d2d4a11b718932a17a9ea817f3f7ac115864c85.tar.gz dexon-bls-2d2d4a11b718932a17a9ea817f3f7ac115864c85.tar.bz2 dexon-bls-2d2d4a11b718932a17a9ea817f3f7ac115864c85.tar.lz dexon-bls-2d2d4a11b718932a17a9ea817f3f7ac115864c85.tar.xz dexon-bls-2d2d4a11b718932a17a9ea817f3f7ac115864c85.tar.zst dexon-bls-2d2d4a11b718932a17a9ea817f3f7ac115864c85.zip |
add comment to init function
Diffstat (limited to 'go/bls')
-rw-r--r-- | go/bls/bls.go | 2 |
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) } |