Page 1 of 1

How to confirm the integrity of transient array

Posted: Thu May 18, 2017 2:38 am
by notuo
I am using the transient array to store data. After the signature is computed, the data is encrypted with the 3DES key. After that, the data is transfered into APDU buffer and sent to the terminal. I am using the 2KB keys, so the signature in returned in two APDU responses. How can I confirm the integrity of that transient array?

Re: How to confirm the integrity of transient array

Posted: Thu May 18, 2017 3:12 am
by popmun09
Calculate MAC or CRC and then verify on the terminal side.