How to calculate the MAC of Mifare plus card communication

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to calculate the MAC of Mifare plus card communication

830 Views
caipener
Contributor I


Kx:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

RndA: CFC10C4F63053E150825C8C7E805F302
RndB: AF87144689F30FCA69DE085CEA979CBD
TI: 340CF9A0

Session key base KMAC: 229B02926FBF89F30FCA6963053E1508

KMAC: F7636FC79CA67221BADCF2C04506F195

I want to send ReadPlainMAC_MACed at SL3 reads sector data,

The command sent should be 33 0000 01. How should I calculate the Mac? I refer to the ds522333 document 。

0 Kudos
Reply
1 Reply

803 Views
Fabian_R
NXP TechSupport
NXP TechSupport

As you might know,  there are some of the documents and libraries which are under NDA (Non-Disclosure Agreement) and placed in docstore, could you please follow these guides?

 

 

Docstore tutorial part 1: User Registration|NXP : https://www.nxp.com/video/docstore-tutorial-part-1-user-registration:DOCSTORE-USER-REGISTRATION

Docstore tutorial part 2: portal usage|NXP :

https://www.nxp.com/video/docstore-tutorial-part-2-portal-usage:DOCSTORE-TUTORIAL-PORTAL-USAGE

 

Also, you will need to contact one of our distributors available in the  Distributor Network|NXP to help you through the NDA process.

 

https://www.nxp.com/support/sample-buy/distributor-network:DISTRIBUTORS

Best Regards,
Fabian
0 Kudos
Reply