diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-11-13 11:50:34 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-11-13 11:50:34 -0500 |
commit | 76b11b010c97d4fba5f6d5a48730191762413c9d (patch) | |
tree | a58a178391a0e6cd54439a25932a387ce00e1a32 /tea.h | |
parent | 5be05bce076a2e0ef11f80a1d9b493fb8078f8bb (diff) | |
download | cryptopp-git-76b11b010c97d4fba5f6d5a48730191762413c9d.tar.gz |
Add CRYPTOPP_STATIC_CONSTEXPR macro
Diffstat (limited to 'tea.h')
-rw-r--r-- | tea.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,7 +16,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \brief TEA block cipher information
struct TEA_Info : public FixedBlockSize<8>, public FixedKeyLength<16>, public VariableRounds<32>
{
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "TEA";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "TEA";}
};
//! \class TEA
@@ -64,7 +64,7 @@ typedef TEA::Decryption TEADecryption; //! \brief XTEA block cipher information
struct XTEA_Info : public FixedBlockSize<8>, public FixedKeyLength<16>, public VariableRounds<32>
{
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "XTEA";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "XTEA";}
};
//! \class XTEA
@@ -109,7 +109,7 @@ public: //! \brief BTEA block cipher information
struct BTEA_Info : public FixedKeyLength<16>
{
- CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "BTEA";}
+ CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "BTEA";}
};
//! \class BTEA
|