1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

Move Kremlin Encrypt to mode 32700

This commit is contained in:
Hans 2023-08-15 13:48:37 +02:00
parent 9446a589b0
commit 219b71c5ae
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 m32600_init (KERN_ATTR_TMPS (sha1_tmp_t))
KERNEL_FQ void m32700_init (KERN_ATTR_TMPS (sha1_tmp_t))
{
const u64 gid = get_global_id (0);
@ -106,7 +106,7 @@ KERNEL_FQ void m32600_init (KERN_ATTR_TMPS (sha1_tmp_t))
tmps[gid].digest[4] = hc_swap32 (ctx.h[4]);
}
KERNEL_FQ void m32600_loop (KERN_ATTR_TMPS (sha1_tmp_t))
KERNEL_FQ void m32700_loop (KERN_ATTR_TMPS (sha1_tmp_t))
{
const u64 gid = get_global_id (0);
@ -152,7 +152,7 @@ KERNEL_FQ void m32600_loop (KERN_ATTR_TMPS (sha1_tmp_t))
tmps[gid].digest[4] = ctx.h[4];
}
KERNEL_FQ void m32600_comp (KERN_ATTR_TMPS (sha1_tmp_t))
KERNEL_FQ void m32700_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 = 32600;
static const u64 KERN_TYPE = 32700;
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;