The version of SEC engine in C29x HW does not support ICV checking
for odd length tags. Because the version of C29x AESA does not support
odd byte length ICV, it is expected C29x fails GCM with an odd byte length ICV.
When performing AES GSM encrypt + tag generation, if you specify an
odd number, say 9B tag, the AESA would generate a 16B tag. The work
around is just to compare the first 9B in software .
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------