Advance encryption Standard VHDL implementation Florida International University

  • Slides: 27
Download presentation
Advance encryption Standard VHDL implementation Florida International University Department of Electrical and Computer Engineering

Advance encryption Standard VHDL implementation Florida International University Department of Electrical and Computer Engineering Fall 2003 By Wilson Luengas Richard Zavaleta Luis Gonzalez 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Objective n Design, simulation and implementation of symmetric encryption system. 6/12/2021 W. L. &

Objective n Design, simulation and implementation of symmetric encryption system. 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Importance of Data and Network Security n n Interception, modification or destruction of sensitive

Importance of Data and Network Security n n Interception, modification or destruction of sensitive data may cause great personal and financial distress. Popularity of online transactions and digital storage. 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Data and network security limitations n There is no 100% secured networks. n n

Data and network security limitations n There is no 100% secured networks. n n n 6/12/2021 Attackers may be hackers or disgruntled employees. Breach of security may be due to negligence of employees or absence of security policy. New viruses are created all the time. W. L. & R. Z. - F. I. U. - E. C. E

Advance Encryption Standard (AES) n n NIST chose the Rijndael algorithm as its AES

Advance Encryption Standard (AES) n n NIST chose the Rijndael algorithm as its AES standard in 2001 [1]. No known security attacks. It can be implemented in 8 -bits, 64 -bits platforms, and DSP. Low RAM and ROM requirement. 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

AES Parameters Key size (bits) 128 192 256 Block size (bits) 128 128 Number

AES Parameters Key size (bits) 128 192 256 Block size (bits) 128 128 Number of rounds 10 12 14 Round key size (bits) 128 128 Expanded key size (bytes) 176 208 240 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

AES 128 -bits Encryption Structure 6/12/2021 W. L. & R. Z. - F. I.

AES 128 -bits Encryption Structure 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Add Round Key Transformation Example: 6/12/2021 a 3 1 0 0 0 1 1

Add Round Key Transformation Example: 6/12/2021 a 3 1 0 0 0 1 1 92 1 0 0 1 0 xor 0 0 1 1 0 0 0 1 W. L. & R. Z. - F. I. U. - E. C. E

Byte Substitution Transformation S-box Matrix State 6/12/2021 Byte substitution Matrix W. L. & R.

Byte Substitution Transformation S-box Matrix State 6/12/2021 Byte substitution Matrix W. L. & R. Z. - F. I. U. - E. C. E

Shift Row Transformation a 0 ad c 9 95 1 b 7 e 62

Shift Row Transformation a 0 ad c 9 95 1 b 7 e 62 d 5 1 b 2 d fb 85 bd 2 d fb 19 76 ce 2 c 2 c 19 76 ce State 6/12/2021 Shift Row Matrix W. L. & R. Z. - F. I. U. - E. C. E

Mix Column Transformation 6/12/2021 W. L. & R. Z. - F. I. U. -

Mix Column Transformation 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Tools & Equipment n n · · n n Microsoft Visual C++ 6. 0

Tools & Equipment n n · · n n Microsoft Visual C++ 6. 0 CPLD Proto Board Cypress P/N CY 4000 o CY 39100 V 208 B-82 NTC o Cy 37256 VP 160 -66 AC · Mentor Graphic Leonardo. Spectrum 2002, synthesis software. · Modelsim 5. 6 f, simulation software. · Cypress Lab CD-ROM. n o Warp 6. 3 n o IRS Release 3. 0. 7 n 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Simulation Results 6/12/2021 W. L. & R. Z. - F. I. U. - E.

Simulation Results 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Simulation Results (Cont…) 6/12/2021 W. L. & R. Z. - F. I. U. -

Simulation Results (Cont…) 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

File Encryption 6/12/2021 W. L. & R. Z. - F. I. U. - E.

File Encryption 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

File Data Transfer 6/12/2021 W. L. & R. Z. - F. I. U. -

File Data Transfer 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

FPGA Devices CY 39100 V 208 B 83 NTC CY 37256 V P 160

FPGA Devices CY 39100 V 208 B 83 NTC CY 37256 V P 160 -66 AC 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Design Constrains n n n Number of pins Number of Logic Units Number of

Design Constrains n n n Number of pins Number of Logic Units Number of Macrocells 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

CY 39100 V Fitting LOGIC UNITS 6/12/2021 USED ON DEVICE 187 96 W. L.

CY 39100 V Fitting LOGIC UNITS 6/12/2021 USED ON DEVICE 187 96 W. L. & R. Z. - F. I. U. - E. C. E

Design Splitting LOGIC UNITS USED 105 6/12/2021 W. L. & R. Z. - F.

Design Splitting LOGIC UNITS USED 105 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E ON DEVICE 96

Design Optimization LOGIC UNITS USED 105 6/12/2021 ON DEVICE 96 LOGIC UNITS USED 101

Design Optimization LOGIC UNITS USED 105 6/12/2021 ON DEVICE 96 LOGIC UNITS USED 101 ON DEVICE 96 W. L. & R. Z. - F. I. U. - E. C. E LOGIC UNITS USED 99 ON DEVICE 96

Design Splitting (Cont…) LOGIC UNITS USED 109 6/12/2021 W. L. & R. Z. -

Design Splitting (Cont…) LOGIC UNITS USED 109 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E ON DEVICE 96

Scaled Down Design 6/12/2021 W. L. & R. Z. - F. I. U. -

Scaled Down Design 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Chip Resource Summary 6/12/2021 Resource Used Max Macrocells 848 1536 Cluster Memories 0 24

Chip Resource Summary 6/12/2021 Resource Used Max Macrocells 848 1536 Cluster Memories 0 24 Channel Memories 0 12 IO Cells 33 128 Global Clocks 2 4 Global Controls 0 4 Logic Blocks 67 96 Cluster Blocks 11 12 W. L. & R. Z. - F. I. U. - E. C. E

Future Work 6/12/2021 W. L. & R. Z. - F. I. U. - E.

Future Work 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

Conclusions n n n Knowledge of devices resources. Difference between simulation software and synthesis

Conclusions n n n Knowledge of devices resources. Difference between simulation software and synthesis software. Difference between synthesis softwares. Knowledge of synthesis algorithms. Divide and conquer approach. Use full development kit. 6/12/2021 W. L. & R. Z. - F. I. U. - E. C. E

References 1. 2. 6/12/2021 National Institute of Standards and Technology. Specifications for the Advanced

References 1. 2. 6/12/2021 National Institute of Standards and Technology. Specifications for the Advanced Encryption Standard (AES), http: //csrc. nist. gov/publications/fips 97/fips-197. pdf, (2001). J. J. Buchhloz, Advanced Encryption Standard, http: //buchholz. hsbremen. de, Dec. 2001. W. L. & R. Z. - F. I. U. - E. C. E