summaryrefslogtreecommitdiff
path: root/rw.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-07-22 00:51:57 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-07-22 00:51:57 +0000
commita2828f6ae67c3d7294118a8144b1b2ec431237c4 (patch)
treefaff40f3429fb7fb70249c83afd5378f92ebdb31 /rw.h
parente87d537834e72b242b4c16b99f0a40586940104b (diff)
downloadcryptopp-a2828f6ae67c3d7294118a8144b1b2ec431237c4.tar.gz
fix documentation, fix PanamaMAC, fix algorithm names
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@186 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rw.h')
-rw-r--r--rw.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/rw.h b/rw.h
index f341d5f..5ba75f8 100644
--- a/rw.h
+++ b/rw.h
@@ -11,7 +11,7 @@
NAMESPACE_BEGIN(CryptoPP)
-//! .
+//! _
class RWFunction : virtual public TrapdoorFunction, public PublicKey
{
typedef RWFunction ThisClass;
@@ -38,7 +38,7 @@ protected:
Integer m_n;
};
-//! .
+//! _
class InvertibleRWFunction : public RWFunction, public TrapdoorFunctionInverse, public PrivateKey
{
typedef InvertibleRWFunction ThisClass;
@@ -74,7 +74,7 @@ protected:
Integer m_p, m_q, m_u;
};
-//! .
+//! _
class EMSA2Pad : public EMSA2HashIdLookup<PK_DeterministicSignatureMessageEncodingMethod>
{
public:
@@ -88,14 +88,18 @@ public:
byte *representative, unsigned int representativeBitLength) const;
};
-//! EMSA2, for use with RW
-/*! See pssr.h for a list of hash functions supported by this signature standard. */
+//! EMSA2, for use with RWSS
+/*! Only the following hash functions are supported by this signature standard:
+ \dontinclude pssr.h
+ \skip can be instantiated
+ \until end of list
+*/
struct P1363_EMSA2 : public SignatureStandard
{
typedef EMSA2Pad SignatureMessageEncodingMethod;
};
-//! .
+//! RW
struct RW
{
static std::string StaticAlgorithmName() {return "RW";}