diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-03-20 03:09:44 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-03-20 03:09:44 +0000 |
commit | 9f148107dd8c49b13839c8e3d0c26444eebeeef9 (patch) | |
tree | 98c122b6bde185f16a1bc5c01173f42d7828df77 /rw.h | |
parent | 3c0752b2063319fb917fcaf2144671c2f1032242 (diff) | |
download | cryptopp-9f148107dd8c49b13839c8e3d0c26444eebeeef9.tar.gz |
fix RW/EMSA2 standard conformance bug
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@40 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rw.h')
-rw-r--r-- | rw.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,8 +24,8 @@ public: void DEREncode(BufferedTransformation &bt) const; Integer ApplyFunction(const Integer &x) const; - Integer PreimageBound() const {return m_n;} - Integer ImageBound() const {return ++(m_n>>1);} + Integer PreimageBound() const {return ++(m_n>>1);} + Integer ImageBound() const {return m_n;} bool Validate(RandomNumberGenerator &rng, unsigned int level) const; bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const; |