6 #ifndef _INC_cCipherRotary_H
7 #define _INC_cCipherRotary_H
30 void Rotary1(BYTE* pOutput,
const BYTE* pInput,
size_t nLen);
31 void Rotary2(BYTE* pOutput,
const BYTE* pInput,
size_t nLen);
32 void Rotary3(BYTE* pOutput,
const BYTE* pInput,
size_t nLen);
37 return(m_Master.
u_dw[0] && m_Master.
u_dw[1]);
40 bool InitCryptMasterKey(UINT32 dwVersion, UINT32 dwKeyHi, UINT32 dwKeyLo);
41 HRESULT put_CipherKey(UINT32 uSeed);
48 virtual HRESULT SetCipherKey(
const void* pKeyData =
nullptr,
size_t nKeySize = 0)
override;
49 virtual HRESULT Cipher(BYTE* pOutput,
const BYTE* pInput,
size_t nSizeBytes)
override;
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cCipherBase.h:125
Definition: cCipherRotary.h:18
UNITTEST_FRIEND(cCipherRotary)
bool isMasterKeySet() const
Definition: cCipherRotary.h:35
UINT32 u_dw[2]
HighPart=1, LowPart=0 we assume for USE_LITTLE_ENDIAN.
Definition: cTypes.h:117