From e3d79bf98c3d068c4be602c544a0b2dec207d5a1 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 22 Jan 2018 19:50:11 -0500 Subject: Update documentation --- luc.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'luc.h') diff --git a/luc.h b/luc.h index 3d021461..d38d5611 100644 --- a/luc.h +++ b/luc.h @@ -5,6 +5,7 @@ /// \details This class is here for historical and pedagogical interest. It has no practical advantages over other /// trapdoor functions and probably shouldn't be used in production software. The discrete log based LUC schemes /// defined later in this .h file may be of more practical interest. +/// \since Crypto++ 2.1 #ifndef CRYPTOPP_LUC_H #define CRYPTOPP_LUC_H @@ -33,6 +34,7 @@ NAMESPACE_BEGIN(CryptoPP) /// \details This class is here for historical and pedagogical interest. It has no practical advantages over other /// trapdoor functions and probably shouldn't be used in production software. The discrete log based LUC schemes /// defined later in this .h file may be of more practical interest. +/// \since Crypto++ 2.1 class LUCFunction : public TrapdoorFunction, public PublicKey { typedef LUCFunction ThisClass; @@ -72,6 +74,7 @@ protected: /// \details This class is here for historical and pedagogical interest. It has no practical advantages over other /// trapdoor functions and probably shouldn't be used in production software. The discrete log based LUC schemes /// defined later in this .h file may be of more practical interest. +/// \since Crypto++ 2.1 class InvertibleLUCFunction : public LUCFunction, public TrapdoorFunctionInverse, public PrivateKey { typedef InvertibleLUCFunction ThisClass; @@ -124,6 +127,7 @@ protected: }; /// \brief LUC cryptosystem +/// \since Crypto++ 2.1 struct LUC { static std::string StaticAlgorithmName() {return "LUC";} @@ -136,6 +140,7 @@ struct LUC /// \details This class is here for historical and pedagogical interest. It has no practical advantages over other /// trapdoor functions and probably shouldn't be used in production software. The discrete log based LUC schemes /// defined later in this .h file may be of more practical interest. +/// \since Crypto++ 2.1 template struct LUCES : public TF_ES { @@ -147,6 +152,7 @@ struct LUCES : public TF_ES /// \details This class is here for historical and pedagogical interest. It has no practical advantages over other /// trapdoor functions and probably shouldn't be used in production software. The discrete log based LUC schemes /// defined later in this .h file may be of more practical interest. +/// \since Crypto++ 2.1 template struct LUCSS : public TF_SS { @@ -179,7 +185,8 @@ private: Integer m_p; }; -/// _ +/// \brief LUC Precomputation +/// \since Crypto++ 2.1 class DL_BasePrecomputation_LUC : public DL_FixedBasePrecomputation { public: @@ -210,6 +217,7 @@ private: }; /// \brief LUC GroupParameters specialization +/// \since Crypto++ 2.1 class DL_GroupParameters_LUC : public DL_GroupParameters_IntegerBasedImpl { public: @@ -240,6 +248,7 @@ private: }; /// \brief GF(p) group parameters that default to safe primes +/// \since Crypto++ 2.1 class DL_GroupParameters_LUC_DefaultSafePrime : public DL_GroupParameters_LUC { public: @@ -250,6 +259,7 @@ protected: }; /// \brief LUC HMP signature algorithm +/// \since Crypto++ 2.1 class DL_Algorithm_LUC_HMP : public DL_ElgamalLikeSignatureAlgorithm { public: @@ -265,6 +275,7 @@ public: }; /// \brief LUC signature keys +/// \since Crypto++ 2.1 struct DL_SignatureKeys_LUC { typedef DL_GroupParameters_LUC GroupParameters; @@ -277,6 +288,7 @@ struct DL_SignatureKeys_LUC /// \details This class is here for historical and pedagogical interest. It has no practical advantages over other /// trapdoor functions and probably shouldn't be used in production software. The discrete log based LUC schemes /// defined later in this .h file may be of more practical interest. +/// \since Crypto++ 2.1 template struct LUC_HMP : public DL_SS { @@ -296,7 +308,7 @@ struct DL_CryptoKeys_LUC /// \tparam DHAES_MODE flag indicating if the MAC includes additional context parameters such as u·V, v·U and label /// \tparam LABEL_OCTETS flag indicating if the label size is specified in octets or bits /// \sa CofactorMultiplicationOption -/// \since Crypto++ 4.0, Crypto++ 5.7 for Bouncy Castle and Botan compatibility +/// \since Crypto++ 2.1, Crypto++ 5.7 for Bouncy Castle and Botan compatibility template struct LUC_IES : public DL_ES< -- cgit v1.2.1