1
mirror of https://github.com/hashcat/hashcat synced 2024-11-24 14:27:14 +01:00

changed mode number to 28600

This commit is contained in:
b0lek 2022-01-20 19:31:09 +01:00
parent 415e95ab38
commit b1e0434bd7
3 changed files with 4 additions and 4 deletions

View File

@ -79,7 +79,7 @@ DECLSPEC void hmac_sha256_run_V (u32x *w0, u32x *w1, u32x *w2, u32x *w3, u32x *i
sha256_transform_vector (w0, w1, w2, w3, digest);
}
KERNEL_FQ void m94200_init (KERN_ATTR_TMPS_ESALT (postgres_sha256_tmp_t, postgres_sha256_t))
KERNEL_FQ void m28600_init (KERN_ATTR_TMPS_ESALT (postgres_sha256_tmp_t, postgres_sha256_t))
{
/**
* base
@ -163,7 +163,7 @@ KERNEL_FQ void m94200_init (KERN_ATTR_TMPS_ESALT (postgres_sha256_tmp_t, postgre
}
}
KERNEL_FQ void m94200_loop (KERN_ATTR_TMPS_ESALT (postgres_sha256_tmp_t, postgres_sha256_t))
KERNEL_FQ void m28600_loop (KERN_ATTR_TMPS_ESALT (postgres_sha256_tmp_t, postgres_sha256_t))
{
const u64 gid = get_global_id (0);
@ -269,7 +269,7 @@ KERNEL_FQ void m94200_loop (KERN_ATTR_TMPS_ESALT (postgres_sha256_tmp_t, postgre
}
}
KERNEL_FQ void m94200_comp (KERN_ATTR_TMPS_ESALT (postgres_sha256_tmp_t, postgres_sha256_t))
KERNEL_FQ void m28600_comp (KERN_ATTR_TMPS_ESALT (postgres_sha256_tmp_t, postgres_sha256_t))
{
/**
* base

View File

@ -19,7 +19,7 @@ static const u32 DGST_POS3 = 3;
static const u32 DGST_SIZE = DGST_SIZE_4_8;
static const u32 HASH_CATEGORY = HASH_CATEGORY_DATABASE_SERVER;
static const char *HASH_NAME = "PostgreSQL SCRAM-SHA-256";
static const u64 KERN_TYPE = 94200;
static const u64 KERN_TYPE = 28600;
static const u32 OPTI_TYPE =
OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP;
static const u64 OPTS_TYPE = OPTS_TYPE_PT_GENERATE_LE | OPTS_TYPE_ST_BASE64;