Presentation is loading. Please wait.

Presentation is loading. Please wait.

HARDWARE IMPLEMENTATION OF TEA TINY ENCRYPTION ALGORITHM

Similar presentations


Presentation on theme: "HARDWARE IMPLEMENTATION OF TEA TINY ENCRYPTION ALGORITHM"— Presentation transcript:

1 HARDWARE IMPLEMENTATION OF TEA TINY ENCRYPTION ALGORITHM
ANOOP KUMAR PALVAI

2 The Tiny Encryption Algorithm (TEA) is one of the fastest and most efficient cryptographic algorithms in existence. Developed by Roger Needham and David Wheeler.

3 OVERVIEW OF TEA TEA is a symmetric key algorithm. TEA is designed to minimize memory footprint and maximize speed. It is a Feistel type cipher that uses operations from mixed (orthogonal) algebraic groups. Achieves the Shannon's properties of complete diffusion and confusion with out the employment of S & P boxes, after only six rounds but thirty two rounds are recommended.

4 OVERVIEW Contd.. TEA seems to be highly resistant to differential cryptanalysis. TEA is a compromise for safety, ease of implementation, lack of specialized tables, and reasonable performance.

5 FUNCTIONALITY OF TEA Inputs to encryption algorithm are 64 bits of plain/cipher text , 128 bits of key and output is a cipher/plain text. It performs operations on 32 bit words. Each half of message is used to encrypt the other half over 64 rounds of processing and then combine to produce the cipher text block.

6

7 OPERATIONS PERFORMED IN A SINGLE ITERATION
Each round i has inputs Left[i-1] and Right[i-1], derived from the previous round, as well as a sub key K[i] derived from the 128 bit overall K. The sub keys K[i] are different from K and from each other. The constant delta =(9E3779B9)h , is derived from the golden number ratio to ensure sub keys to be different.

8

9

10 DECRYPTION Decryption is essentially the same as the encryption process. The sub keys K[i] are used in the reverse order. It reduces the area required for implementation by half.

11

12 IMPLENTATION IN HARDWARE

13 + Register 1 Register 0 Function SUM >>11 “AND” 3 se E Sel Delta
B INPUT (H) INPUT (L) K(0) K(1) K(2) K(3) limit 000 se E

14 D A <<4 >>5 + B E + + C

15 St reset = ’1’ St5 en2=1, en4=1, s1=1, s2=1 a = ‘0’ St1 s1=1, en1 =1, en2 =1,en4 =1 St2 en1=1, en4 =1, s1 = 1, s2=0 St3 en3 = 1, sel = 10 St4 en2=1, s1=1, s2=1 St8 Sum !=limit St6 St7 en1=1, s1=1, s2=0 Sum = x False True Sel = 01 01 Sel =00

16 Tools Used Aldec Active HDL 7.1 for simulation
Xilinx XST for synthesis Xilinx ISE 8.2i for implementation Device Utilization Summary Device : xilinx Spartan3 xc3s1500-5fg456 Number of Slice Flip Flops : 118 out of 26, % Total Number 4 input LUTs : 1,130 out of 26, % Number of occupied Slices : 594 out of 13, % Number of bonded IOBs : 293 out of % Number of MULT18X18s : 3 out of % Total equivalent gate count for design: 20,489 Minimum Time Period : ns Maximum Frequency : 50.6 MHz

17 Questions? Thank You


Download ppt "HARDWARE IMPLEMENTATION OF TEA TINY ENCRYPTION ALGORITHM"

Similar presentations


Ads by Google