diff --git a/OpenCL/m29600-pure.cl b/OpenCL/m29600-pure.cl index f3a954386..c34832787 100644 --- a/OpenCL/m29600-pure.cl +++ b/OpenCL/m29600-pure.cl @@ -25,12 +25,14 @@ typedef struct pbkdf_sha1_tmp u32 dgst[32]; u32 out[32]; + } pbkdf_sha1_tmp_t; typedef struct terra { - u32 salt_buf[8]; + u32 salt_buf[4]; u32 ct_block_a[4]; + } terra_t; #define FIXED_SALT_SIZE 16 diff --git a/src/modules/module_29600.c b/src/modules/module_29600.c index 2a3080823..ebd920017 100644 --- a/src/modules/module_29600.c +++ b/src/modules/module_29600.c @@ -58,7 +58,7 @@ typedef struct pbkdf_sha1_tmp typedef struct terra { - u32 salt_buf[8]; + u32 salt_buf[4]; u32 ct_block_a[4]; } terra_t;