diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-08-13 11:54:24 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-08-13 11:54:24 +0800 |
commit | 56dd66510ebc611f8befbd5b22cb061616756491 (patch) | |
tree | f04653e9d0de94027b30909e13d6de7aa144bbd8 /test/bls_c384_test.cpp | |
parent | 9feb40dbffe802f69c21656e7bbc8bf3063b4c4d (diff) | |
download | dexon-bls-56dd66510ebc611f8befbd5b22cb061616756491.tar dexon-bls-56dd66510ebc611f8befbd5b22cb061616756491.tar.gz dexon-bls-56dd66510ebc611f8befbd5b22cb061616756491.tar.bz2 dexon-bls-56dd66510ebc611f8befbd5b22cb061616756491.tar.lz dexon-bls-56dd66510ebc611f8befbd5b22cb061616756491.tar.xz dexon-bls-56dd66510ebc611f8befbd5b22cb061616756491.tar.zst dexon-bls-56dd66510ebc611f8befbd5b22cb061616756491.zip |
add bls api for getFrByteSize and getG1ByteSize
Diffstat (limited to 'test/bls_c384_test.cpp')
-rw-r--r-- | test/bls_c384_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bls_c384_test.cpp b/test/bls_c384_test.cpp index 79b9c54..6202697 100644 --- a/test/bls_c384_test.cpp +++ b/test/bls_c384_test.cpp @@ -24,8 +24,8 @@ void blsDataTest() { const char *msg = "test test"; const size_t msgSize = strlen(msg); - const size_t FrSize = mclBn_getFrByteSize(); - const size_t FpSize = mclBn_getG1ByteSize(); + const size_t FrSize = blsGetFrByteSize(); + const size_t FpSize = blsGetG1ByteSize(); blsSecretKey sec1, sec2; blsSecretKeySetByCSPRNG(&sec1); char buf[1024]; @@ -117,8 +117,8 @@ CYBOZU_TEST_AUTO(multipleInit) void blsSerializeTest() { - const size_t FrSize = mclBn_getFrByteSize(); - const size_t FpSize = mclBn_getG1ByteSize(); + const size_t FrSize = blsGetFrByteSize(); + const size_t FpSize = blsGetG1ByteSize(); printf("FrSize=%d, FpSize=%d\n", (int)FrSize, (int)FpSize); blsId id1, id2; blsSecretKey sec1, sec2; |