unleashed-firmware/lib/nfc
RebornedBrain fb9728d570
[FL-3772] Felica poller (#3570)
* New types for felica poller
* New functions for felica data transmissions
* Felica memory map extended with new fields
* Init/deinit of mbedtls context added for felica encryption
* Functions for session key and mac calculations added
* Raw felica_poller implementation added
* Removed MAC type parameter from check_mac function
* Replaced all data fields needed for auth with context structure
* Clean up felica_poller.c
* Now RC block is filled with random numbers
* New parameter for counting well-read blocks
* Some cleanups
* Felica file save and load logic added
* Now we use card key from context for session key calculation
* Copying card key to card block from auth context when both authentications succeeded, otherwise decrement blocks count by 1
* New felica poller event added
* Moved some data structions to public namespace
* FelicaAuthenticationContext struct moved to felica.h
* Field type and name changed for better ones
* Helper functions for felica_auth added to the app
* New scene for felica card key input added
* Logic for felica key input added
* Auth context request processing added
* Added block index definitions and replaced all index numbers with them
* More macro defines
* Replace nesting with do while block
* New function for write operations mac calculation added
* Replace nesting with do while block
* Make functions static for now because they are used internally
* Wrote some comments
* Raw felica render implementation
* New felica scenes
* Adjusted felica dump rendering according design requirements
* New felica scene added
* Helper for switching scene during unlock added
* Added warning scene and transfer to it
* Moved unlock scene logic to separate files
* Magic number changed
* New felica render logic
* Felica scenes adjusted according to design requirements
* Felica poller cleanups
* Some asserts added and some fixed
* Replcaed asserts to checks in public api
* Fixed pvs warnings in felica_poller
* New event for felica_poller added for incomplete read actions
* Handling of new poller event added
* Update SConscript with felica files
* Update api_symbols.csv with felica functions
* Sync API versions

Co-authored-by: あく <alleteam@gmail.com>
2024-04-10 18:51:36 +09:00
..
helpers Move crypto1 to helpers, add it to the public API (#3567) 2024-04-07 23:47:48 +09:00
protocols [FL-3772] Felica poller (#3570) 2024-04-10 18:51:36 +09:00
nfc.c Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
nfc.h Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
nfc_common.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_device.c Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
nfc_device.h Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
nfc_device_i.c NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_device_i.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_listener.c Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
nfc_listener.h NFC refactoring (#3050) 2023-10-24 12:08:09 +09:00
nfc_poller.c Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
nfc_poller.h [FL-3666] NFC API improvements (#3214) 2023-11-15 17:32:45 +09:00
nfc_scanner.c Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
nfc_scanner.h [FL-870] Auto-generated firmware documentation take two (#2944) 2024-03-06 15:25:21 +09:00
SConscript [FL-3772] Felica poller (#3570) 2024-04-10 18:51:36 +09:00