Hi
I am trying to use CCM mode for packet encryption and authentication.
My final frame will be like this
Header + Payload + MIC
I want to authenticate Header + Payload part Which will generate MIC of 4 bytes (CBC-MAC)
Then I want Payload + MIC(generated in above ) to be encrypted (CTR).
I am using CCM instruction for this but it is not generating right MIC. Because if this my packet fails to decrypt at
receiving side.
I am little confused about it
is single CCM instruction is sufficient for above operation?
Thanks