LEAF CC 2 - 1 Vendor Reader Specification Rev A PDF
LEAF CC 2 - 1 Vendor Reader Specification Rev A PDF
LEAF CC 2 - 1 Vendor Reader Specification Rev A PDF
APPLICATION NOTE: LEAF Cc (Custom Crypto version 2.1)
How to read a LEAF card with a RFID Reader interface
1. General information
This document is intended to provide a definition of the data structure for LEAF 2.1, in order to allow any reader vendor to read
the LEAF Cc (Custom crypto) credential
● The NXP DESFire EV2 chip is used for LEAF Cc. Both 4K and 8K memory sizes are used for the LEAF card
● Every LEAF Cc card is configured into the full AES 128-bit encryption mode.
● The card comes with an advanced access control data structure (ACD), with security features that include digital
signatures, unique badge ID / site code sets, and tiered security access privileges
2. Access Control Application on a LEAF Cc card
● LEAF Cc Access Control App is located in App F51CDB File 2. This application is loaded with the Access Control
Data (defined in table 1 below) and protected by the end-user custom keys.
● Additional applications can be added to the card by the end-user, but an authentication with the end-user custom
card Master key Kmcc is required.
● LEAF Cc allows for 8 different types of RFID reader devices to indepedently read the ACD,, as this application is
protected by 8 read keys and one read/write master key.
● Encryption AES (communication fully enciphered)
● Read Access Rights via 8 keys (K1 .. K8)
● Application master key K0: Read/Write Access
● The Data is contained in File 2 of all four Access control Applications and is defined in Table 1.
Field Name Field Type Length Value range and/or (example)
(Bytes)
Access Data Bit Binary 1 1 .. 128 (for example 0x1A for 26-bit output)
Length
Leafip.co contact info@leafip.co for support APPLICATION NOTE: LEAF Cc (Custom Crypto version 2.1) - How to read a LEAF card with a RFID Reader interface Page 1
Access Reader Data Binary 16 Right justified array of bit stream data. Example (hexadecimal):
00 00 00 00 00 00 00 00 00 00 00 00 03 55 00 FF
Corresponding Wiegand bit stream output for Access Data Bit Length 26-bit:
11 0101 0101 0000 0000 1111 1111
Secure Issuance Binary 8 System 8-byte CMAC signature (using key Ksi)
Digital Signature
Reader Digital Binary 80 02 01 + 8-byte CMAC signature based on K1 and file data
Signatures (8x10) 02 02 + 8-byte CMAC signature based on K2 and file data
02 03 + 8-byte CMAC signature based on K3 and file data
02 04 + 8-byte CMAC signature based on K4 and file data
02 05 + 8-byte CMAC signature based on K5 and file data
02 06 + 8-byte CMAC signature based on K6 and file data
02 07 + 8-byte CMAC signature based on K7 and file data
02 08 + 8-byte CMAC signature based on K8 and file data
Card level Km Card Master Key PICC master key Card Master
Ksicc Custom System CMAC signature Ksicc is used to compute and Not Applicable. This key is known by the
LEAF Cc key verify the Secure Issuance card issuer and used to verify the card’s
Digital Signature of the ACD authenticity of the issuance
Kc1 through Kc8 Custom Access Control Application 8 Read-only Keys for app A total of 8 custom (end-user owned)
Read Keys F51CDB ((K1 through K8) read-only keys.
Leafip.co contact info@leafip.co for support APPLICATION NOTE: LEAF Cc (Custom Crypto version 2.1) - How to read a LEAF card with a RFID Reader interface Page 2
Custom Crypto Keys (Cc) Key Function
Kc1
Kc2
Kc3
Kc4 The 8 LEAF Cc(Custom Crypto) read keys of the Custom Access control application
Kc5
Kc6
Kc7
Kc8
Leafip.co contact info@leafip.co for support APPLICATION NOTE: LEAF Cc (Custom Crypto version 2.1) - How to read a LEAF card with a RFID Reader interface Page 3
APPENDIX A: USER TEST KEYS
A set of test keys for LEAF Cc is suggested below. These keys may be used for any necessary testing between vendors and
users
Custom Crypto Keys (Cc) Test Key Value
Leafip.co contact info@leafip.co for support APPLICATION NOTE: LEAF Cc (Custom Crypto version 2.1) - How to read a LEAF card with a RFID Reader interface Page 4