mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-12 18:25:07 +08:00
fix: unshadow
This commit is contained in:
parent
7b2b49ff73
commit
6091894b72
1 changed files with 8 additions and 8 deletions
|
@ -250,16 +250,16 @@ void prepare_bf_test_nonces(noncelist_t *nonces, uint8_t best_first_byte) {
|
||||||
uint32_t bf_test_nonce_temp[4];
|
uint32_t bf_test_nonce_temp[4];
|
||||||
uint8_t bf_test_nonce_par_temp[4];
|
uint8_t bf_test_nonce_par_temp[4];
|
||||||
uint8_t bf_test_nonce_2nd_byte_temp[4];
|
uint8_t bf_test_nonce_2nd_byte_temp[4];
|
||||||
for (uint8_t i = 0; i < 4 && i < nonces_to_bruteforce; i++) {
|
for (uint8_t j = 0; j < 4 && j < nonces_to_bruteforce; j++) {
|
||||||
bf_test_nonce_temp[i] = bf_test_nonce[best_4[i]];
|
bf_test_nonce_temp[j] = bf_test_nonce[best_4[j]];
|
||||||
|
|
||||||
bf_test_nonce_par_temp[i] = bf_test_nonce_par[best_4[i]];
|
bf_test_nonce_par_temp[j] = bf_test_nonce_par[best_4[j]];
|
||||||
bf_test_nonce_2nd_byte_temp[i] = bf_test_nonce_2nd_byte[best_4[i]];
|
bf_test_nonce_2nd_byte_temp[j] = bf_test_nonce_2nd_byte[best_4[j]];
|
||||||
}
|
}
|
||||||
for (uint8_t i = 0; i < 4 && i < nonces_to_bruteforce; i++) {
|
for (uint8_t j = 0; j < 4 && j < nonces_to_bruteforce; j++) {
|
||||||
bf_test_nonce[i] = bf_test_nonce_temp[i];
|
bf_test_nonce[j] = bf_test_nonce_temp[j];
|
||||||
bf_test_nonce_par[i] = bf_test_nonce_par_temp[i];
|
bf_test_nonce_par[j] = bf_test_nonce_par_temp[j];
|
||||||
bf_test_nonce_2nd_byte[i] = bf_test_nonce_2nd_byte_temp[i];
|
bf_test_nonce_2nd_byte[j] = bf_test_nonce_2nd_byte_temp[j];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue