"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CPP/7zip/Crypto/Sha1Cls.h" between
p7zip_15.14.1_src_all.tar.gz and p7zip_16.02_src_all.tar.gz

About: p7zip is a command-line file archiver with a high compression ratio (a port of the Windows program 7za.exe).

Sha1Cls.h  (p7zip_15.14.1_src_all):Sha1Cls.h  (p7zip_16.02_src_all)
skipping to change at line 31 skipping to change at line 31
public: public:
void Init() throw() { Sha1_Init(&_s); } void Init() throw() { Sha1_Init(&_s); }
void GetBlockDigest(const UInt32 *blockData, UInt32 *destDigest) throw() { Sha 1_GetBlockDigest(&_s, blockData, destDigest); } void GetBlockDigest(const UInt32 *blockData, UInt32 *destDigest) throw() { Sha 1_GetBlockDigest(&_s, blockData, destDigest); }
}; };
class CContext: public CContextBase class CContext: public CContextBase
{ {
public: public:
void Update(const Byte *data, size_t size) throw() { Sha1_Update(&_s, data, si ze); } void Update(const Byte *data, size_t size) throw() { Sha1_Update(&_s, data, si ze); }
void UpdateRar(Byte *data, size_t size, bool rar350Mode) throw() { Sha1_Update _Rar(&_s, data, size, rar350Mode ? 1 : 0); } void UpdateRar(Byte *data, size_t size /* , bool rar350Mode */) throw() { Sha1 _Update_Rar(&_s, data, size /* , rar350Mode ? 1 : 0 */); }
void Final(Byte *digest) throw() { Sha1_Final(&_s, digest); } void Final(Byte *digest) throw() { Sha1_Final(&_s, digest); }
}; };
class CContext32: public CContextBase class CContext32: public CContextBase
{ {
public: public:
void Update(const UInt32 *data, size_t size) throw() { Sha1_32_Update(&_s, dat a, size); } void Update(const UInt32 *data, size_t size) throw() { Sha1_32_Update(&_s, dat a, size); }
void Final(UInt32 *digest) throw() { Sha1_32_Final(&_s, digest); } void Final(UInt32 *digest) throw() { Sha1_32_Final(&_s, digest); }
/* PrepareBlock can be used only when size <= 13. size in Words /* PrepareBlock can be used only when size <= 13. size in Words
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS