Question: ( 9 points ) Message authentication code. In this question, we are confronted with bad MAC design. We have an n - bit key K

(9 points) Message authentication code. In this question, we are confronted with bad MAC
design. We have an n-bit key K. Let BK:{0,1}n{0,1}n be a PRP secure block cipher.
Consider messages m of length 3n bits. Write m=m1||m2||m3 where |m1|=|m2|=|m3|=n.
The symbol || denotes concatenation of strings. Our MAC function is defined as:
MACK(m)=BK(?bar(m1))o+BK(m3)||BK(?bar(m2)o+m3).
Consider a generation query of the form m1||1n||m3, that provides you with the tag T=t1||t2.
(a) Give explicit expressions for t1 and t2.[Hint: Your expressions will likely use BK.]
(b) Show how you can make a forgery for this MAC function without making any other gener-
2pt
ation queries. [Show that a verification query on your forgery outputs that the tag is valid.
Hint: You can distill more information from the generation query than just the values t1
and t2.]
 (9 points) Message authentication code. In this question, we are confronted

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!