SlideShare a Scribd company logo
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013
DOI : 10.5121/ijcseit.2013.3304 33
Optimization of Latency of Temporal Key
Integrity Protocol (TKIP) Using Graph Theory
and Hardware Software Co-Design
Vilas V Deotare1
, Dinesh V Padole2
, Swati Shelke 3
GHRCE, Nagpur, India
vilasdeotare@gmail.com1
,dvpadole@gmail.com2
,swati.wani@gmail.com3
Abstract:
Temporal Key Integrity Protocol (TKIP) [1] encapsulation consists of multiple-hardware and software
block which can be implemented either software or hardware block or combination of both. This papers
aims to design the TKIP technique using graph theory and hardware software co-design for minimizing the
latency. Simulation results show the effectiveness of the presented technique over Hardware software co-
design.
Keywords:
ROBUST SECURITY NETWORK ASSOCIATION, WIRED EQUIVALENT PRIVACY, TKIP,HARDWARE
SOFTWARE CO-DESIGN.
1. INTRODUCTION
Cryptography is a part of communication used for higher security and it is done through different
algorithm in network communications. The importance of cryptography is in the field of
ecommerce and other network field. User can use same algorithm with a key of long sequence
and at the receiving end with the same key it is decrypted and the message of encrypted is
received. Key is always changes for higher security.
1.1 TKIP OVERVIEW
The TKIP is a cipher suite enhancing the WEP [1] protocol on pre-RSNA hardware. TKIP
modifies WEP as follows:
Figure 2 TKIP Block diagram
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013
34
TKIP uses a cryptographic mixing function to combine a temporal key, the TA, and the TSC into
the WEP seed.
1.2 TKIP MIC[2]
Flaws in the IEEE 802.11 WEP [2] design cause it to fail to meet its goal of protecting data traffic
content from casual eavesdroppers. Among the most significant WEP flaws is the lack of a
mechanism to defeat message forgeries and other active attacks. To defend against active attacks,
TKIP includes a MIC, named Michael. This MIC offers only weak defenses against message
forgeries, but it constitutes the best that can be achieved with the majority of legacy hardware.
TKIP uses different MIC keys depending on the direction of the transfer.
1.3 HARDWARE/SOFTWARE DESIGN ALTERNATIVES
The SoPC-based approach [3] offers new design space alternatives to explore. It is possible to
consider design options that use software, dedicated custom hardware, or a mixture of both.
Software implementations require less development time, but in many cases, a general-purpose
processor will be too slow to perform all of the calculations using only software. To speed up the
system, some frequently executed functions can be implemented in hardware in an SoPC design
using the FPGA’s logic.
Figure 3 Flow of Hardware Software Codesign
SOPC hardware/software [3] design space tradeoffs as seen in Figure 4, for simple algorithms a
hardware solution offers faster computation times, but it offers less flexibility since the hardware
remains dedicated for that calculation and it may require a larger FPGA that consumes more
power and increases system cost. Potential SOPC applications to implement in hardware in this
region include pre-processing of real-time data with high sample rates, multimedia encoding and
decoding, low-level communication protocols, and digital signal processing algorithms such as
filters and FFTs. Hardware IP cores designed for FPGAs are available for many of these more
common functions such as encoders/decoders, communication protocols, filters, and FFTs. The
new hardware can also be designed using the traditional VHDL or Verilog FPGA synthesis tools.
As the size of the hardware needed for implementation of more complex algorithms increases, the
hardware starts to slow down, achieves diminishing performance levels, and becomes
increasingly more difficult for designers to implement. This occurs due to increasing numbers of
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013
35
gate delays in logic circuits and increases in the distance and communication time needed to
transfer data values between hardware units. Pipelining and parallel processing techniques can be
used to extend the useable range of hardware solutions, especially for non-recursive algorithms
with a high degree of parallelism.[10] The system specification is divided Hardware/Software
Co-design into a set of smaller pieces, so-called granules (e.g. basic blocks).
The remaining part of the work is elaborated in different sections as; Section II presents a review
of related works. Section III describes the proposed mathematical model used for partitioning
algorithms. Section IV describes the details about SOPC of Altera. Section V describes the
parameters used in simulation and discusses the results. Finally, paper is concluded in section VII
with future work.
2. RELATED WORK
Hardware software partitioning technique is commonly used for system integration [4].The
different algorithms are commonly used to improve the performance. The validation is checked
on system on programmable chip and the results are verified [5]. But the mathematical treatment
on modular architecture is not defined. Based on mathematical modeling the advanced
optimization algorithm is applied to improve the performance.
3. PROPOSED MATHEMATICAL MODEL
The modular block of TKIP are considered and is differed from hardware and software latency is
considered as the unit value and based on each module is shown in the undirected graph. Initially
consider one subset as a hardware block based on that calculation of HO, SP & HP is made
through the algorithm. Using algorithm if it is proved that the selected subset HP is less than the
SP, the subset is used to implement in hardware or else the subset is implement in software or
using NIOS processor. An undirected simple graph G = (V,E), V = {q,. . . , un},
P1: HO, SO € R+ are given. Is there a P HW- SW partition so that HP <=HO and SP <=SO.
[3]
P2: HO € R+ is given. Find a P HW-SW partition so that HP<= HO and SP is minimal.
(Cost-constrained systems)
P3: SO € R+ is given. Find a P HW-SW partition so that SP<= SO and HP is minimal.
(Systems with hard real-time constraints) [3]
Figure 4 Complete Graph for a model
PRICE/WEIGHT
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013
36
3.1 THEOREM 1. [3]
G = (V,E) , V = {v1,. . . ,Vn},
P is called a hardware-software (HW-SW) partition it is a bipartition of V: P = (VB,
VS)
Vs = V ,VH U VS =V and VH ∩ VS=Ф The crossing edges are: Ep
Hardware cost HP=∑ hi and software cost SP=∑ Si+∑ c(Vi, Vj)( , ) i.e. the
software cost and the communication cost.
3.2 PARTITIONING ALGORITHM BASED ON VERTICES OR NODES OF
THE BLOCK NOT EDGES
Procedure partition 1(n:integer
Price,weight[1..n]of integer
X[1..n]: of integer
Var best[1..n] of integer );
Var:SP,HP,W,P, V.price, v.weight, v.node,
u.node, total u.price;
Q :queue of node;
begin
Initialize(Q);
V.price=0;
v.weight=0;
v.node=0;
A=0;
total u.price=0;
HP=0;
Asssume P=10,K=W=10;
Accept the value from user Total u.node;
Select subset from a graph;
enqueue(Q,V); //subset is stored in a queue
while notempty queue do
dequeue(Q,v)
u.node=v.node+1;
u.weight=v.weight+w[u.node];//calculate price of selected subset
u.price=v.price+w[u.node]//calculate weight of selected subset
if u.weight<=w and u.profit>=k
SO=W
end;
for i 0 to totalu.node
A=A+total u.price[i];
HO=A-K;
for j=0 to node.selected subset
HP=HP+ total u.price[j];
If k<=(A-u.price) and (H0>=(HP <=SP))
best=X //subset is selected;
end;
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013
37
3.3 SOFTWARE SPECIFICATIONS
Once bit file is downloaded into FPGA, there will be interface to the computer through RS232.
We will give the input data to the TKIP. Hardware will encrypt that data. Encrypted data will be
given to the decryption block. Decrypted data will be same as the input data which will be stored
in another file.
This way we will confirm the input data and decrypted data is same.
4. ALTERA’S SOPC BUILDER
The SOPC builder is used for developing the central processing unit or rather the architectural
block for the system. The NIOS II of Quartus is used to implement Michel of TKIP.
Figure 5 Snapshots of architecture using System on programmable chip
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013
38
5 SIMULATION PARAMETERS FOR TKIP (MICHEL BLOCK)
Figure 6 Simulation Waveform of Hardware and software of TKIP Michel block
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013
39
DE2 Board Clock
Frequency
Latency
TKIP Hardware
Proposed approach HW/SW
Codesign
40 MHz (25 ns) 10us (400 cycles) 8us (320 cycles)
The above results show how the performance is improved using co-design and graph theory.
6. ACKNOWLEDGEMENT
This work is supported by GHRCE and University of Pune.
7. CONCLUSION
In this paper we have introduced mathematical treatment and the algorithm to decide the block
usage in terms of hardware and software to get optimized latency.
REFERENCES
[1] IEEE Computer Society, Std 802.11i™-2004 pp43-56
[2] Yu-Tsang Chang1 “A Modularized FPGA-Based Embedded System Development Platform, (2010)
A Hardware/Software Co-specification Methodology Based Upon OpenMP “. Pp 1697-
1702,International Conference on Electronic Computer Technology The Application of Genetic
Algorithm in Embedded System Hardware-software Partitioning Shijue Zheng,Yan Zhang
[3] Peter Arato, Sandor Juhasz, 201th Adam Mann, Andras Orban, David Papp “Hardware-software
partitioning in embedded system design” pp 197-202,WISP 2003, Budapest, Hungnry 4-6
September, 2003.
[4] Yi Zou Zhenquan Zhuang Huanhuan Chen “HW-SW Partitioning Based on Genetic Algorithm” pp
627-633,0-7803-55 15-2/04, 02004 IEEE
[5] Andreas Gerstlauer, Member, IEEE, Christian Haubelt, Member, IEEE, Andy D. Pimentel, Senior
Member, IEEE “Electronic System-Level Synthesis Methodologies ”IEEE Transactions On
Computer-Aided Design Of Integrated Circuits And Systems, Vol. 28, No. 10, October 2009
International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013
40
AUTHORS
Mr. Vilas V. Deotare completed Engineering from University of Pune. Post Graduation
from BAMU Aurangabad. He is pursuing Doctorate from Nagpur University (India). He is
a member of Professional bodies like ISTE, His Research of Interest in VLSI and D
evelopment of algorithms in VLSI.
Mr. Dinesh Padole completed Engineering from RTM Nagpur, Post Graduation from
CEDTI Aurangabad & awarded as Doctorate from RTM Nagpur University. He is
associated with Various professional societies like Member IEEE, life member ISTE and
CSI. His re search interest includes Multiprocessor /Multi-core systems, Embedded System
Design. He worked as reviewer & Chaired technical sessions for several International
conferences at India and abroad.
Miss Swati Shelke completed Engineering from University of Pune. She is pursuing Post
Graduation from BAMU University of Pune. Her research I nterest in VLSI.
Ad

Recommended

Fpga based encryption design using vhdl
Fpga based encryption design using vhdl
eSAT Publishing House
 
Performance Analysis of Encryption Algorithm for Network Security on Parallel...
Performance Analysis of Encryption Algorithm for Network Security on Parallel...
ijsrd.com
 
IRJET - Implementation of Neural Network on FPGA
IRJET - Implementation of Neural Network on FPGA
IRJET Journal
 
Machine Learning
Machine Learning
Mahdi Hosseini Moghaddam
 
IRJET- FPGA Implementation of Image Encryption and Decryption using Fully Hom...
IRJET- FPGA Implementation of Image Encryption and Decryption using Fully Hom...
IRJET Journal
 
implementation of area efficient high speed eddr architecture
implementation of area efficient high speed eddr architecture
Kumar Goud
 
I017425763
I017425763
IOSR Journals
 
Secure Checkpointing Approach for Mobile Environment
Secure Checkpointing Approach for Mobile Environment
idescitation
 
Ku3419461949
Ku3419461949
IJERA Editor
 
A new dynamic speech encryption algorithm based on Lorenz chaotic map over in...
A new dynamic speech encryption algorithm based on Lorenz chaotic map over in...
IJECEIAES
 
IRJET- E-Commerce Website using Skyline Queries
IRJET- E-Commerce Website using Skyline Queries
IRJET Journal
 
40520130101005
40520130101005
IAEME Publication
 
Image transmission in wireless sensor networks
Image transmission in wireless sensor networks
eSAT Publishing House
 
EEL4851writeup.doc
EEL4851writeup.doc
butest
 
Application of machine learning and cognitive computing in intrusion detectio...
Application of machine learning and cognitive computing in intrusion detectio...
Mahdi Hosseini Moghaddam
 
Introduction to differential power analysis - Rambus
Introduction to differential power analysis - Rambus
Rambus
 
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Daniele Gianni
 
Power Analysis Attacks
Power Analysis Attacks
Lee Stewart
 
Hardware/Software Co-Design for Efficient Microkernel Execution
Hardware/Software Co-Design for Efficient Microkernel Execution
Martin Děcký
 
Using K-Nearest Neighbors and Support Vector Machine Classifiers in Personal ...
Using K-Nearest Neighbors and Support Vector Machine Classifiers in Personal ...
IJCSIS Research Publications
 
Optimization of image compression and ciphering based on EZW techniques
Optimization of image compression and ciphering based on EZW techniques
TELKOMNIKA JOURNAL
 
An area and power efficient on chip communication architectures for image enc...
An area and power efficient on chip communication architectures for image enc...
eSAT Publishing House
 
Implementation of Cryptography Architecture with High Secure Core
Implementation of Cryptography Architecture with High Secure Core
IJMER
 
