diff --git a/CHANGELOG.md b/CHANGELOG.md index 81bf208e3..38d6eb8dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/client/deps/hardnested/hardnested_bf_core.c b/client/deps/hardnested/hardnested_bf_core.c index a84ce0df9..c91df187c 100644 --- a/client/deps/hardnested/hardnested_bf_core.c +++ b/client/deps/hardnested/hardnested_bf_core.c @@ -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)