diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-02-17 04:48:57 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-02-17 04:48:57 +0800 |
commit | cd71bb8054a39a795c2cbb6a79431d7dcd901a70 (patch) | |
tree | 6cb984ade81400da01416cdee17f9ec3cdf4b49a /test/bls_test.cpp | |
parent | dda188ddd4369123eab613b1ad531f96f573e2ab (diff) | |
download | dexon-bls-cd71bb8054a39a795c2cbb6a79431d7dcd901a70.tar dexon-bls-cd71bb8054a39a795c2cbb6a79431d7dcd901a70.tar.gz dexon-bls-cd71bb8054a39a795c2cbb6a79431d7dcd901a70.tar.bz2 dexon-bls-cd71bb8054a39a795c2cbb6a79431d7dcd901a70.tar.lz dexon-bls-cd71bb8054a39a795c2cbb6a79431d7dcd901a70.tar.xz dexon-bls-cd71bb8054a39a795c2cbb6a79431d7dcd901a70.tar.zst dexon-bls-cd71bb8054a39a795c2cbb6a79431d7dcd901a70.zip |
benchmark of Sign::recover of n = 3
Diffstat (limited to 'test/bls_test.cpp')
-rw-r--r-- | test/bls_test.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/bls_test.cpp b/test/bls_test.cpp index e58f541..2aeb63a 100644 --- a/test/bls_test.cpp +++ b/test/bls_test.cpp @@ -206,6 +206,13 @@ CYBOZU_TEST_AUTO(k_of_n) } } { + signVec[0] = allSignVec[1]; idVec[0] = allIdVec[1]; + signVec[1] = allSignVec[4]; idVec[1] = allIdVec[4]; + signVec[2] = allSignVec[3]; idVec[2] = allIdVec[3]; + bls::Sign s; + CYBOZU_BENCH_C("s.recover", 100, s.recover, signVec, idVec); + } + { /* n-out-of-n can recover |