Communication Mode
Source code in src/desfire/enums/desfire_communication_mode.py
CMAC
class-attribute
instance-attribute
¶
- TX: CMAC needs to be calculated to update the IV, and CMAC is appended
- RX: CMAC is attached to the data and needs to be verified
ENCRYPTED
class-attribute
instance-attribute
¶
- TX: CRC creation + data encryption
- RX: Data decryption + CRC verification
PLAIN
class-attribute
instance-attribute
¶
- TX: CMAC needs to be calculated to update the IV, but CMAC is not appended
- RX: No impact