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 /include/bls_if.h | |
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 'include/bls_if.h')
-rw-r--r-- | include/bls_if.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bls_if.h b/include/bls_if.h index 37b755f..2eb8f1b 100644 --- a/include/bls_if.h +++ b/include/bls_if.h @@ -43,6 +43,11 @@ typedef struct { uint64_t buf[BLS_MAX_OP_UNIT_SIZE * 3]; } blsSign; +/* + initialize this library + call this once before using the other method + @note init() is not thread safe +*/ void blsInit(int curve, int maxUnitSize); size_t blsGetOpUnitSize(void); // return strlen(buf) if success else 0 |