mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
init array w zero
This commit is contained in:
parent
49a475899a
commit
6ee817aa72
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ void mifare_cypher_single_block(desfirekey_t key, uint8_t *data, uint8_t *ivect,
|
||||||
memcpy(ovect, data, block_size);
|
memcpy(ovect, data, block_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t edata[DESFIRE_MAX_CRYPTO_BLOCK_SIZE];
|
uint8_t edata[DESFIRE_MAX_CRYPTO_BLOCK_SIZE] = {0};
|
||||||
|
|
||||||
switch (key->type) {
|
switch (key->type) {
|
||||||
case T_DES:
|
case T_DES:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue