SlideShare a Scribd company logo
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN
0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME
308
DESIGN OF AREA OPTIMIZED AES ENCRYPTION CORE USING
PIPELINING TECHNOLOGY
Anubhav Gupta1
, Harish Bansal2
1
Student M.Tech(VLSI), M.M Engineering College, Maharishi Markandeshwar University,
Mullana (Ambala)
2
Asstt. Prof. M.M Engineering College, Maharishi Markandeshwar University, Mullana
(Ambala)
ABSTRACT
A new pipelining technology based design scheme of the AES-128 (Advanced
Encryption Standard, with 128-bit key) encryption algorithm is proposed in this paper. For
maintaining the speed of encryption, the pipelining technology is applied and the mode of
data transmission is modified in this design so that the chip size can be reduced. The 128-bit
plaintext and the 128- bit initial key, as well as the 128-bit output of cipher text, are all
divided into four 32-bit consecutive units respectively controlled by the clock. The synthesis
verification based on HJTC0.18um CMOS process shows that this new program can
significantly decrease quantity of chip pins and effectively optimize the area of chip.
Keywords: Area optimization; Pipelining; VHDL.
1. INTRODUCTION
The number of individuals and organizations using wide computer networks for
personal and professional activities has recently increased a lot. A cryptographic algorithm is
an essential part in network security. With the rapid development and wide application of
computer and communication networks, the information security has aroused high attention.
Information security is not only applied to the political, military and diplomatic fields, but
also applied to the common fields of people’s daily lives. With the continuous development
of cryptographic techniques, the long-serving DES algorithm with 56-bit key length has been
broken because of the defect of short keys. The "Rijndael encryption algorithm" invented by
Belgian cryptographers Joan Daemen and Vincent Rijmen's had been chosen as the standard
INTERNATIONAL JOURNAL OF ELECTRONICS AND
COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)
ISSN 0976 – 6464(Print)
ISSN 0976 – 6472(Online)
Volume 4, Issue 2, March – April, 2013, pp. 308-314
© IAEME: www.iaeme.com/ijecet.asp
Journal Impact Factor (2013): 5.8896 (Calculated by GISI)
www.jifactor.com
IJECET
© I A E M E
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN
0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME
309
AES (Advanced Encryption Standard) algorithm whose packet length is 128 bits and the key
length is 128 bits, 192 bits, or 256 bits. Since 2006, the Rijndael algorithm of advanced
encryption standard has become one of the most popular algorithms in symmetric key
encryption. AES can resist various currently known attacks.
Hardware security solution based on highly optimized programmable FPGA provides
the parallel processing capabilities and can achieve the required encryption performance
benchmarks. The current area-optimized algorithms of AES are mainly based on the
realization of S-box mode and the minimizing of the internal registers which could save the
area of IP core significantly.
In this paper, we present an design of the AES block cipher with pipelining
technology. We have exploited the temporal parallelism available in the AES algorithm. Our
chip contains the same ten units, and each unit can execute one round of the algorithm. Using
external pipelined design, ten rounds of the algorithm are executed in parallel in a chip.
Furthermore, using internal pipelining and key exchange pipelining, pipelining technology
was utilized in the intermediate nine round transformations so that the new algorithm
achieved a balance between encryption speed and chip area, which met the requirements of
practical application.
The results show that this new algorithm with pipelining technology and special mode
of data transmission can significantly decrease the quantity of chip pins and reduce the chip
area.
2. AES OVERVIEW
AES is a symmetric cipher that processes data in 128-bit blocks. It supports key sizes
of 128, 192, and 256 bits and consists of 10, 12, or 14 iteration rounds, respectively. Each
round mixes the data with a roundkey, which is generated from the encryption key.
Decryption inverts the iterations resulting in a partially different data path.
The steps involved are given below:
1. Key Expansion using Rijndael's key schedule
2. Initial Round
o AddRoundKey
3. Round
o Sub Bytes—a non-linear substitution step where each byte is replaced with another
according to a lookup table.
o Shift Rows—a transposition step where each row of the state is shifted cyclically a certain
number of steps.
o Mix Columns—a mixing operation which operates on the columns of the state,
combining the four bytes in each column
o AddRoundKey—each byte of the state is combined with the round key; each round key is
derived from the cipher key using a key schedule.
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN
0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME
310
Figure 1. AES round operations
4. Final Round (no Mix Columns)
o Sub Bytes
o Shift Rows
o AddRoundKey
This is the iterative looping architecture of the AES. VHDL code is written for the AES
encryption algorithm for finding cipher for any given plaintext input.
3. RELATED WORK
After the ratification of AES, a large number of its hardware implementations have
appeared. Whereas the earlier designs mainly focused on intensively pipelined, high-speed
implementations, the more recent work has concentrated on compact and low-power
architectures considering low-cost devices and feedback modes of operation.
Basically pipelining means to process the data that is given as input in a continuous
manner without having to wait for the current process to get over. This pipelining concept is
seen in many processors. In the architecture in the registers are used to store the current
output of the round that is being executed. Now instead of passing the output of each round to
the next round directly we use a register which would act as a bypass or an internal register.
Since the current rounds value is stored in the register the next input to the current round can
be given as soon as the current output is obtained. And the input to the next round is given
from the register thus avoiding a direct contact between the two rounds. This is not possible
in the iterative looping architecture because the next input can be given only when the whole
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN
0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME
311
round based processing is over since the same hardware is used over and again in the process
of obtaining the cipher text. Thus, the pipelined architecture increases the speed of execution
for obtaining the cipher text but at a cost of increased hardware. In the substitute bytes we use
a look up table based S-box. This contributes for some of the hardware in the form of block
RAMs. With the help of a search based look up table (LUT) we can reduce the hardware cost
to a considerable extent.
From the above analysis, we can find that the process of AES encryption can be
mainly divided into two parts: key schedule and round transformation. The improved
structure is also divided into these two major processes.
The initial key will be sent to the two modules: Keyexpansion and Keyselection,
while the plaintext is to be sent to the round transformation after the roundkey is selected. But
the operand of data transmission is turned into a 32-bit unit.
Figure 2. The new improved structure of AES algorithm
The functions of various parts of the structure shown above are described as follow:
1. The initial round of encryption:
The four packets of consecutive 32-bit plaintext (128 bits) have been put into the
corresponding registers. Meanwhile, another four packets of consecutive 32-bit initial key
(128 bits) have been put into other registers by the control of the enable clock signal.
Furthermore, this module should combine the plaintext and initial key by using the XOR
operators.
2. Round Transformation in the intermediate steps:
A round transformation mainly realizes the function of SubBytes and MixColumns with 32-
bit columns. Four packets of round transformation are processed independently. Then the
results of MixColumns and the 32-bit keys sourced from Keyexpansion are combined by
using XOR operators. Here, the round transformation is a module with 64 input ports (32- bit
plaintext+32-bit key) and 32 output ports.
The function of SubByte is realized by Look-Up Table (LUT). It means that the operation is
completed by the Find and Replace after all replacement units are stored in a memoy
(256×8bit = 1024 bit).
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN
0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME
312
The implementation of MixColumn is mainly based on the mathematical analysis in the
Galois field GF(28). Only the multiplication module and the 32-bit XOR module of each
processing unit (one column) are needed to design, because the elements of the multiplication
and addition in Galois field are commutative and associative. Then the function of
MixColumn can be achieved.
4. FUNCTIONAL SIMULATION AND SYNTHESIS
In this paper, the new structure of AES-128 encryption algorithm introduced above is
implemented with VHDL hardware description language, while minimizing the input /output
ports to save redundant area of the chip. The V file named aes_control in the project of the
design contains the input and output ports, interface converters and controllers. Other
function modules are described in independent V files respectively. We used ModelSim SE
PLUS 6.0 for the waveform simulation platform and verified the results.
The Simulation in the Modelsim SE PLUS 6.0 Platform
Firstly, all project files of the design were compiled in Modelsim SE PLUS 6.0
simulation platform. If the files were all compiled successfully, the simulated waveforms
could be obtained when loading the test file test_bench_top. Figure shows the simulation
waveform of the new algorithm
Figure 3. The 32-bit plaintext, 32-bit initial key and 32-bit cyphertext
The initial 128-bit input tmp0 sequences are extracted to four 32-bit words as the
plaintext (128bit) meanwhile, the 128-bit input sequences tmp1 are extracted to four 32-bit
words as initial key (128bit); the sequences of tmp2(128bit) are the correct ciphertext data,
which is used for validating the correctness of the new encryption scheme. We found that the
input in0 of four continuous state words and 128 bits plaintext tmp0 express the same by the
control signal of en; four consecutive state-words of input in1 are consistent with 128 bits
key. After a complete process of AES encryption, the output stream data_out_32 exports four
continuous 32-bit sequences, which are consistent with the 128bits ciphertext tmp2. In
conclusion, the logic function of improved algorithm is correct and it satisfies the
requirement of AES encryption algorithm.
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN
0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME
313
Above table shows that the logic elements of the new improved structure increase and
the total registers is more than twice of the original quantity. The reason lies on the
segmentation of data in the Round Transformation. The pipelining process of four 32-bit
packets data needs more registers than before. A certain clock delay will be produced in the
encryption process, because of the processing mode of packets. So the pipelining technology
is used in the round transformation, ensuring that the encryption speed meets the actual
demand.
The pipelining technology and 32-bit packet segmentation greatly reduces the area of the
chip.
Dynamic power consumption accounts for the majority of the circuit power consumption, and
the dynamic power is relatively reduced compared with the unimproved algorithms, and the
encrypted rate decreases. However, this clock delay is acceptable and still meets the
application requirement.
5. CONCLUSION
A design using pipelining technology for area-optimized AES algorithm which meets
the actual application is proposed in this paper. After being coded with VHDL Hardware
Description Language, the waveform simulation of the new algorithm was taken in the
ModelSim SE PLUS 6.0. Ultimately, a synthesis simulation of the new algorithm has been
done. The result shows that the design with the pipelining technology and special data
transmission mode can optimize the chip area effectively. Meanwhile, this design reduces
power consumption to some extent, for the power consumption is directly related to the chip
area. Therefore the encryption device implemented in this method can meet some practical
applications.
International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN
0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME
314
REFERENCES
[1] J.Yang, J.Ding, N.Li and Y.X.Guo, “FPGA-based design and implementation of reduced
AES algorithm” IEEE Inter.Conf. Chal Envir Sci Com Engin(CESCE).,Vol.02, Issue.5-6,
pp.67-70, Jun 2010.
[2] A.M.Deshpande, M.S.Deshpande and D.N.Kayatanavar,“FPGA Implementation of AES
Encryption and Decryption”IEEE
Inter.Conf.Cont,Auto,Com,and Ener., vol.01, issue04, pp.1-6,Jun.2009.
[3] Hiremath.S. and Suma.M.S.,“Advanced Encryption Standard Implemented on FPGA”
IEEE Inter.Conf. Comp Elec Engin. (IECEE), vol.02,issue.28,pp.656-660,Dec.2009.
[4] Abdel-hafeez.S.,Sawalmeh.A. and Bataineh.S.,“High Performance AES Design using
Pipelining Structure over GF(28)” IEEE Inter Conf.Signal Proc and Com.,vol.24-27, pp.716-
719,Nov. 2007.
[5] Rizk.M.R.M. and Morsy, M., “Optimized Area and Optimized Speed Hardware
Implementations of AES on FPGA”, IEEE Inter Conf. Desig Tes Wor.,vol.1,issue.
16,pp.207-217, Dec. 2007.
[6] Liberatori.M.,Otero.F.,Bonadero.J.C. and Castineira.J. “AES-128 Cipher. High Speed,
Low Cost FPGA Implementation”, IEEE Conf. Southern Programmable Logic(SPL),
vol.04,issue.07,pp.195-198,Jun. 2007.
[7] Abdelhalim.M.B., Aslan.H.K. and Farouk.H. “A design for an FPGAbased
implementation of Rijndael cipher”,ITICT. Ena Techn N Kn Soc.(ETNKS), vol.5,
issue.6,pp.897-912,Dec.2005.
[8] D. Canright. A very compact S-box for AES. In Proc.7th Int. Workshop on Cryptographic
Hardware and Embedded
Systems (CHES 2005), pages 441–455, Edinburgh, UK, Aug. 29–Sept. 1, 2005.
[9] P. Chodowiec and K. Gaj. Very compact FPGA implementation of the AES algorithm. In
Proc. 5th Int. Workshop on Cryptographic Hardware and Embedded Systems (CHES 2003),
pages 319–333, Cologne, Germany, Sept. 8–10, 2003.
[10] S. Farhan, S. Khan, and H. Jamal. Mapping of high-bit algorithm to low-bit for
optimized hardware implementation. In
Proc. 16th IEEE Int. Conf. on microelectronics (ICM 2004),pages 148–151, Tunis, Tunisia,
Dec. 6–8, 2004.
[11] M. Feldhofer, S. Dominikus, and J. Wolkerstorfer. Strong authentication for RFID
systems using the AES algorithm. In Proc. 6th Int. Workshop on Cryptographic Hardware
and Embedded Systems (CHES 2004), pages 357–370, Boston, MA, USA, Aug. 11–13,
2004.
[12] Sandeep Bidwai, Saylee S. Bidwai, Dr.S.P.Patil and Sunita S. Shinde, “Implementation
& Performance Analysis of Cordic in OFDM Based Wlan System Using VHDL”,
International Journal of Electronics and Communication Engineering & Technology
(IJECET), Volume 3, Issue 3, 2012, pp. 103 - 111, ISSN Print: 0976- 6464, ISSN Online:
0976 –6472.
[13] Nilesh P. Bodne and A.A. Kelkar, “VHDL Modeling for Wi-Fi Mac Layer Transmitter
and Receiver”, International Journal of Electronics and Communication Engineering &
Technology (IJECET), Volume 3, Issue 1, 2012, pp. 171 - 177, ISSN Print: 0976- 6464,
ISSN Online: 0976 –6472.

More Related Content

What's hot (19)

PDF
Review On 2:4 Decoder By Reversible Logic Gates For Low Power Consumption
IRJET Journal
 
PDF
Multiple Valued Logic for Synthesis and Simulation of Digital Circuits
IJERA Editor
 
PDF
Implementation performance analysis of cordic
iaemedu
 
PDF
IRJET - Multi-Key Privacy in Cloud Computing
IRJET Journal
 
PDF
A Configurable and Low Power Hard-Decision Viterbi Decoder in VLSI Architecture
IRJET Journal
 
PDF
A Cryptographic Hardware Revolution in Communication Systems using Verilog HDL
idescitation
 
PDF
Layout Design Comparison of CMOS and Gate
IJEEE
 
PDF
S4102152159
IJERA Editor
 
PDF
Design of low power barrel shifter and rotator using two phase clocked adiaba...
eSAT Publishing House
 
PDF
Reversed-Trellis Tail-Biting Convolutional Code (RT-TBCC) Decoder Architectur...
IJECEIAES
 
PDF
A High Throughput CFA AES S-Box with Error Correction Capability
IOSR Journals
 
PDF
High Speed Optimized AES using Parallel Processing Implementation
IRJET Journal
 
PDF
Design of Power Efficient 4x4 Multiplier Based On Various Power Optimizing Te...
Associate Professor in VSB Coimbatore
 
PDF
Implementation of a stream cipher based on bernoulli's map
ijcsit
 
PDF
Vhdl modeling of the sram module and state machine controller smc module of r...
IAEME Publication
 
PDF
Design of Low Power Vedic Multiplier Based on Reversible Logic
IJERA Editor
 
PDF
High Speed 8-bit Counters using State Excitation Logic and their Application ...
International Journal of Science and Research (IJSR)
 
PDF
FPGA Implementation of SubByte & Inverse SubByte for AES Algorithm
ijsrd.com
 
PDF
Improving The Performance of Viterbi Decoder using Window System
IJECEIAES
 
Review On 2:4 Decoder By Reversible Logic Gates For Low Power Consumption
IRJET Journal
 
Multiple Valued Logic for Synthesis and Simulation of Digital Circuits
IJERA Editor
 
Implementation performance analysis of cordic
iaemedu
 
IRJET - Multi-Key Privacy in Cloud Computing
IRJET Journal
 
A Configurable and Low Power Hard-Decision Viterbi Decoder in VLSI Architecture
IRJET Journal
 
A Cryptographic Hardware Revolution in Communication Systems using Verilog HDL
idescitation
 
Layout Design Comparison of CMOS and Gate
IJEEE
 
S4102152159
IJERA Editor
 
