#ifdef __cplusplus extern "C" { #endif /* TEA is a 64-bit symmetric block cipher with a 128-bit key, developed by David J. Wheeler and Roger M. Needham, and described in their paper at . This implementation is based on their code in */ extern int TEA_Encrypt(DWORD *dest, const DWORD *src, const DWORD *key, int size); extern int TEA_Decrypt(DWORD *dest, const DWORD *src, const DWORD *key, int size); extern int GOST_Encrypt(DWORD * DstBuffer, const DWORD * SrcBuffer, const DWORD * KeyAddress, DWORD Length, DWORD *IVector); extern int GOST_Decrypt(DWORD * DstBuffer, const DWORD * SrcBuffer, const DWORD * KeyAddress, DWORD Length, DWORD *IVector); extern int DES_Encrypt(DWORD *DstBuffer, const DWORD * SrcBuffer, const DWORD *KeyAddress, DWORD Length, DWORD *IVector); extern int DES_Decrypt(DWORD *DstBuffer, const DWORD * SrcBuffer, const DWORD *KeyAddress, DWORD Length, DWORD *IVector); #ifdef __cplusplus }; #endif