aboutsummaryrefslogtreecommitdiffstats
path: root/include/bls_if.h
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-04-28 09:07:40 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-04-28 09:07:40 +0800
commit2d2d4a11b718932a17a9ea817f3f7ac115864c85 (patch)
tree68dfb88d2e7921f542751d9a8df16fd5ec5a75ab /include/bls_if.h
parentae8342e9fdd14844606eb03ebe32fcf77f156b76 (diff)
downloaddexon-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.h5
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