Unit 3-Symmetric Key Crypto_Part35

Unit 3-Symmetric Key Crypto_Part35 - (K[0,K[1,K[2,K[3 = 128...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Unit 3 - 69 Assuming 32 rounds: (K[0],K[1],K[2],K[3]) = 128 bit key (L,R) = plaintext (64-bit block) delta = 0x9e3779b9 sum = 0 for i = 1 to 32 sum += delta L += ((R<<4)+K[0]) (R+sum) ((R>>5)+K[1]) R += ((L<<4)+K[2]) (L+sum) ((L>>5)+K[3]) next i ciphertext = (L,R) TEA Encryption
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Unit 3 - 70 Assuming 32 rounds:
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (K[0],K[1],K[2],K[3]) = 128 bit key (L,R) = ciphertext (64-bit block) delta = 0x9e3779b9 sum = delta << 5 for i = 1 to 32 R − = ((L<<4)+K[2]) ⊕ (L+sum) ⊕ ((L>>5)+K[3]) L − = ((R<<4)+K[0]) ⊕ (R+sum) ⊕ ((R>>5)+K[1]) sum − = delta next i plaintext = (L,R) TEA Decryption...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

Unit 3-Symmetric Key Crypto_Part35 - (K[0,K[1,K[2,K[3 = 128...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online