diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-21 14:48:23 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-21 14:48:23 +0800 |
commit | a90c968b55d975bc0e958631892d1a1799ae97d5 (patch) | |
tree | 8111d4ee935f4a53bcb952811cda632fd151686f /include/bls.hpp | |
parent | 3b17399925767333832756ca5ccc04c3197eed4b (diff) | |
download | dexon-bls-a90c968b55d975bc0e958631892d1a1799ae97d5.tar dexon-bls-a90c968b55d975bc0e958631892d1a1799ae97d5.tar.gz dexon-bls-a90c968b55d975bc0e958631892d1a1799ae97d5.tar.bz2 dexon-bls-a90c968b55d975bc0e958631892d1a1799ae97d5.tar.lz dexon-bls-a90c968b55d975bc0e958631892d1a1799ae97d5.tar.xz dexon-bls-a90c968b55d975bc0e958631892d1a1799ae97d5.tar.zst dexon-bls-a90c968b55d975bc0e958631892d1a1799ae97d5.zip |
replace prv with sec
Diffstat (limited to 'include/bls.hpp')
-rw-r--r-- | include/bls.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/bls.hpp b/include/bls.hpp index 96a0d72..7cfeed8 100644 --- a/include/bls.hpp +++ b/include/bls.hpp @@ -143,8 +143,8 @@ public: bool operator==(const SecretKey& rhs) const; bool operator!=(const SecretKey& rhs) const { return !(*this == rhs); } int getId() const { return id_; } - friend std::ostream& operator<<(std::ostream& os, const SecretKey& prv); - friend std::istream& operator>>(std::istream& is, SecretKey& prv); + friend std::ostream& operator<<(std::ostream& os, const SecretKey& sec); + friend std::istream& operator>>(std::istream& is, SecretKey& sec); /* make a private key for id = 0 */ @@ -164,9 +164,9 @@ public: */ void set(const MasterSecretKey& msk, int id); /* - recover secretKey from k prvVec + recover secretKey from k secVec */ - void recover(const std::vector<SecretKey>& prvVec); + void recover(const std::vector<SecretKey>& secVec); /* add private key only if id_ == 0 */ |