And make style

This commit is contained in:
AloneLiberty 2023-03-26 18:05:11 +03:00
commit d10d8c0039
4 changed files with 9 additions and 9 deletions

View file

@ -183,7 +183,7 @@ int mifare_classic_authex_2(struct Crypto1State *pcs, uint32_t uid, uint8_t bloc
// Generate (encrypted) nr+parity by loading it into the cipher (Nr)
uint32_t pos;
uint8_t par[1] = {0x00};
uint8_t par[1] = {0x00};
uint8_t mf_nr_ar[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
for (pos = 0; pos < 4; pos++) {
mf_nr_ar[pos] = crypto1_byte(pcs, nr[pos], 0) ^ nr[pos];