Design of low power barrel shifter and rotator using two phase clocked adiaba...
eSAT Publishing House
 
Reversed-Trellis Tail-Biting Convolutional Code (RT-TBCC) Decoder Architectur...
IJECEIAES
 
A High Throughput CFA AES S-Box with Error Correction Capability
IOSR Journals
 
High Speed Optimized AES using Parallel Processing Implementation
IRJET Journal
 
Design of Power Efficient 4x4 Multiplier Based On Various Power Optimizing Te...
Associate Professor in VSB Coimbatore
 
Implementation of a stream cipher based on bernoulli's map
ijcsit
 
Vhdl modeling of the sram module and state machine controller smc module of r...
IAEME Publication
 
Design of Low Power Vedic Multiplier Based on Reversible Logic
IJERA Editor
 
High Speed 8-bit Counters using State Excitation Logic and their Application ...
International Journal of Science and Research (IJSR)
 
FPGA Implementation of SubByte & Inverse SubByte for AES Algorithm
ijsrd.com
 
Improving The Performance of Viterbi Decoder using Window System
IJECEIAES
 

Viewers also liked (11)

PDF
Diversity techniques for wireless communication
IAEME Publication
 
PDF
Action event retrieval from cricket video using audio energy feature for even...
IAEME Publication
 
PDF
Comparative study on different pin geometries of tool profile in friction sti...
IAEME Publication
 
PDF
A novel technique in spiht for medical image compression
IAEME Publication
 
PDF
Experimental study of evaporation in a tubular solar still
IAEME Publication
 
PDF
Concurrent engineering an effective engineering management strategy
IAEME Publication
 
PDF
Calculation of the undetermined static reactions for the articulated pl
IAEME Publication
 
PDF
Performance optimization and comparison of variable parameter using genetic
IAEME Publication
 
PDF
Query clip genre recognition using tree pruning technique for video retrieval
IAEME Publication
 
PDF
Final paperenhancing distribution system through the use of real time etherne...
Genc Gjergjani
 
PDF
Monitoring and analysis of reliaibility of electrical distribution system
IAEME Publication
 
Diversity techniques for wireless communication
IAEME Publication
 
Action event retrieval from cricket video using audio energy feature for even...
IAEME Publication
 
Comparative study on different pin geometries of tool profile in friction sti...
IAEME Publication
 
A novel technique in spiht for medical image compression
IAEME Publication
 
Experimental study of evaporation in a tubular solar still
IAEME Publication
 
Concurrent engineering an effective engineering management strategy
IAEME Publication
 
Calculation of the undetermined static reactions for the articulated pl
IAEME Publication
 
Performance optimization and comparison of variable parameter using genetic
IAEME Publication
 
Query clip genre recognition using tree pruning technique for video retrieval
IAEME Publication
 
Final paperenhancing distribution system through the use of real time etherne...
Genc Gjergjani
 
Monitoring and analysis of reliaibility of electrical distribution system
IAEME Publication
 
Ad

Similar to Design of area optimized aes encryption core using pipelining technology (20)

PDF
Novel Adaptive Hold Logic Circuit for the Multiplier using Add Round Key and ...
IJMTST Journal
 
PDF
Arm recognition encryption by using aes algorithm
eSAT Journals
 
PDF
VHDL Encryption
Shubham Chauhan
 
PDF
An Efficient VLSI Architecture for AES and It's FPGA Implementation
IRJET Journal
 
PDF
Aes
Manju Hegde
 
PDF
Aes
Sijo Mathew
 
PDF
IMPLEMENTATION OF AES AS A CUSTOM HARDWARE USING NIOS II PROCESSOR
acijjournal
 
