My colleague @mpp-anasa and I discovered that in certain scenarios where tc_cmac_update is called multiple times, an extra padding block can be created causing an invalid MAC to be generated.
I've included a modified version of the 512bit test that will fail on the existing version.
My colleague @mpp-anasa and I discovered that in certain scenarios where
tc_cmac_update
is called multiple times, an extra padding block can be created causing an invalid MAC to be generated.I've included a modified version of the 512bit test that will fail on the existing version.