summaryrefslogtreecommitdiff
path: root/tea.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-11-13 11:50:34 -0500
committerJeffrey Walton <noloader@gmail.com>2016-11-13 11:50:34 -0500
commit76b11b010c97d4fba5f6d5a48730191762413c9d (patch)
treea58a178391a0e6cd54439a25932a387ce00e1a32 /tea.h
parent5be05bce076a2e0ef11f80a1d9b493fb8078f8bb (diff)
downloadcryptopp-git-76b11b010c97d4fba5f6d5a48730191762413c9d.tar.gz
Add CRYPTOPP_STATIC_CONSTEXPR macro
Diffstat (limited to 'tea.h')
-rw-r--r--tea.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tea.h b/tea.h
index a019326b..029af0fd 100644
--- a/tea.h
+++ b/tea.h
@@ -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