TI,
I'm having an issue when encrypting using AES in CCM mode for data lengths greater than 16. I am following the example in the documentation:
The code works fine for examples where ‘clearTextLength’ is <= 16, but fails if a value > 16 is given for the length (return code != Success). I have tested for the specific case in the example (text length = 16), and for shorter text lengths (CCM does not restrict the length to be a multiple of bytes)
You should be able to repeat the test by using the example code with the text length extended by 1 byte to 17 bytes.
Please will you look as this.