blob: 006741ae96055b2d18426df2d3b5f4b298d7b45a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef BU_MODE_ECB_H
#define BU_MODE_ECB_H
namespace Bu
{
template<int iBlockSize, typename CipherType>
class CipherModeEcb : public CipherType
{
public:
CipherModeEcb( class Stream &rNext ) :
CipherType( rNext )
{
}
virtual ~CipherModeEcb()
{
}
protected:
virtual void decipher( void *pBuf )
{
CipherType::decipher( pBuf );
}
virtual void encipher( void *pBuf )
{
CipherType::encipher( pBuf );
}
};
};
#endif
|