diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-28 05:10:58 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-28 05:10:58 +0800 |
commit | bde5246422c01f5ecc231555909dc9c16ef00fe2 (patch) | |
tree | 931d1e414eb67623c31b4b7be0cd4f65337cc2f3 | |
parent | 5a2fded35bbc0d341da374d6c43c0091e026266b (diff) | |
download | dexon-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.hpp | 6 |
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; |