PDF
VLSI Architecture for Nano Wire Based Advanced Encryption Standard (AES) with...
VLSICS Design
 
PDF
VLSI ARCHITECTURE FOR NANO WIRE BASED ADVANCED ENCRYPTION STANDARD (AES) WITH...
VLSICS Design
 
PDF
A04660105
IOSR-JEN
 
PDF
A design of a fast parallel pipelined implementation of aes advanced encrypti...
ijcsit
 
PDF
High Speed VLSI Architecture for AES-Galois/Counter Mode
IJERA Editor
 
PDF
Hardware implementation of aes encryption and decryption for low area & power...
eSAT Publishing House
 
PDF
Design and Implementation A different Architectures of mixcolumn in FPGA
VLSICS Design
 
PDF
Design and Implementation of Area Efficiency AES Algoritham with FPGA and ASIC,
paperpublications3
 
PDF
Design and Implementation of Area Efficiency AES Algoritham with FPGA and ASIC
paperpublications3
 
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
PDF
Final report
Jagbir Kalirai
 
PDF
Implementation of Cryptography Architecture with High Secure Core
IJMER
 
PDF
Js2517181724
IJERA Editor
 
Novel Adaptive Hold Logic Circuit for the Multiplier using Add Round Key and ...
IJMTST Journal
 
Arm recognition encryption by using aes algorithm
eSAT Journals
 
VHDL Encryption
Shubham Chauhan
 
An Efficient VLSI Architecture for AES and It's FPGA Implementation
IRJET Journal
 
IMPLEMENTATION OF AES AS A CUSTOM HARDWARE USING NIOS II PROCESSOR
acijjournal
 
VLSI Architecture for Nano Wire Based Advanced Encryption Standard (AES) with...
VLSICS Design
 
VLSI ARCHITECTURE FOR NANO WIRE BASED ADVANCED ENCRYPTION STANDARD (AES) WITH...
VLSICS Design
 
A04660105
IOSR-JEN
 
A design of a fast parallel pipelined implementation of aes advanced encrypti...
ijcsit
 
High Speed VLSI Architecture for AES-Galois/Counter Mode
IJERA Editor
 
Hardware implementation of aes encryption and decryption for low area & power...
eSAT Publishing House
 
Design and Implementation A different Architectures of mixcolumn in FPGA
VLSICS Design
 
Design and Implementation of Area Efficiency AES Algoritham with FPGA and ASIC,
paperpublications3
 
Design and Implementation of Area Efficiency AES Algoritham with FPGA and ASIC
paperpublications3
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
Final report
Jagbir Kalirai
 
Implementation of Cryptography Architecture with High Secure Core
IJMER
 
Js2517181724
IJERA Editor
 
Ad

More from IAEME Publication (20)

PDF
IAEME_Publication_Call_for_Paper_September_2022.pdf
IAEME Publication
 
PDF
MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...
IAEME Publication
 
PDF
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
IAEME Publication
 
PDF
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
IAEME Publication
 
PDF
DETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONS
IAEME Publication
 
PDF
ANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONS
IAEME Publication
 
PDF
VOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINO
IAEME Publication
 
PDF
IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...
IAEME Publication
 
PDF
VISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMY
IAEME Publication
 
PDF
A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...
IAEME Publication
 
PDF
GANDHI ON NON-VIOLENT POLICE
IAEME Publication
 
PDF
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
IAEME Publication
 
PDF
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
IAEME Publication
 
PDF
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
IAEME Publication
 
PDF
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
IAEME Publication
 
PDF
EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...
IAEME Publication
 
PDF
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
IAEME Publication
 
PDF
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
IAEME Publication
 
PDF
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
IAEME Publication
 
PDF
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
IAEME Publication
 
IAEME_Publication_Call_for_Paper_September_2022.pdf
IAEME Publication
 
MODELING AND ANALYSIS OF SURFACE ROUGHNESS AND WHITE LATER THICKNESS IN WIRE-...
IAEME Publication
 
A STUDY ON THE REASONS FOR TRANSGENDER TO BECOME ENTREPRENEURS
IAEME Publication
 
BROAD UNEXPOSED SKILLS OF TRANSGENDER ENTREPRENEURS
IAEME Publication
 
DETERMINANTS AFFECTING THE USER'S INTENTION TO USE MOBILE BANKING APPLICATIONS
IAEME Publication
 
ANALYSE THE USER PREDILECTION ON GPAY AND PHONEPE FOR DIGITAL TRANSACTIONS
IAEME Publication
 
VOICE BASED ATM FOR VISUALLY IMPAIRED USING ARDUINO
IAEME Publication
 
IMPACT OF EMOTIONAL INTELLIGENCE ON HUMAN RESOURCE MANAGEMENT PRACTICES AMONG...
IAEME Publication
 
VISUALISING AGING PARENTS & THEIR CLOSE CARERS LIFE JOURNEY IN AGING ECONOMY
IAEME Publication
 
A STUDY ON THE IMPACT OF ORGANIZATIONAL CULTURE ON THE EFFECTIVENESS OF PERFO...
IAEME Publication
 
