This commit is contained in:
Igor Pavlov
2023-12-22 17:17:05 +00:00
committed by Kornel
parent ec44a8a070
commit a36c48cece
954 changed files with 42199 additions and 25482 deletions

View File

@@ -1,7 +1,7 @@
// Crypto/Rar20Crypto.h
#ifndef __CRYPTO_RAR20_CRYPTO_H
#define __CRYPTO_RAR20_CRYPTO_H
#ifndef ZIP7_INC_CRYPTO_RAR20_CRYPTO_H
#define ZIP7_INC_CRYPTO_RAR20_CRYPTO_H
#include "../../Common/MyCom.h"
@@ -31,8 +31,8 @@ public:
~CData() { Wipe(); }
void Wipe()
{
MY_memset_0_ARRAY(SubstTable);
MY_memset_0_ARRAY(Keys);
Z7_memset_0_ARRAY(SubstTable);
Z7_memset_0_ARRAY(Keys);
}
void EncryptBlock(Byte *buf) { CryptBlock(buf, true); }
@@ -40,14 +40,13 @@ public:
void SetPassword(const Byte *password, unsigned passwordLen);
};
class CDecoder:
class CDecoder Z7_final:
public ICompressFilter,
public CMyUnknownImp,
public CData
{
public:
MY_UNKNOWN_IMP
INTERFACE_ICompressFilter(;)
Z7_COM_UNKNOWN_IMP_0
Z7_IFACE_COM7_IMP(ICompressFilter)
};
}}