mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
array init
This commit is contained in:
parent
bf24c2b01f
commit
480d5a3241
2 changed files with 3 additions and 1 deletions
|
@ -530,7 +530,7 @@ static int CmdLFNedapSim(const char *Cmd) {
|
|||
uint8_t data[16];
|
||||
NedapGen(sub_type, customer_code, id, is_long, data);
|
||||
|
||||
uint8_t bs[16 * 8];
|
||||
uint8_t bs[16 * 8] = {0};
|
||||
for (uint8_t i = 0; i < max; i++) {
|
||||
num_to_bytebits(data[i], 8, bs + i * 8);
|
||||
}
|
||||
|
|
|
@ -222,6 +222,8 @@ static void *brute_thread(void *arguments) {
|
|||
//make_key_borland_n(i, key, keylen);
|
||||
|
||||
uint8_t iv[keylen << 1];
|
||||
memset(iv, 0, sizeof(iv));
|
||||
|
||||
uint8_t dec_tag[16] = {0x00};
|
||||
uint8_t dec_rdr[32] = {0x00};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue