diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
commit | ec05778d5718a7912e506764d443a78d6a6179e3 (patch) | |
tree | 78a9a01532180030c095acefc45763f07c14edb8 /src/experimental/ciphermodeecb.h | |
parent | b20414ac1fe80a71a90601f4cd1767fa7014a9ba (diff) | |
download | libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.gz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.bz2 libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.xz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.zip |
Converted tabs to spaces with tabconv.
Diffstat (limited to 'src/experimental/ciphermodeecb.h')
-rw-r--r-- | src/experimental/ciphermodeecb.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/experimental/ciphermodeecb.h b/src/experimental/ciphermodeecb.h index 006741a..cac2beb 100644 --- a/src/experimental/ciphermodeecb.h +++ b/src/experimental/ciphermodeecb.h | |||
@@ -3,30 +3,30 @@ | |||
3 | 3 | ||
4 | namespace Bu | 4 | namespace Bu |
5 | { | 5 | { |
6 | template<int iBlockSize, typename CipherType> | 6 | template<int iBlockSize, typename CipherType> |
7 | class CipherModeEcb : public CipherType | 7 | class CipherModeEcb : public CipherType |
8 | { | 8 | { |
9 | public: | 9 | public: |
10 | CipherModeEcb( class Stream &rNext ) : | 10 | CipherModeEcb( class Stream &rNext ) : |
11 | CipherType( rNext ) | 11 | CipherType( rNext ) |
12 | { | 12 | { |
13 | } | 13 | } |
14 | 14 | ||
15 | virtual ~CipherModeEcb() | 15 | virtual ~CipherModeEcb() |
16 | { | 16 | { |
17 | } | 17 | } |
18 | 18 | ||
19 | protected: | 19 | protected: |
20 | virtual void decipher( void *pBuf ) | 20 | virtual void decipher( void *pBuf ) |
21 | { | 21 | { |
22 | CipherType::decipher( pBuf ); | 22 | CipherType::decipher( pBuf ); |
23 | } | 23 | } |
24 | 24 | ||
25 | virtual void encipher( void *pBuf ) | 25 | virtual void encipher( void *pBuf ) |
26 | { | 26 | { |
27 | CipherType::encipher( pBuf ); | 27 | CipherType::encipher( pBuf ); |
28 | } | 28 | } |
29 | }; | 29 | }; |
30 | }; | 30 | }; |
31 | 31 | ||
32 | #endif | 32 | #endif |