Hardware Implementation of Algorithm for Cryptanalysis
Hardware Implementation of Algorithm for Cryptanalysis
ijcisjournal
 
Microkernels in the Era of Data-Centric Computing
Microkernels in the Era of Data-Centric Computing
Martin Děcký
 
A ROBUST CHAOTIC AND FAST WALSH TRANSFORM ENCRYPTION FOR GRAY SCALE BIOMEDICA...
A ROBUST CHAOTIC AND FAST WALSH TRANSFORM ENCRYPTION FOR GRAY SCALE BIOMEDICA...
sipij
 
A petri net model for hardware software codesign
A petri net model for hardware software codesign
JULIO GONZALEZ SANZ
 
Hardware Software Codesign
Hardware Software Codesign
destruck
 
2523.ppt
2523.ppt
SKILL2021
 
Design of optimal system level for embedded wireless sensor unit
Design of optimal system level for embedded wireless sensor unit
IAEME Publication
 

More Related Content

What's hot (18)

Ku3419461949
Ku3419461949
IJERA Editor
 
A new dynamic speech encryption algorithm based on Lorenz chaotic map over in...
A new dynamic speech encryption algorithm based on Lorenz chaotic map over in...
IJECEIAES
 
IRJET- E-Commerce Website using Skyline Queries
IRJET- E-Commerce Website using Skyline Queries
IRJET Journal
 
40520130101005
40520130101005
IAEME Publication
 
Image transmission in wireless sensor networks
Image transmission in wireless sensor networks
eSAT Publishing House
 
EEL4851writeup.doc
EEL4851writeup.doc
butest
 
Application of machine learning and cognitive computing in intrusion detectio...
Application of machine learning and cognitive computing in intrusion detectio...
Mahdi Hosseini Moghaddam
 
Introduction to differential power analysis - Rambus
Introduction to differential power analysis - Rambus
Rambus
 
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Daniele Gianni
 
Power Analysis Attacks
Power Analysis Attacks
Lee Stewart
 
Hardware/Software Co-Design for Efficient Microkernel Execution
Hardware/Software Co-Design for Efficient Microkernel Execution
Martin Děcký
 
Using K-Nearest Neighbors and Support Vector Machine Classifiers in Personal ...
Using K-Nearest Neighbors and Support Vector Machine Classifiers in Personal ...
IJCSIS Research Publications
 
Optimization of image compression and ciphering based on EZW techniques
Optimization of image compression and ciphering based on EZW techniques
TELKOMNIKA JOURNAL
 
An area and power efficient on chip communication architectures for image enc...
An area and power efficient on chip communication architectures for image enc...
eSAT Publishing House
 
Implementation of Cryptography Architecture with High Secure Core
Implementation of Cryptography Architecture with High Secure Core
IJMER
 
Hardware Implementation of Algorithm for Cryptanalysis
Hardware Implementation of Algorithm for Cryptanalysis
ijcisjournal
 
Microkernels in the Era of Data-Centric Computing
Microkernels in the Era of Data-Centric Computing
Martin Děcký
 
A ROBUST CHAOTIC AND FAST WALSH TRANSFORM ENCRYPTION FOR GRAY SCALE BIOMEDICA...
A ROBUST CHAOTIC AND FAST WALSH TRANSFORM ENCRYPTION FOR GRAY SCALE BIOMEDICA...
sipij
 
A new dynamic speech encryption algorithm based on Lorenz chaotic map over in...
A new dynamic speech encryption algorithm based on Lorenz chaotic map over in...
IJECEIAES
 
IRJET- E-Commerce Website using Skyline Queries
IRJET- E-Commerce Website using Skyline Queries
IRJET Journal
 
