Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

How to calculate commad apdu mac?

JavaCard Applet Development Related Questions and Answers.
marclo
Posts: 20
Joined: Thu Nov 19, 2015 5:41 am
Points :127
Contact:

How to calculate commad apdu mac?

Post by marclo » Wed Aug 23, 2017 10:56 pm

I am writing functionality of secure channel protocol SCP02. My Init update and External Authentication commands can work without any problem. But when I try to calculate MAC of successive command APDU, it does not get verified with the MAC that is there in JCOP command.

Could anyone help me on this issue? Many thanks.

Tarantino
Posts: 101
Joined: Wed Aug 19, 2015 1:56 am
Points :478
Contact:

Re: How to calculate commad apdu mac?

Post by Tarantino » Thu Aug 24, 2017 4:46 am

The algorithm for calculating next CMAC value is single DES in ECB mode.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 13 guests

JavaCard OS : Disclaimer