GANDHI ON NON-VIOLENT POLICE
IAEME Publication
 
A STUDY ON TALENT MANAGEMENT AND ITS IMPACT ON EMPLOYEE RETENTION IN SELECTED...
IAEME Publication
 
ATTRITION IN THE IT INDUSTRY DURING COVID-19 PANDEMIC: LINKING EMOTIONAL INTE...
IAEME Publication
 
INFLUENCE OF TALENT MANAGEMENT PRACTICES ON ORGANIZATIONAL PERFORMANCE A STUD...
IAEME Publication
 
A STUDY OF VARIOUS TYPES OF LOANS OF SELECTED PUBLIC AND PRIVATE SECTOR BANKS...
IAEME Publication
 
EXPERIMENTAL STUDY OF MECHANICAL AND TRIBOLOGICAL RELATION OF NYLON/BaSO4 POL...
IAEME Publication
 
ROLE OF SOCIAL ENTREPRENEURSHIP IN RURAL DEVELOPMENT OF INDIA - PROBLEMS AND ...
IAEME Publication
 
OPTIMAL RECONFIGURATION OF POWER DISTRIBUTION RADIAL NETWORK USING HYBRID MET...
IAEME Publication
 
APPLICATION OF FRUGAL APPROACH FOR PRODUCTIVITY IMPROVEMENT - A CASE STUDY OF...
IAEME Publication
 
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
IAEME Publication
 

Recently uploaded (20)

PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Python basic programing language for automation
DanialHabibi2
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 