Image transmission in wireless sensor networks
Image transmission in wireless sensor networks
eSAT Publishing House
 
EEL4851writeup.doc
EEL4851writeup.doc
butest
 
Application of machine learning and cognitive computing in intrusion detectio...
Application of machine learning and cognitive computing in intrusion detectio...
Mahdi Hosseini Moghaddam
 
Introduction to differential power analysis - Rambus
Introduction to differential power analysis - Rambus
Rambus
 
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Calibration of Deployment Simulation Models - A Multi-Paradigm Modelling Appr...
Daniele Gianni
 
Power Analysis Attacks
Power Analysis Attacks
Lee Stewart
 
Hardware/Software Co-Design for Efficient Microkernel Execution
Hardware/Software Co-Design for Efficient Microkernel Execution
Martin Děcký
 
Using K-Nearest Neighbors and Support Vector Machine Classifiers in Personal ...
Using K-Nearest Neighbors and Support Vector Machine Classifiers in Personal ...
IJCSIS Research Publications
 
Optimization of image compression and ciphering based on EZW techniques
Optimization of image compression and ciphering based on EZW techniques
TELKOMNIKA JOURNAL
 
An area and power efficient on chip communication architectures for image enc...
An area and power efficient on chip communication architectures for image enc...
eSAT Publishing House
 
Implementation of Cryptography Architecture with High Secure Core
Implementation of Cryptography Architecture with High Secure Core
IJMER
 
Hardware Implementation of Algorithm for Cryptanalysis
Hardware Implementation of Algorithm for Cryptanalysis
ijcisjournal
 
Microkernels in the Era of Data-Centric Computing
Microkernels in the Era of Data-Centric Computing
Martin Děcký
 
A ROBUST CHAOTIC AND FAST WALSH TRANSFORM ENCRYPTION FOR GRAY SCALE BIOMEDICA...
A ROBUST CHAOTIC AND FAST WALSH TRANSFORM ENCRYPTION FOR GRAY SCALE BIOMEDICA...
sipij
 

Similar to Optimization of latency of temporal key Integrity protocol (tkip) using graph theory And hardware software co-design (20)

A petri net model for hardware software codesign
A petri net model for hardware software codesign
JULIO GONZALEZ SANZ
 
Hardware Software Codesign
Hardware Software Codesign
destruck
 
2523.ppt
2523.ppt
SKILL2021
 
Design of optimal system level for embedded wireless sensor unit
Design of optimal system level for embedded wireless sensor unit
IAEME Publication
 
The Berkeley View on the Parallel Computing Landscape
The Berkeley View on the Parallel Computing Landscape
ugur candan
 
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
Ilango Jeyasubramanian
 
PERFORMING AN EXPERIMENTAL PLATFORM TO OPTIMIZE DATA MULTIPLEXING
PERFORMING AN EXPERIMENTAL PLATFORM TO OPTIMIZE DATA MULTIPLEXING
ijesajournal
 
Hardware-Software Codesign
Hardware-Software Codesign
Sudhanshu Janwadkar
 
Summary Of Course Projects
Summary Of Course Projects
awan2008
 
embedded systems & robotics Projects Based training @Technogroovy
embedded systems & robotics Projects Based training @Technogroovy
Technogroovy India
 
Buy Embedded Systems Projects Online
Buy Embedded Systems Projects Online
Technogroovy India
 
International Journal of Computer Science and Security Volume (3) Issue (3)
International Journal of Computer Science and Security Volume (3) Issue (3)
CSCJournals
 
Design of embedded systems tsp
Design of embedded systems tsp
Pradeep Kumar TS
 
Design of embedded systems
Design of embedded systems
Pradeep Kumar TS
 
Kv2518941899
Kv2518941899
IJERA Editor
 
Kv2518941899
Kv2518941899
IJERA Editor
 
Vlsi physical design automation on partitioning
Vlsi physical design automation on partitioning
Sushil Kundu
 
Design of an efficient binary phase-shift keying based IEEE 802.15.4 transce...
Design of an efficient binary phase-shift keying based IEEE 802.15.4 transce...
IJECEIAES
 
floorplanning in advanced vlsi module off 1
floorplanning in advanced vlsi module off 1
BalajiShankar12
 
Implementation of the advanced encryption standard algorithm on an FPGA for ...
Implementation of the advanced encryption standard algorithm on an FPGA for ...
IJECEIAES
 
