diff options
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 |