6 #ifndef _INC_CStreamCrypt_H
7 #define _INC_CStreamCrypt_H
12 #include "../Cipher/cCipherBase.h"
29 ASSERT(m_pCipher !=
nullptr);
43 virtual HRESULT WriteX(
const void* pData,
size_t nDataSize)
override;
56 virtual HRESULT ReadX(
void* pData,
size_t nDataSize)
override;
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
#define ASSERT(exp)
Definition: cDebugAssert.h:87
Definition: cStreamCipher.h:47
Definition: cStreamCipher.h:34
Definition: cStreamCipher.h:18
ICipherBase *const m_pCipher
what cipher algorithm are we using to decrypt or encrypt?
Definition: cStreamCipher.h:23
cStreamCipher(ICipherBase *pCipher)
Definition: cStreamCipher.h:26
static const size_t k_FILE_BLOCK_SIZE
default arbitrary transfer block size. more than this is NOT more efficient.
Definition: cStream.h:89
Definition: cStream.h:126
Definition: cStreamStack.h:17
Definition: cStreamStack.h:41
Definition: cCipherBase.h:111