Exercise 4.14
Problem
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.
Solution
Part 1
Query
,
,
We know and . Hence
Let , i.e., . Then
Therefore, is a valid pair of message and tag.
Part 2
Query
,
,
Hence for , should be a valid tag.
Last updated
Was this helpful?