aboutsummaryrefslogtreecommitdiffstats
path: root/test/bls_test.hpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-09-21 16:48:19 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-09-21 16:48:19 +0800
commite68b2a3fb07999ba000eccb1727c527763d56e9f (patch)
tree17afbcda0b3c98129966df965a397f1d4d2cc725 /test/bls_test.hpp
parent5b33a863f08bbd60d7631bd586e00c993f8cda1e (diff)
downloaddexon-bls-e68b2a3fb07999ba000eccb1727c527763d56e9f.tar
dexon-bls-e68b2a3fb07999ba000eccb1727c527763d56e9f.tar.gz
dexon-bls-e68b2a3fb07999ba000eccb1727c527763d56e9f.tar.bz2
dexon-bls-e68b2a3fb07999ba000eccb1727c527763d56e9f.tar.lz
dexon-bls-e68b2a3fb07999ba000eccb1727c527763d56e9f.tar.xz
dexon-bls-e68b2a3fb07999ba000eccb1727c527763d56e9f.tar.zst
dexon-bls-e68b2a3fb07999ba000eccb1727c527763d56e9f.zip
add blsVerifyAggregatedHashes
Diffstat (limited to 'test/bls_test.hpp')
-rw-r--r--test/bls_test.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bls_test.hpp b/test/bls_test.hpp
index 62ef0eb..e0329da 100644
--- a/test/bls_test.hpp
+++ b/test/bls_test.hpp
@@ -458,7 +458,7 @@ void verifyAggregateTest(int type)
if (type == MCL_BLS12_381) {
/*
CAUTION!!!
- BN::mapToG1 called in blsG1SetHash(h) may return same point for different h.
+ BN::mapToG1 may return same point for different h.
especially, maptG1(h) may be equal to mapG1(h') such as |h - h'| < small value for BLS12_381.
*/
CYBOZU_TEST_ASSERT(sig.verifyAggregatedHashes(pubs, h.data(), sizeofHash, n));