mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 05:15:01 -06:00
4.50 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
7038848692
commit
980e181dcc
@@ -10,9 +10,16 @@
|
||||
#include "../../ICoder.h"
|
||||
#include "../../IPassword.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include "../../../../C/Crypto/Aes.h"
|
||||
}
|
||||
|
||||
namespace NCrypto {
|
||||
namespace NRar29 {
|
||||
|
||||
const kRarAesKeySize = 16;
|
||||
|
||||
class CDecoder:
|
||||
public ICompressFilter,
|
||||
public ICompressSetDecoderProperties2,
|
||||
@@ -22,11 +29,11 @@ class CDecoder:
|
||||
Byte _salt[8];
|
||||
bool _thereIsSalt;
|
||||
CByteBuffer buffer;
|
||||
Byte aesKey[16];
|
||||
Byte aesInit[16];
|
||||
Byte aesKey[kRarAesKeySize];
|
||||
Byte aesInit[AES_BLOCK_SIZE];
|
||||
bool _needCalculate;
|
||||
|
||||
CMyComPtr<ICompressFilter> _aesFilter;
|
||||
CAesCbc Aes;
|
||||
|
||||
bool _rar350Mode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user