diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-03-15 05:07:20 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-03-15 05:07:20 +0800 |
commit | d085930d574264ae30c1091a9948c21b3160feb8 (patch) | |
tree | ce192c0cd0bcc7e3e9a8402a3147409392159277 /test/bls_if_test.cpp | |
parent | a148e716c06551b5ac143477c919548c9a682a03 (diff) | |
download | dexon-bls-d085930d574264ae30c1091a9948c21b3160feb8.tar.gz dexon-bls-d085930d574264ae30c1091a9948c21b3160feb8.tar.zst dexon-bls-d085930d574264ae30c1091a9948c21b3160feb8.zip |
add UNIT option to select bn256 or bn384
Diffstat (limited to 'test/bls_if_test.cpp')
-rw-r--r-- | test/bls_if_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bls_if_test.cpp b/test/bls_if_test.cpp index 84a2961..e93d85d 100644 --- a/test/bls_if_test.cpp +++ b/test/bls_if_test.cpp @@ -10,7 +10,7 @@ CYBOZU_TEST_AUTO(bls_if) const char *msg = "this is a pen"; const size_t msgSize = strlen(msg); - blsInit(BlsCurveFp254BNb); + blsInit(BlsCurveFp254BNb, BLS_MAX_OP_UNIT_SIZE); sec = blsSecretKeyCreate(); blsSecretKeyInit(sec); blsSecretKeyPut(sec); @@ -38,7 +38,7 @@ CYBOZU_TEST_AUTO(bls_if_use_stack) const char *msg = "this is a pen"; const size_t msgSize = strlen(msg); - blsInit(BlsCurveFp254BNb); + blsInit(BlsCurveFp254BNb, BLS_MAX_OP_UNIT_SIZE); blsSecretKeyInit(&sec); blsSecretKeyPut(&sec); |