Hi team,
I followed the project sloa213. And testing all functions are correct. So, I keep going to implement other Desfire EV1 functions. So I wonder know that you keep updating on project sloa213 or not. But I failed to implement the function with data transmission by AES. I have an NDA with Desfire EV1 document (but only for DES). When I testing function changeKeySetting with new key settings. I got an error INTEGRITY_ERROR. My questions are below.
1. AES128 needs to do crc32. What the data need to be included?
1. I-BlockNumber
2. CID
3. CHANGE_KEY_SETTINGS CMD
4. New key Setting
I tried 1+2+3+4 and 3+4 and 4 only. All got INTEGRITY_ERROR.
2. What data needs to AES128 enciper? Are the values listed below correct?
1. New key setting.
2. 4 bytes value of crc32.
Thanks.
Warm regards,
Ken.