diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-10-14 08:21:56 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-10-14 08:21:56 -0400 |
commit | 23279dcd459c785ab3c413dd6ca5746c19e5bee1 (patch) | |
tree | 33d08fad865dd66a7b9a5a67450d4fcae6beb83f /simeck.h | |
parent | 7bd9ffcaca0c7a82b7b80569063bcfa07b26a067 (diff) | |
download | cryptopp-git-23279dcd459c785ab3c413dd6ca5746c19e5bee1.tar.gz |
Update documentation
Diffstat (limited to 'simeck.h')
-rw-r--r-- | simeck.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 ¶ms);
- 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 ¶ms);
- std::string AlgorithmProvider() const;
+ std::string AlgorithmProvider() const;
FixedSizeSecBlock<word32, ROUNDS> m_rk;
mutable FixedSizeSecBlock<word32, 5> m_t;
|