Datasheet
MF1S50YYX All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet
COMPANY PUBLIC
Rev. 3.0 — 2 May 2011
196330 21 of 39
NXP Semiconductors
MF1S50yyX
MIFARE Classic 1K - Mainstream contactless smart card IC
11. MIFARE Classic commands
11.1 MIFARE Authentication
The MIFARE authentication is a 3-pass mutual authentication which needs two pairs of
command-response. These two parts, MIFARE authentication part 1 and part 2 are shown
in Figure 13
, Figure 14 and Table 17.
Table 18
shows the required timing.
Fig 13. MIFARE Authentication part 1
Fig 14. MIFARE Authentication part 2
Table 17. MIFARE authentication command
Name Code Description Length
Auth (with Key A) 60h Authentication with Key A 1 byte
Auth (with Key B) 61h Authentication with Key B 1 byte
Addr - MIFARE Block address (00h to FFh) 1 byte
CRC - CRC according to Ref. 4
2 bytes
Token RB - Challenge 1 (Random Number) 4 bytes
Token AB - Challenge 2 (encrypted data) 8 bytes
Token BA - Challenge 2 (encrypted data) 4 bytes
NAK see Table 10
see Section 9.3 4-bit
001aan00
4
CRCAddrPCD Auth
Token RB
PICC ,,ACK''
368 μs
359 μs
PICC ,,NAK''
NAK
Time out
T
TimeOut
T
NAK
T
ACK
59 μs
T
TimeOut
T
ACK
Token AB
708 µs
Token BA
PCD
PICC `ACK`
TimeOut
359 µs
001aan917