Skip to content

Commit

Permalink
Argon2 format: Reset MKPC and OMP_SCALE to 1
Browse files Browse the repository at this point in the history
See #5567
  • Loading branch information
magnumripper authored and solardiz committed Nov 7, 2024
1 parent 0704999 commit 6c182c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/argon2_fmt_plug.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ john_register_one(&fmt_argon2);
#define SALT_ALIGN sizeof(uint32_t)

#define MIN_KEYS_PER_CRYPT 1
#define MAX_KEYS_PER_CRYPT 2
#define MAX_KEYS_PER_CRYPT 1

#define OMP_SCALE 8 // tuned w/ MKPC for core i7m
#define OMP_SCALE 1

#ifdef _OPENMP
#define THREAD_NUMBER omp_get_thread_num()
Expand Down

0 comments on commit 6c182c1

Please sign in to comment.