aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-08-28 05:10:58 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-08-28 05:10:58 +0800
commitbde5246422c01f5ecc231555909dc9c16ef00fe2 (patch)
tree931d1e414eb67623c31b4b7be0cd4f65337cc2f3
parent5a2fded35bbc0d341da374d6c43c0091e026266b (diff)
downloaddexon-bls-bde5246422c01f5ecc231555909dc9c16ef00fe2.tar
dexon-bls-bde5246422c01f5ecc231555909dc9c16ef00fe2.tar.gz
dexon-bls-bde5246422c01f5ecc231555909dc9c16ef00fe2.tar.bz2
dexon-bls-bde5246422c01f5ecc231555909dc9c16ef00fe2.tar.lz
dexon-bls-bde5246422c01f5ecc231555909dc9c16ef00fe2.tar.xz
dexon-bls-bde5246422c01f5ecc231555909dc9c16ef00fe2.tar.zst
dexon-bls-bde5246422c01f5ecc231555909dc9c16ef00fe2.zip
fix comment
-rw-r--r--include/bls.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/bls.hpp b/include/bls.hpp
index 4662d72..57ae73e 100644
--- a/include/bls.hpp
+++ b/include/bls.hpp
@@ -44,7 +44,7 @@ class Sign;
class Id;
/*
- value of secretKey and Id is less than
+ value of secretKey and Id must be less than
r = 16798108731015832284940804142231733909759579603404752749028378864165570215949
*/
const size_t keySize = 4; // 256-bit size
@@ -71,7 +71,7 @@ public:
bool isZero() const;
/*
set p[0, .., keySize)
- @note the value should be less than r or truncated in [0, r)
+ @note the value must be less than r
*/
void set(const uint64_t *p);
};
@@ -102,7 +102,7 @@ public:
void init();
/*
set secretKey with p[0, .., keySize) and set id = 0
- @note the value should be less than r or truncated in [0, r)
+ @note the value must be less than r
*/
void set(const uint64_t *p);
void getPublicKey(PublicKey& pub) const;