1
mirror of https://github.com/hashcat/hashcat synced 2024-11-20 23:27:31 +01:00

Move Kremlin Encrypt to mode 32600

This commit is contained in:
Hans 2023-08-14 09:51:13 +02:00
parent 7b4c2012b7
commit 9446a589b0
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ void key_expansion (uchar * sha1sum, uchar * result)
}
}
KERNEL_FQ void m32000_init (KERN_ATTR_TMPS (sha1_tmp_t))
KERNEL_FQ void m32600_init (KERN_ATTR_TMPS (sha1_tmp_t))
{
const u64 gid = get_global_id (0);
@ -106,7 +106,7 @@ KERNEL_FQ void m32000_init (KERN_ATTR_TMPS (sha1_tmp_t))
tmps[gid].digest[4] = hc_swap32 (ctx.h[4]);
}
KERNEL_FQ void m32000_loop (KERN_ATTR_TMPS (sha1_tmp_t))
KERNEL_FQ void m32600_loop (KERN_ATTR_TMPS (sha1_tmp_t))
{
const u64 gid = get_global_id (0);
@ -152,7 +152,7 @@ KERNEL_FQ void m32000_loop (KERN_ATTR_TMPS (sha1_tmp_t))
tmps[gid].digest[4] = ctx.h[4];
}
KERNEL_FQ void m32000_comp (KERN_ATTR_TMPS (sha1_tmp_t))
KERNEL_FQ void m32600_comp (KERN_ATTR_TMPS (sha1_tmp_t))
{
const u64 gid = get_global_id (0);

View File

@ -18,7 +18,7 @@ static const u32 DGST_POS3 = 1;
static const u32 DGST_SIZE = DGST_SIZE_4_5;
static const u32 HASH_CATEGORY = HASH_CATEGORY_ARCHIVE;
static const char *HASH_NAME = "Kremlin Encrypt 3.0 w/NewDES";
static const u64 KERN_TYPE = 32000;
static const u64 KERN_TYPE = 32600;
static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_PRECOMPUTE_INIT | OPTI_TYPE_EARLY_SKIP | OPTI_TYPE_NOT_ITERATED | OPTI_TYPE_APPENDED_SALT | OPTI_TYPE_RAW_HASH;
static const u64 OPTS_TYPE = OPTS_TYPE_STOCK_MODULE | OPTS_TYPE_PT_GENERATE_LE | OPTS_TYPE_MP_MULTI_DISABLE;
static const u32 SALT_TYPE = SALT_TYPE_EMBEDDED;