Exercise 4.14
Last updated
Last updated
Prove that the following modifications of basic CBC-MAC do not yield a secure MAC (even for fixed-length messages):
Mac outputs all blocks rather than just . (Verification only checks whether is correct.)
A random initial block is used each time a message is authenticated. That is, choose uniform , run basic CBC-MAC over the “message” , and output the tag . Verification is done in the natural way.
Query
,
,
We know and . Hence
Let , i.e., . Then
Query
Therefore, is a valid pair of message and tag.
,
,
Hence for , should be a valid tag.