fixes #1239: remove AES padding attack for 7zip since we can't guarantee that the padding is always zero

This commit is contained in:
philsmd
2017-05-17 13:53:55 +02:00
parent 7bd391df71
commit 1f93d2060f
2 changed files with 2 additions and 189 deletions
-5
View File
@@ -808,11 +808,6 @@ typedef struct seven_zip_hook_salt
char coder_attributes[5 + 1];
u8 coder_attributes_len;
u32 margin;
bool padding_check_full;
bool padding_check_fast;
int aes_len; // pre-computed length of the maximal (subset of) data we need for AES-CBC
} seven_zip_hook_salt_t;