#ifndef _CRC_CPP_H__ #define _CRC_CPP_H__ #include "typedefs.h" class CRC { public: static u32 crc32(const u8* buf, u32 size); static u32 ssh_crc32_block(u32 last_crc , const unsigned char *buf, u32 size); }; #endif // !_CRC_CPP_H__