Hello !
I have evaluated AES-CCM co-processor in on-fly and from memory-to-memory encryption/decryption operations and see it works in BLE 2Mbit mode without visible problems.
But in case of 1Mbit, 500k and 125K on-fly modes, decryption is always failed ( MIC error ).
If after that I execute decryption operation from memory to memory, MIC is OK and data looks correct.
Encrypted data is received with valid CRC and I make conclusion that decryption on-fly have problem due HW problem or some miss-configuration.
Decrypted packets after on-fly and memory to memory operations are very close but some bytes are different ( 64 bytes are dumped, but packet length - 0x2E):
On-Fly : 002e00090101ff08010102baab6c87000ee8a43ffd010000000000000000000000003701f0cfce162ee91768656c6c6f7a000000000000000000000000000000
MtoM : 002e00090101ff08010102baab6c87000ee8663ffd010000000000000000000000000001f0cfce162ee91768656c6c6f31000000000000000000000000000000
S1 =0
Does it possible if AES-CCM HW have some problem with decryption ?
With 2Mbit radio and 2 Mbit datarate everything work fine. In other modes - decrypted buffer is always corrupted, but encryption and receiving encryption package work fine.
Regards,
Eugene