summaryrefslogtreecommitdiff
path: root/simeck.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-10-14 08:21:56 -0400
committerJeffrey Walton <noloader@gmail.com>2018-10-14 08:21:56 -0400
commit23279dcd459c785ab3c413dd6ca5746c19e5bee1 (patch)
tree33d08fad865dd66a7b9a5a67450d4fcae6beb83f /simeck.h
parent7bd9ffcaca0c7a82b7b80569063bcfa07b26a067 (diff)
downloadcryptopp-git-23279dcd459c785ab3c413dd6ca5746c19e5bee1.tar.gz
Update documentation
Diffstat (limited to 'simeck.h')
-rw-r--r--simeck.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/simeck.h b/simeck.h
index caebf859..94c92714 100644
--- a/simeck.h
+++ b/simeck.h
@@ -33,6 +33,10 @@ NAMESPACE_BEGIN(CryptoPP)
/// \since Crypto++ 7.1
struct SIMECK32_Info : public FixedBlockSize<4>, public FixedKeyLength<8>, public FixedRounds<32>
{
+ /// \brief The algorithm name
+ /// \returns the algorithm name
+ /// \details StaticAlgorithmName returns the algorithm's name as a static
+ /// member function.
static const std::string StaticAlgorithmName()
{
// Format is Cipher-Blocksize
@@ -44,6 +48,10 @@ struct SIMECK32_Info : public FixedBlockSize<4>, public FixedKeyLength<8>, publi
/// \since Crypto++ 7.1
struct SIMECK64_Info : public FixedBlockSize<8>, public FixedKeyLength<16>, public FixedRounds<44>
{
+ /// \brief The algorithm name
+ /// \returns the algorithm name
+ /// \details StaticAlgorithmName returns the algorithm's name as a static
+ /// member function.
static const std::string StaticAlgorithmName()
{
// Format is Cipher-Blocksize
@@ -68,7 +76,7 @@ public:
{
protected:
void UncheckedSetKey(const byte *userKey, unsigned int keyLength, const NameValuePairs &params);
- std::string AlgorithmProvider() const;
+ std::string AlgorithmProvider() const;
FixedSizeSecBlock<word16, ROUNDS> m_rk;
mutable FixedSizeSecBlock<word16, 5> m_t;
@@ -118,7 +126,7 @@ public:
{
protected:
void UncheckedSetKey(const byte *userKey, unsigned int keyLength, const NameValuePairs &params);
- std::string AlgorithmProvider() const;
+ std::string AlgorithmProvider() const;
FixedSizeSecBlock<word32, ROUNDS> m_rk;
mutable FixedSizeSecBlock<word32, 5> m_t;