Hello,
I am using mbed TLS on silicon lab microcontroller. I want to use AES-GCM and AES-CCM mode of encryption.
I have created unit tests for AES-GCM , AES-CCM modes and it seems like some time AES-GCM gets fail to encrypt data more than ~200 Bytes.
But sometimes it encrypts the data successfully with some specific plain text length e.g 256 Bytes.
1- Why AES-GCM is not consistent with plain Text length in above-mentioned ranges?
2- Does the encryption/decryption really depends upon the Text length?
3- Can you please clarify what maximum length of plain Text for AES-GCM and AES-CCM mbed TLS supports?