JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

CAN'T calculate C-MAC

Algorithm School

Moderator: UNKNwYSHSA

sakkiotto
Posts: 12
Joined: Thu Dec 03, 2015 5:29 am
Points :86
Contact:

CAN'T calculate C-MAC

Post by sakkiotto » Thu Oct 27, 2016 11:22 pm

I am trying to implement SCP02 i=15, I can calculate the C-MAC with DES for the external authenticate command without any problem, but I can not calculate the C-MAC for the second command with the same algorithm. Anyone know where the problem exists?

cprgolds
Posts: 8
Joined: Thu Jan 14, 2016 4:31 am
Points :68
Contact:

Re: CAN'T calculate C-MAC

Post by cprgolds » Fri Oct 28, 2016 4:31 am

You might use the wrong ICV.

tomc2016
Posts: 12
Joined: Tue Feb 16, 2016 3:45 am
Points :109
Contact:

Re: CAN'T calculate C-MAC

Post by tomc2016 » Fri Oct 28, 2016 5:03 am

It's possibly because the ICV encryption does not match what your card expects.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 20 guests

JavaCard OS : Disclaimer