-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Update api_symbols.csv * Ultralight C 3des implementation added * Access check for Ultralight cards is now splitted into 2 functions one for ULC card and another for common * Ultralight C authentication command handlers added * Update api_symbols.csv and api_symbols.csv * Length added to ultralight encrypt function * New structure for storing 3des key added * Reseting of 3des_key added * des_context init/deinit added to poller * New poller step for ultralight c auth added * Added ultralight c des key to application * Renamed felica unlock scenes to more generic des auth scenes, because they are now used also for ultralight c * Show different menus for different ultralight card types * Update api_symbols.csv and api_symbols.csv * Some macro defines added * Different amount of pages will be now read for ultralight C and others * New unit test for ultralight C * Some comments and macro replacements * New function added to api * Now all data read checks mfulC separately * Adjusted listener to handle missing 3des_key properly * Now poller populates 3des_key after reading with auth to card data * Nfc: rename _3des_key to tdes_key * Bump API Symbols * Mute PVS Warnings Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: gornekich <n.gorbadey@gmail.com> Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
- Loading branch information
1 parent
9565806
commit 3224401
Showing
22 changed files
with
633 additions
and
76 deletions.
There are no files selected for viewing
71 changes: 71 additions & 0 deletions
71
applications/debug/unit_tests/resources/unit_tests/nfc/Ultralight_C.nfc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
Filetype: Flipper NFC device | ||
Version: 4 | ||
# Device type can be ISO14443-3A, ISO14443-3B, ISO14443-4A, ISO14443-4B, ISO15693-3, FeliCa, NTAG/Ultralight, Mifare Classic, Mifare DESFire, SLIX, ST25TB | ||
Device type: NTAG/Ultralight | ||
# UID is common for all formats | ||
UID: 04 BA FF CA 4D 5D 80 | ||
# ISO14443-3A specific data | ||
ATQA: 00 44 | ||
SAK: 00 | ||
# NTAG/Ultralight specific data | ||
Data format version: 2 | ||
NTAG/Ultralight type: Mifare Ultralight C | ||
Signature: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ||
Mifare version: 00 00 00 00 00 00 00 00 | ||
Counter 0: 0 | ||
Tearing 0: 00 | ||
Counter 1: 0 | ||
Tearing 1: 00 | ||
Counter 2: 0 | ||
Tearing 2: 00 | ||
Pages total: 48 | ||
Pages read: 48 | ||
Page 0: 04 BA FF C9 | ||
Page 1: CA 4D 5D 80 | ||
Page 2: 5A 48 00 00 | ||
Page 3: E1 10 12 00 | ||
Page 4: 01 03 A0 0C | ||
Page 5: 34 03 00 FE | ||
Page 6: 00 00 00 00 | ||
Page 7: 00 00 00 00 | ||
Page 8: 00 00 00 00 | ||
Page 9: 00 00 00 00 | ||
Page 10: 00 00 BE AF | ||
Page 11: 00 00 00 00 | ||
Page 12: 00 00 00 00 | ||
Page 13: 00 00 00 00 | ||
Page 14: 00 00 00 00 | ||
Page 15: 00 00 00 00 | ||
Page 16: 00 00 00 00 | ||
Page 17: 00 00 00 00 | ||
Page 18: 00 00 00 00 | ||
Page 19: 00 00 00 00 | ||
Page 20: 00 00 00 00 | ||
Page 21: 00 00 00 00 | ||
Page 22: 00 00 00 00 | ||
Page 23: 00 00 00 00 | ||
Page 24: 00 00 00 00 | ||
Page 25: 00 00 00 00 | ||
Page 26: 00 00 00 00 | ||
Page 27: 00 00 00 00 | ||
Page 28: 00 00 00 00 | ||
Page 29: 00 00 00 00 | ||
Page 30: 00 00 00 00 | ||
Page 31: 00 00 00 00 | ||
Page 32: 00 00 00 00 | ||
Page 33: 00 00 00 00 | ||
Page 34: 00 00 00 00 | ||
Page 35: 00 00 00 00 | ||
Page 36: 00 00 00 00 | ||
Page 37: 00 00 00 00 | ||
Page 38: 00 00 00 00 | ||
Page 39: 00 00 00 00 | ||
Page 40: 00 00 00 00 | ||
Page 41: 00 00 00 00 | ||
Page 42: 05 00 00 00 | ||
Page 43: 00 00 00 00 | ||
Page 44: 00 00 00 00 | ||
Page 45: 00 00 00 00 | ||
Page 46: 00 00 00 00 | ||
Page 47: 00 00 00 00 | ||
Failed authentication attempts: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 19 additions & 8 deletions
27
...n/nfc/scenes/nfc_scene_felica_key_input.c → ...nfc/scenes/nfc_scene_des_auth_key_input.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.