Design of area optimized aes encryption core using pipelining technology

  • 1. International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME 308 DESIGN OF AREA OPTIMIZED AES ENCRYPTION CORE USING PIPELINING TECHNOLOGY Anubhav Gupta1 , Harish Bansal2 1 Student M.Tech(VLSI), M.M Engineering College, Maharishi Markandeshwar University, Mullana (Ambala) 2 Asstt. Prof. M.M Engineering College, Maharishi Markandeshwar University, Mullana (Ambala) ABSTRACT A new pipelining technology based design scheme of the AES-128 (Advanced Encryption Standard, with 128-bit key) encryption algorithm is proposed in this paper. For maintaining the speed of encryption, the pipelining technology is applied and the mode of data transmission is modified in this design so that the chip size can be reduced. The 128-bit plaintext and the 128- bit initial key, as well as the 128-bit output of cipher text, are all divided into four 32-bit consecutive units respectively controlled by the clock. The synthesis verification based on HJTC0.18um CMOS process shows that this new program can significantly decrease quantity of chip pins and effectively optimize the area of chip. Keywords: Area optimization; Pipelining; VHDL. 1. INTRODUCTION The number of individuals and organizations using wide computer networks for personal and professional activities has recently increased a lot. A cryptographic algorithm is an essential part in network security. With the rapid development and wide application of computer and communication networks, the information security has aroused high attention. Information security is not only applied to the political, military and diplomatic fields, but also applied to the common fields of people’s daily lives. With the continuous development of cryptographic techniques, the long-serving DES algorithm with 56-bit key length has been broken because of the defect of short keys. The "Rijndael encryption algorithm" invented by Belgian cryptographers Joan Daemen and Vincent Rijmen's had been chosen as the standard INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) ISSN 0976 – 6464(Print) ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April, 2013, pp. 308-314 © IAEME: www.iaeme.com/ijecet.asp Journal Impact Factor (2013): 5.8896 (Calculated by GISI) www.jifactor.com IJECET © I A E M E
  • 2. International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME 309 AES (Advanced Encryption Standard) algorithm whose packet length is 128 bits and the key length is 128 bits, 192 bits, or 256 bits. Since 2006, the Rijndael algorithm of advanced encryption standard has become one of the most popular algorithms in symmetric key encryption. AES can resist various currently known attacks. Hardware security solution based on highly optimized programmable FPGA provides the parallel processing capabilities and can achieve the required encryption performance benchmarks. The current area-optimized algorithms of AES are mainly based on the realization of S-box mode and the minimizing of the internal registers which could save the area of IP core significantly. In this paper, we present an design of the AES block cipher with pipelining technology. We have exploited the temporal parallelism available in the AES algorithm. Our chip contains the same ten units, and each unit can execute one round of the algorithm. Using external pipelined design, ten rounds of the algorithm are executed in parallel in a chip. Furthermore, using internal pipelining and key exchange pipelining, pipelining technology was utilized in the intermediate nine round transformations so that the new algorithm achieved a balance between encryption speed and chip area, which met the requirements of practical application. The results show that this new algorithm with pipelining technology and special mode of data transmission can significantly decrease the quantity of chip pins and reduce the chip area. 2. AES OVERVIEW AES is a symmetric cipher that processes data in 128-bit blocks. It supports key sizes of 128, 192, and 256 bits and consists of 10, 12, or 14 iteration rounds, respectively. Each round mixes the data with a roundkey, which is generated from the encryption key. Decryption inverts the iterations resulting in a partially different data path. The steps involved are given below: 1. Key Expansion using Rijndael's key schedule 2. Initial Round o AddRoundKey 3. Round o Sub Bytes—a non-linear substitution step where each byte is replaced with another according to a lookup table. o Shift Rows—a transposition step where each row of the state is shifted cyclically a certain number of steps. o Mix Columns—a mixing operation which operates on the columns of the state, combining the four bytes in each column o AddRoundKey—each byte of the state is combined with the round key; each round key is derived from the cipher key using a key schedule.
  • 3. International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME 310 Figure 1. AES round operations 4. Final Round (no Mix Columns) o Sub Bytes o Shift Rows o AddRoundKey This is the iterative looping architecture of the AES. VHDL code is written for the AES encryption algorithm for finding cipher for any given plaintext input. 3. RELATED WORK After the ratification of AES, a large number of its hardware implementations have appeared. Whereas the earlier designs mainly focused on intensively pipelined, high-speed implementations, the more recent work has concentrated on compact and low-power architectures considering low-cost devices and feedback modes of operation. Basically pipelining means to process the data that is given as input in a continuous manner without having to wait for the current process to get over. This pipelining concept is seen in many processors. In the architecture in the registers are used to store the current output of the round that is being executed. Now instead of passing the output of each round to the next round directly we use a register which would act as a bypass or an internal register. Since the current rounds value is stored in the register the next input to the current round can be given as soon as the current output is obtained. And the input to the next round is given from the register thus avoiding a direct contact between the two rounds. This is not possible in the iterative looping architecture because the next input can be given only when the whole
  • 4. International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME 311 round based processing is over since the same hardware is used over and again in the process of obtaining the cipher text. Thus, the pipelined architecture increases the speed of execution for obtaining the cipher text but at a cost of increased hardware. In the substitute bytes we use a look up table based S-box. This contributes for some of the hardware in the form of block RAMs. With the help of a search based look up table (LUT) we can reduce the hardware cost to a considerable extent. From the above analysis, we can find that the process of AES encryption can be mainly divided into two parts: key schedule and round transformation. The improved structure is also divided into these two major processes. The initial key will be sent to the two modules: Keyexpansion and Keyselection, while the plaintext is to be sent to the round transformation after the roundkey is selected. But the operand of data transmission is turned into a 32-bit unit. Figure 2. The new improved structure of AES algorithm The functions of various parts of the structure shown above are described as follow: 1. The initial round of encryption: The four packets of consecutive 32-bit plaintext (128 bits) have been put into the corresponding registers. Meanwhile, another four packets of consecutive 32-bit initial key (128 bits) have been put into other registers by the control of the enable clock signal. Furthermore, this module should combine the plaintext and initial key by using the XOR operators. 2. Round Transformation in the intermediate steps: A round transformation mainly realizes the function of SubBytes and MixColumns with 32- bit columns. Four packets of round transformation are processed independently. Then the results of MixColumns and the 32-bit keys sourced from Keyexpansion are combined by using XOR operators. Here, the round transformation is a module with 64 input ports (32- bit plaintext+32-bit key) and 32 output ports. The function of SubByte is realized by Look-Up Table (LUT). It means that the operation is completed by the Find and Replace after all replacement units are stored in a memoy (256×8bit = 1024 bit).
  • 5. International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME 312 The implementation of MixColumn is mainly based on the mathematical analysis in the Galois field GF(28). Only the multiplication module and the 32-bit XOR module of each processing unit (one column) are needed to design, because the elements of the multiplication and addition in Galois field are commutative and associative. Then the function of MixColumn can be achieved. 4. FUNCTIONAL SIMULATION AND SYNTHESIS In this paper, the new structure of AES-128 encryption algorithm introduced above is implemented with VHDL hardware description language, while minimizing the input /output ports to save redundant area of the chip. The V file named aes_control in the project of the design contains the input and output ports, interface converters and controllers. Other function modules are described in independent V files respectively. We used ModelSim SE PLUS 6.0 for the waveform simulation platform and verified the results. The Simulation in the Modelsim SE PLUS 6.0 Platform Firstly, all project files of the design were compiled in Modelsim SE PLUS 6.0 simulation platform. If the files were all compiled successfully, the simulated waveforms could be obtained when loading the test file test_bench_top. Figure shows the simulation waveform of the new algorithm Figure 3. The 32-bit plaintext, 32-bit initial key and 32-bit cyphertext The initial 128-bit input tmp0 sequences are extracted to four 32-bit words as the plaintext (128bit) meanwhile, the 128-bit input sequences tmp1 are extracted to four 32-bit words as initial key (128bit); the sequences of tmp2(128bit) are the correct ciphertext data, which is used for validating the correctness of the new encryption scheme. We found that the input in0 of four continuous state words and 128 bits plaintext tmp0 express the same by the control signal of en; four consecutive state-words of input in1 are consistent with 128 bits key. After a complete process of AES encryption, the output stream data_out_32 exports four continuous 32-bit sequences, which are consistent with the 128bits ciphertext tmp2. In conclusion, the logic function of improved algorithm is correct and it satisfies the requirement of AES encryption algorithm.
  • 6. International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME 313 Above table shows that the logic elements of the new improved structure increase and the total registers is more than twice of the original quantity. The reason lies on the segmentation of data in the Round Transformation. The pipelining process of four 32-bit packets data needs more registers than before. A certain clock delay will be produced in the encryption process, because of the processing mode of packets. So the pipelining technology is used in the round transformation, ensuring that the encryption speed meets the actual demand. The pipelining technology and 32-bit packet segmentation greatly reduces the area of the chip. Dynamic power consumption accounts for the majority of the circuit power consumption, and the dynamic power is relatively reduced compared with the unimproved algorithms, and the encrypted rate decreases. However, this clock delay is acceptable and still meets the application requirement. 5. CONCLUSION A design using pipelining technology for area-optimized AES algorithm which meets the actual application is proposed in this paper. After being coded with VHDL Hardware Description Language, the waveform simulation of the new algorithm was taken in the ModelSim SE PLUS 6.0. Ultimately, a synthesis simulation of the new algorithm has been done. The result shows that the design with the pipelining technology and special data transmission mode can optimize the chip area effectively. Meanwhile, this design reduces power consumption to some extent, for the power consumption is directly related to the chip area. Therefore the encryption device implemented in this method can meet some practical applications.
  • 7. International Journal of Electronics and Communication Engineering & Technology (IJECET), ISSN 0976 – 6464(Print), ISSN 0976 – 6472(Online) Volume 4, Issue 2, March – April (2013), © IAEME 314 REFERENCES [1] J.Yang, J.Ding, N.Li and Y.X.Guo, “FPGA-based design and implementation of reduced AES algorithm” IEEE Inter.Conf. Chal Envir Sci Com Engin(CESCE).,Vol.02, Issue.5-6, pp.67-70, Jun 2010. [2] A.M.Deshpande, M.S.Deshpande and D.N.Kayatanavar,“FPGA Implementation of AES Encryption and Decryption”IEEE Inter.Conf.Cont,Auto,Com,and Ener., vol.01, issue04, pp.1-6,Jun.2009. [3] Hiremath.S. and Suma.M.S.,“Advanced Encryption Standard Implemented on FPGA” IEEE Inter.Conf. Comp Elec Engin. (IECEE), vol.02,issue.28,pp.656-660,Dec.2009. [4] Abdel-hafeez.S.,Sawalmeh.A. and Bataineh.S.,“High Performance AES Design using Pipelining Structure over GF(28)” IEEE Inter Conf.Signal Proc and Com.,vol.24-27, pp.716- 719,Nov. 2007. [5] Rizk.M.R.M. and Morsy, M., “Optimized Area and Optimized Speed Hardware Implementations of AES on FPGA”, IEEE Inter Conf. Desig Tes Wor.,vol.1,issue. 16,pp.207-217, Dec. 2007. [6] Liberatori.M.,Otero.F.,Bonadero.J.C. and Castineira.J. “AES-128 Cipher. High Speed, Low Cost FPGA Implementation”, IEEE Conf. Southern Programmable Logic(SPL), vol.04,issue.07,pp.195-198,Jun. 2007. [7] Abdelhalim.M.B., Aslan.H.K. and Farouk.H. “A design for an FPGAbased implementation of Rijndael cipher”,ITICT. Ena Techn N Kn Soc.(ETNKS), vol.5, issue.6,pp.897-912,Dec.2005. [8] D. Canright. A very compact S-box for AES. In Proc.7th Int. Workshop on Cryptographic Hardware and Embedded Systems (CHES 2005), pages 441–455, Edinburgh, UK, Aug. 29–Sept. 1, 2005. [9] P. Chodowiec and K. Gaj. Very compact FPGA implementation of the AES algorithm. In Proc. 5th Int. Workshop on Cryptographic Hardware and Embedded Systems (CHES 2003), pages 319–333, Cologne, Germany, Sept. 8–10, 2003. [10] S. Farhan, S. Khan, and H. Jamal. Mapping of high-bit algorithm to low-bit for optimized hardware implementation. In Proc. 16th IEEE Int. Conf. on microelectronics (ICM 2004),pages 148–151, Tunis, Tunisia, Dec. 6–8, 2004. [11] M. Feldhofer, S. Dominikus, and J. Wolkerstorfer. Strong authentication for RFID systems using the AES algorithm. In Proc. 6th Int. Workshop on Cryptographic Hardware and Embedded Systems (CHES 2004), pages 357–370, Boston, MA, USA, Aug. 11–13, 2004. [12] Sandeep Bidwai, Saylee S. Bidwai, Dr.S.P.Patil and Sunita S. Shinde, “Implementation & Performance Analysis of Cordic in OFDM Based Wlan System Using VHDL”, International Journal of Electronics and Communication Engineering & Technology (IJECET), Volume 3, Issue 3, 2012, pp. 103 - 111, ISSN Print: 0976- 6464, ISSN Online: 0976 –6472. [13] Nilesh P. Bodne and A.A. Kelkar, “VHDL Modeling for Wi-Fi Mac Layer Transmitter and Receiver”, International Journal of Electronics and Communication Engineering & Technology (IJECET), Volume 3, Issue 1, 2012, pp. 171 - 177, ISSN Print: 0976- 6464, ISSN Online: 0976 –6472.