Skip to content

Commit

Permalink
Merge pull request #2530 from nemanjan00/avx512f
Browse files Browse the repository at this point in the history
Patch for hardnested attack, for avx512f, by @xianglin1998
  • Loading branch information
iceman1001 authored Sep 22, 2024
2 parents 0331b66 + de89cbb commit 495759d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac
- Changed scripting string params to accept 1024 chars, Thanks @evildaemond! (@iceman1001)
- Added detection for FM11NT021 (@iceman1001)
- Added detection of a magic NTAG 215 (@iceman1001)
- Fixed hardnested on AVX512F #2410 (@xianglin1998)

## [Backdoor.4.18994][2024-09-10]
- Changed flashing messages to be less scary (@iceman1001)
Expand Down
9 changes: 9 additions & 0 deletions client/deps/hardnested/hardnested_bf_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,18 @@ uint64_t CRACK_STATES_BITSLICED(uint32_t cuid, uint8_t *best_first_bytes, statel
#if MAX_BITSLICES > 64
&& results.bytes64[1] == 0
#endif
#if MAX_BITSLICES > 64
&& results.bytes64[1] == 0
#endif
#if MAX_BITSLICES > 128
&& results.bytes64[2] == 0
&& results.bytes64[3] == 0
#endif
#if MAX_BITSLICES > 256
&& results.bytes64[4] == 0
&& results.bytes64[5] == 0
&& results.bytes64[6] == 0
&& results.bytes64[7] == 0
#endif
) {
#if defined (DEBUG_BRUTE_FORCE)
Expand Down

0 comments on commit 495759d

Please sign in to comment.