Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this problem, we demonstrate that for CMAC, a variant that XORs the second key after applying the final encryption doesn't work. Let us consider
In this problem, we demonstrate that for CMAC, a variant that XORs the second key after applying the final encryption doesn't work. Let us consider this for the case of the message being an integer multiple of the block size. Then, the variant can be expressed as VMAC(K, M) CBC(KM) ? K. Now suppose an adver- sary is able to ask for the MACs of three messages: the message 00", where n is the cipher block size; the message 1-; and the message 10. As a result of these three queries, the adversary gets ???CBC(K, 0) ? K?; T-CBCK. 1) ? K and T; = CBCK. [CBC(K, 1)]) K. Show that the adversary can compute the correct MAC for the (unque ried) message ? (T?T?). 12.4 In this problem, we demonstrate that for CMAC, a variant that XORs the second key after applying the final encryption doesn't work. Let us consider this for the case of the message being an integer multiple of the block size. Then, the variant can be expressed as VMAC(K, M) CBC(KM) ? K. Now suppose an adver- sary is able to ask for the MACs of three messages: the message 00", where n is the cipher block size; the message 1-; and the message 10. As a result of these three queries, the adversary gets ???CBC(K, 0) ? K?; T-CBCK. 1) ? K and T; = CBCK. [CBC(K, 1)]) K. Show that the adversary can compute the correct MAC for the (unque ried) message ? (T?T?). 12.4
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started