diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-08-25 21:41:09 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-08-25 21:41:09 +0000 |
commit | 95ded6656783b66a11c8229d42137c97cabbaa30 (patch) | |
tree | 55b36484bb120755e03b9f16dc82d75b9622aa23 /seckey.h | |
parent | b7de36416b07d49df3bedbab2fc249db0972a438 (diff) | |
download | cryptopp-95ded6656783b66a11c8229d42137c97cabbaa30.tar.gz |
minor changes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@129 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'seckey.h')
-rw-r--r-- | seckey.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -18,7 +18,7 @@ inline CipherDir ReverseCipherDir(CipherDir dir) //! . template <unsigned int N> -class CRYPTOPP_DLL FixedBlockSize +class FixedBlockSize { public: enum {BLOCKSIZE = N}; @@ -28,7 +28,7 @@ public: //! . template <unsigned int R> -class CRYPTOPP_DLL FixedRounds +class FixedRounds { public: enum {ROUNDS = R}; @@ -47,7 +47,7 @@ protected: //! . template <unsigned int D, unsigned int N=1, unsigned int M=INT_MAX> // use INT_MAX here because enums are treated as signed ints -class CRYPTOPP_DLL VariableRounds +class VariableRounds { public: enum {DEFAULT_ROUNDS = D, MIN_ROUNDS = N, MAX_ROUNDS = M}; @@ -74,7 +74,7 @@ protected: //! . template <unsigned int N, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE> -class CRYPTOPP_DLL FixedKeyLength +class FixedKeyLength { public: enum {KEYLENGTH=N, MIN_KEYLENGTH=N, MAX_KEYLENGTH=N, DEFAULT_KEYLENGTH=N}; @@ -84,7 +84,7 @@ public: /// support query of variable key length, template parameters are default, min, max, multiple (default multiple 1) template <unsigned int D, unsigned int N, unsigned int M, unsigned int Q = 1, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE> -class CRYPTOPP_DLL VariableKeyLength +class VariableKeyLength { // make these private to avoid Doxygen documenting them in all derived classes CRYPTOPP_COMPILE_ASSERT(Q > 0); @@ -112,7 +112,7 @@ public: /// support query of key length that's the same as another class template <class T> -class CRYPTOPP_DLL SameKeyLengthAs +class SameKeyLengthAs { public: enum {MIN_KEYLENGTH=T::MIN_KEYLENGTH, MAX_KEYLENGTH=T::MAX_KEYLENGTH, DEFAULT_KEYLENGTH=T::DEFAULT_KEYLENGTH}; |