summaryrefslogtreecommitdiff
path: root/ida.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-11-29 10:54:33 -0500
committerJeffrey Walton <noloader@gmail.com>2017-11-29 10:54:33 -0500
commit61ec50dabe14c5d4582ac187706ea27645b3562b (patch)
tree18a2eebb7adc8c9556ce132d7081a105fa058d6b /ida.h
parent16ebfa72bf130c4725e652e4d3688d97d3feb0ee (diff)
downloadcryptopp-git-61ec50dabe14c5d4582ac187706ea27645b3562b.tar.gz
Change Doxygen comment style from //! to ///
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
Diffstat (limited to 'ida.h')
-rw-r--r--ida.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/ida.h b/ida.h
index a1e29067..603e3f2c 100644
--- a/ida.h
+++ b/ida.h
@@ -1,7 +1,7 @@
// ida.h - originally written and placed in the public domain by Wei Dai
-//! \file ida.h
-//! \brief Classes for Rabin's Information Dispersal and Shamir's Secret Sharing algorithms
+/// \file ida.h
+/// \brief Classes for Rabin's Information Dispersal and Shamir's Secret Sharing algorithms
#ifndef CRYPTOPP_IDA_H
#define CRYPTOPP_IDA_H
@@ -16,9 +16,9 @@
NAMESPACE_BEGIN(CryptoPP)
-//! \class RawIDA
-//! \brief Secret sharing and information dispersal base class
-//! \since Crypto++ 1.0
+/// \class RawIDA
+/// \brief Secret sharing and information dispersal base class
+/// \since Crypto++ 1.0
class RawIDA : public AutoSignaling<Unflushable<Multichannel<Filter> > >
{
public:
@@ -63,15 +63,15 @@ protected:
SecBlock<word32> m_u, m_w, m_y;
};
-//! \class SecretSharing
-//! \brief Shamir's Secret Sharing Algorithm
-//! \details SecretSharing is a variant of Shamir's secret sharing algorithm
-//! \sa SecretRecovery, SecretRecovery, InformationDispersal, InformationRecovery
-//! \since Crypto++ 1.0
+/// \class SecretSharing
+/// \brief Shamir's Secret Sharing Algorithm
+/// \details SecretSharing is a variant of Shamir's secret sharing algorithm
+/// \sa SecretRecovery, SecretRecovery, InformationDispersal, InformationRecovery
+/// \since Crypto++ 1.0
class SecretSharing : public CustomFlushPropagation<Filter>
{
public:
- //! \brief Construct a SecretSharing
+ /// \brief Construct a SecretSharing
SecretSharing(RandomNumberGenerator &rng, int threshold, int nShares, BufferedTransformation *attachment=NULLPTR, bool addPadding=true)
: m_rng(rng), m_ida(new OutputProxy(*this, true))
{
@@ -89,15 +89,15 @@ protected:
bool m_pad;
};
-//! \class SecretRecovery
-//! \brief Shamir's Secret Sharing Algorithm
-//! \details SecretSharing is a variant of Shamir's secret sharing algorithm
-//! \sa SecretRecovery, SecretRecovery, InformationDispersal, InformationRecovery
-//! \since Crypto++ 1.0
+/// \class SecretRecovery
+/// \brief Shamir's Secret Sharing Algorithm
+/// \details SecretSharing is a variant of Shamir's secret sharing algorithm
+/// \sa SecretRecovery, SecretRecovery, InformationDispersal, InformationRecovery
+/// \since Crypto++ 1.0
class SecretRecovery : public RawIDA
{
public:
- //! \brief Construct a SecretRecovery
+ /// \brief Construct a SecretRecovery
SecretRecovery(int threshold, BufferedTransformation *attachment=NULLPTR, bool removePadding=true)
: RawIDA(attachment)
{IsolatedInitialize(MakeParameters("RecoveryThreshold", threshold)("RemovePadding", removePadding));}
@@ -113,15 +113,15 @@ protected:
/// a variant of Rabin's Information Dispersal Algorithm
-//! \class InformationDispersal
-//! \brief Rabin's Information Dispersal Algorithm
-//! \details InformationDispersal is a variant of Rabin's information dispersal algorithm
-//! \sa SecretRecovery, SecretRecovery, InformationDispersal, InformationRecovery
-//! \since Crypto++ 1.0
+/// \class InformationDispersal
+/// \brief Rabin's Information Dispersal Algorithm
+/// \details InformationDispersal is a variant of Rabin's information dispersal algorithm
+/// \sa SecretRecovery, SecretRecovery, InformationDispersal, InformationRecovery
+/// \since Crypto++ 1.0
class InformationDispersal : public CustomFlushPropagation<Filter>
{
public:
- //! \brief Construct a InformationDispersal
+ /// \brief Construct a InformationDispersal
InformationDispersal(int threshold, int nShares, BufferedTransformation *attachment=NULLPTR, bool addPadding=true)
: m_ida(new OutputProxy(*this, true)), m_pad(false), m_nextChannel(0)
{
@@ -139,15 +139,15 @@ protected:
unsigned int m_nextChannel;
};
-//! \class InformationRecovery
-//! \brief Rabin's Information Dispersal Algorithm
-//! \details InformationDispersal is a variant of Rabin's information dispersal algorithm
-//! \sa SecretRecovery, SecretRecovery, InformationDispersal, InformationRecovery
-//! \since Crypto++ 1.0
+/// \class InformationRecovery
+/// \brief Rabin's Information Dispersal Algorithm
+/// \details InformationDispersal is a variant of Rabin's information dispersal algorithm
+/// \sa SecretRecovery, SecretRecovery, InformationDispersal, InformationRecovery
+/// \since Crypto++ 1.0
class InformationRecovery : public RawIDA
{
public:
- //! \brief Construct a InformationRecovery
+ /// \brief Construct a InformationRecovery
InformationRecovery(int threshold, BufferedTransformation *attachment=NULLPTR, bool removePadding=true)
: RawIDA(attachment), m_pad(false)
{IsolatedInitialize(MakeParameters("RecoveryThreshold", threshold)("RemovePadding", removePadding));}