Page 1 of 1

CAN'T calculate C-MAC

Posted: Thu Oct 27, 2016 11:22 pm
by sakkiotto
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?

Re: CAN'T calculate C-MAC

Posted: Fri Oct 28, 2016 4:31 am
by cprgolds
You might use the wrong ICV.

Re: CAN'T calculate C-MAC

Posted: Fri Oct 28, 2016 5:03 am
by tomc2016
It's possibly because the ICV encryption does not match what your card expects.