Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What magazine and ads did you choose to examine?

Answered: 1 week ago