A petri net model for hardware software codesign
A petri net model for hardware software codesign
JULIO GONZALEZ SANZ
 
Hardware Software Codesign
Hardware Software Codesign
destruck
 
Design of optimal system level for embedded wireless sensor unit
Design of optimal system level for embedded wireless sensor unit
IAEME Publication
 
The Berkeley View on the Parallel Computing Landscape
The Berkeley View on the Parallel Computing Landscape
ugur candan
 
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
ASIC DESIGN OF MINI-STEREO DIGITAL AUDIO PROCESSOR UNDER SMIC 180NM TECHNOLOGY
Ilango Jeyasubramanian
 
PERFORMING AN EXPERIMENTAL PLATFORM TO OPTIMIZE DATA MULTIPLEXING
PERFORMING AN EXPERIMENTAL PLATFORM TO OPTIMIZE DATA MULTIPLEXING
ijesajournal
 
Summary Of Course Projects
Summary Of Course Projects
awan2008
 
embedded systems & robotics Projects Based training @Technogroovy
embedded systems & robotics Projects Based training @Technogroovy
Technogroovy India
 
Buy Embedded Systems Projects Online
Buy Embedded Systems Projects Online
Technogroovy India
 
International Journal of Computer Science and Security Volume (3) Issue (3)
International Journal of Computer Science and Security Volume (3) Issue (3)
CSCJournals
 
Design of embedded systems tsp
Design of embedded systems tsp
Pradeep Kumar TS
 
Design of embedded systems
Design of embedded systems
Pradeep Kumar TS
 
Vlsi physical design automation on partitioning
Vlsi physical design automation on partitioning
Sushil Kundu
 
Design of an efficient binary phase-shift keying based IEEE 802.15.4 transce...
Design of an efficient binary phase-shift keying based IEEE 802.15.4 transce...
IJECEIAES
 
floorplanning in advanced vlsi module off 1
floorplanning in advanced vlsi module off 1
BalajiShankar12
 
Implementation of the advanced encryption standard algorithm on an FPGA for ...
Implementation of the advanced encryption standard algorithm on an FPGA for ...
IJECEIAES
 
Ad

Recently uploaded (20)

The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Mastering AI Workflows with FME by Mark Döring
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
Security Tips for Enterprise Azure Solutions
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Mastering AI Workflows with FME by Mark Döring
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
Security Tips for Enterprise Azure Solutions
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Ad

