Hi @Kan_Li ,
thank you for your reply.
I managed to perform the authentication using ADPU commands.
I successfully made the first part or the AuthenticateEV2First.
I found this framework that seems to support che CBC mode on AES: https://github.com/krzyzanowskim/CryptoSwift
So, just for clarity, when the AuthenticateEV2First - part 1 is performed, what it returns in the data is the RndB AES-CBC encrypted with a symmetric key, right?
So the part 2 is about encrypting using AES-CBC the concatenation of RndA and RndB rotated by 1 byte left using the same symmetric key, right?
So the RndA is made by 16 byte totally random generated from the app, correct?
Thank you very much!