I am working on K81POS Tower Board, I working on some cryptography examples using the fsl_ltc.c drivers available on the SDK.
I want to decrypt data of size 24,176 bytes, which I am doing using the api LTC_AES_DecryptCbc(), but I am facing a problem described below.
The driver allows a Data Size of 0xFF0 to be passed in multiple sessions to the core LTC Module which decrypts each block. After decryption of the first 0xFF0 bytes of my total 24,176 bytes the result appears to be corrupted each time.
Does any body has any Idea related to this problem.