Optimization of latency of temporal key Integrity protocol (tkip) using graph theory And hardware software co-design

  • 1. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013 DOI : 10.5121/ijcseit.2013.3304 33 Optimization of Latency of Temporal Key Integrity Protocol (TKIP) Using Graph Theory and Hardware Software Co-Design Vilas V Deotare1 , Dinesh V Padole2 , Swati Shelke 3 GHRCE, Nagpur, India [email protected] ,[email protected] ,[email protected] Abstract: Temporal Key Integrity Protocol (TKIP) [1] encapsulation consists of multiple-hardware and software block which can be implemented either software or hardware block or combination of both. This papers aims to design the TKIP technique using graph theory and hardware software co-design for minimizing the latency. Simulation results show the effectiveness of the presented technique over Hardware software co- design. Keywords: ROBUST SECURITY NETWORK ASSOCIATION, WIRED EQUIVALENT PRIVACY, TKIP,HARDWARE SOFTWARE CO-DESIGN. 1. INTRODUCTION Cryptography is a part of communication used for higher security and it is done through different algorithm in network communications. The importance of cryptography is in the field of ecommerce and other network field. User can use same algorithm with a key of long sequence and at the receiving end with the same key it is decrypted and the message of encrypted is received. Key is always changes for higher security. 1.1 TKIP OVERVIEW The TKIP is a cipher suite enhancing the WEP [1] protocol on pre-RSNA hardware. TKIP modifies WEP as follows: Figure 2 TKIP Block diagram
  • 2. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013 34 TKIP uses a cryptographic mixing function to combine a temporal key, the TA, and the TSC into the WEP seed. 1.2 TKIP MIC[2] Flaws in the IEEE 802.11 WEP [2] design cause it to fail to meet its goal of protecting data traffic content from casual eavesdroppers. Among the most significant WEP flaws is the lack of a mechanism to defeat message forgeries and other active attacks. To defend against active attacks, TKIP includes a MIC, named Michael. This MIC offers only weak defenses against message forgeries, but it constitutes the best that can be achieved with the majority of legacy hardware. TKIP uses different MIC keys depending on the direction of the transfer. 1.3 HARDWARE/SOFTWARE DESIGN ALTERNATIVES The SoPC-based approach [3] offers new design space alternatives to explore. It is possible to consider design options that use software, dedicated custom hardware, or a mixture of both. Software implementations require less development time, but in many cases, a general-purpose processor will be too slow to perform all of the calculations using only software. To speed up the system, some frequently executed functions can be implemented in hardware in an SoPC design using the FPGA’s logic. Figure 3 Flow of Hardware Software Codesign SOPC hardware/software [3] design space tradeoffs as seen in Figure 4, for simple algorithms a hardware solution offers faster computation times, but it offers less flexibility since the hardware remains dedicated for that calculation and it may require a larger FPGA that consumes more power and increases system cost. Potential SOPC applications to implement in hardware in this region include pre-processing of real-time data with high sample rates, multimedia encoding and decoding, low-level communication protocols, and digital signal processing algorithms such as filters and FFTs. Hardware IP cores designed for FPGAs are available for many of these more common functions such as encoders/decoders, communication protocols, filters, and FFTs. The new hardware can also be designed using the traditional VHDL or Verilog FPGA synthesis tools. As the size of the hardware needed for implementation of more complex algorithms increases, the hardware starts to slow down, achieves diminishing performance levels, and becomes increasingly more difficult for designers to implement. This occurs due to increasing numbers of
  • 3. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013 35 gate delays in logic circuits and increases in the distance and communication time needed to transfer data values between hardware units. Pipelining and parallel processing techniques can be used to extend the useable range of hardware solutions, especially for non-recursive algorithms with a high degree of parallelism.[10] The system specification is divided Hardware/Software Co-design into a set of smaller pieces, so-called granules (e.g. basic blocks). The remaining part of the work is elaborated in different sections as; Section II presents a review of related works. Section III describes the proposed mathematical model used for partitioning algorithms. Section IV describes the details about SOPC of Altera. Section V describes the parameters used in simulation and discusses the results. Finally, paper is concluded in section VII with future work. 2. RELATED WORK Hardware software partitioning technique is commonly used for system integration [4].The different algorithms are commonly used to improve the performance. The validation is checked on system on programmable chip and the results are verified [5]. But the mathematical treatment on modular architecture is not defined. Based on mathematical modeling the advanced optimization algorithm is applied to improve the performance. 3. PROPOSED MATHEMATICAL MODEL The modular block of TKIP are considered and is differed from hardware and software latency is considered as the unit value and based on each module is shown in the undirected graph. Initially consider one subset as a hardware block based on that calculation of HO, SP & HP is made through the algorithm. Using algorithm if it is proved that the selected subset HP is less than the SP, the subset is used to implement in hardware or else the subset is implement in software or using NIOS processor. An undirected simple graph G = (V,E), V = {q,. . . , un}, P1: HO, SO € R+ are given. Is there a P HW- SW partition so that HP <=HO and SP <=SO. [3] P2: HO € R+ is given. Find a P HW-SW partition so that HP<= HO and SP is minimal. (Cost-constrained systems) P3: SO € R+ is given. Find a P HW-SW partition so that SP<= SO and HP is minimal. (Systems with hard real-time constraints) [3] Figure 4 Complete Graph for a model PRICE/WEIGHT
  • 4. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013 36 3.1 THEOREM 1. [3] G = (V,E) , V = {v1,. . . ,Vn}, P is called a hardware-software (HW-SW) partition it is a bipartition of V: P = (VB, VS) Vs = V ,VH U VS =V and VH ∩ VS=Ф The crossing edges are: Ep Hardware cost HP=∑ hi and software cost SP=∑ Si+∑ c(Vi, Vj)( , ) i.e. the software cost and the communication cost. 3.2 PARTITIONING ALGORITHM BASED ON VERTICES OR NODES OF THE BLOCK NOT EDGES Procedure partition 1(n:integer Price,weight[1..n]of integer X[1..n]: of integer Var best[1..n] of integer ); Var:SP,HP,W,P, V.price, v.weight, v.node, u.node, total u.price; Q :queue of node; begin Initialize(Q); V.price=0; v.weight=0; v.node=0; A=0; total u.price=0; HP=0; Asssume P=10,K=W=10; Accept the value from user Total u.node; Select subset from a graph; enqueue(Q,V); //subset is stored in a queue while notempty queue do dequeue(Q,v) u.node=v.node+1; u.weight=v.weight+w[u.node];//calculate price of selected subset u.price=v.price+w[u.node]//calculate weight of selected subset if u.weight<=w and u.profit>=k SO=W end; for i 0 to totalu.node A=A+total u.price[i]; HO=A-K; for j=0 to node.selected subset HP=HP+ total u.price[j]; If k<=(A-u.price) and (H0>=(HP <=SP)) best=X //subset is selected; end;
  • 5. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013 37 3.3 SOFTWARE SPECIFICATIONS Once bit file is downloaded into FPGA, there will be interface to the computer through RS232. We will give the input data to the TKIP. Hardware will encrypt that data. Encrypted data will be given to the decryption block. Decrypted data will be same as the input data which will be stored in another file. This way we will confirm the input data and decrypted data is same. 4. ALTERA’S SOPC BUILDER The SOPC builder is used for developing the central processing unit or rather the architectural block for the system. The NIOS II of Quartus is used to implement Michel of TKIP. Figure 5 Snapshots of architecture using System on programmable chip
  • 6. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013 38 5 SIMULATION PARAMETERS FOR TKIP (MICHEL BLOCK) Figure 6 Simulation Waveform of Hardware and software of TKIP Michel block
  • 7. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013 39 DE2 Board Clock Frequency Latency TKIP Hardware Proposed approach HW/SW Codesign 40 MHz (25 ns) 10us (400 cycles) 8us (320 cycles) The above results show how the performance is improved using co-design and graph theory. 6. ACKNOWLEDGEMENT This work is supported by GHRCE and University of Pune. 7. CONCLUSION In this paper we have introduced mathematical treatment and the algorithm to decide the block usage in terms of hardware and software to get optimized latency. REFERENCES [1] IEEE Computer Society, Std 802.11i™-2004 pp43-56 [2] Yu-Tsang Chang1 “A Modularized FPGA-Based Embedded System Development Platform, (2010) A Hardware/Software Co-specification Methodology Based Upon OpenMP “. Pp 1697- 1702,International Conference on Electronic Computer Technology The Application of Genetic Algorithm in Embedded System Hardware-software Partitioning Shijue Zheng,Yan Zhang [3] Peter Arato, Sandor Juhasz, 201th Adam Mann, Andras Orban, David Papp “Hardware-software partitioning in embedded system design” pp 197-202,WISP 2003, Budapest, Hungnry 4-6 September, 2003. [4] Yi Zou Zhenquan Zhuang Huanhuan Chen “HW-SW Partitioning Based on Genetic Algorithm” pp 627-633,0-7803-55 15-2/04, 02004 IEEE [5] Andreas Gerstlauer, Member, IEEE, Christian Haubelt, Member, IEEE, Andy D. Pimentel, Senior Member, IEEE “Electronic System-Level Synthesis Methodologies ”IEEE Transactions On Computer-Aided Design Of Integrated Circuits And Systems, Vol. 28, No. 10, October 2009
  • 8. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), Vol.3, No.3,June 2013 40 AUTHORS Mr. Vilas V. Deotare completed Engineering from University of Pune. Post Graduation from BAMU Aurangabad. He is pursuing Doctorate from Nagpur University (India). He is a member of Professional bodies like ISTE, His Research of Interest in VLSI and D evelopment of algorithms in VLSI. Mr. Dinesh Padole completed Engineering from RTM Nagpur, Post Graduation from CEDTI Aurangabad & awarded as Doctorate from RTM Nagpur University. He is associated with Various professional societies like Member IEEE, life member ISTE and CSI. His re search interest includes Multiprocessor /Multi-core systems, Embedded System Design. He worked as reviewer & Chaired technical sessions for several International conferences at India and abroad. Miss Swati Shelke completed Engineering from University of Pune. She is pursuing Post Graduation from BAMU University of Pune. Her research I nterest in VLSI.