1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 09:58:16 +00:00

Merge pull request #2555 from philsmd/master

minor: use correct buffer size for AES decryption
This commit is contained in:
Jens Steube 2020-09-28 10:17:49 +02:00 committed by GitHub
commit fa976eb8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -479,7 +479,7 @@ KERNEL_FQ void m16300_comp (KERN_ATTR_TMPS_ESALT (pbkdf2_sha256_tmp_t, ethereum_
* aes init * aes init
*/ */
#define KEYLEN 60 #define KEYLEN 44
u32 ks[KEYLEN]; u32 ks[KEYLEN];

View File

@ -306,7 +306,7 @@ KERNEL_FQ void m23300_comp (KERN_ATTR_TMPS_ESALT (iwork_tmp_t, iwork_t))
* AES part * AES part
*/ */
u32 ukey[8]; u32 ukey[4];
ukey[0] = tmps[gid].out[0]; ukey[0] = tmps[gid].out[0];
ukey[1] = tmps[gid].out[1]; ukey[1] = tmps[gid].out[1];