Update to 7-Zip Version 21.02

This commit is contained in:
Tino Reichardt
2021-05-13 16:39:14 +02:00
parent 3724ecfedc
commit 48fa49f76c
620 changed files with 35032 additions and 10925 deletions

View File

@@ -28,6 +28,13 @@ class CData
void UpdateKeys(const Byte *data);
void CryptBlock(Byte *buf, bool encrypt);
public:
~CData() { Wipe(); }
void Wipe()
{
MY_memset_0_ARRAY(SubstTable);
MY_memset_0_ARRAY(Keys);
}
void EncryptBlock(Byte *buf) { CryptBlock(buf, true); }
void DecryptBlock(Byte *buf) { CryptBlock(buf, false); }
void SetPassword(const Byte *password, unsigned passwordLen);