encryption infrastructure on-key

20
ENCRYPTION INFRASTRUCTURE ON- KEY Written by: Elkin Aleksey Savi Esacov Advisor: Idan Shmuel Winter 2013/14 Final Presentation

Upload: ruby-phelps

Post on 03-Jan-2016

46 views

Category:

Documents


1 download

DESCRIPTION

Final Presentation. Encryption infrastructure on-key. Written by: Elkin Aleksey Savi Esacov Advisor: Idan Shmuel Winter 2013/14. Background. Now there are a lot of data encryption systems based on hardware - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Encryption infrastructure on-key

ENCRYPTION INFRASTRUCTURE ON-KEY

Written by: Elkin Aleksey

Savi Esacov

Advisor: Idan Shmuel

Winter 2013/14

Final Presentation

Page 2: Encryption infrastructure on-key

BACKGROUND Now there are a lot of data encryption systems based on

hardware These systems encryption mechanism and control system

loose, so there is a dependence and lack of flexibility in the system

Separation of encryption mechanism and the control system will increase the system flexibility Allow to change the encryption mechanism according to the needs Allow to make verification separate for each component Allow to work on control system and encryption mechanism in same time

Now the lab are realizing the encryption and decryption mechanism, which is implanted into the shell we must build

Page 3: Encryption infrastructure on-key

PROJECT PURPOSES

Design universal infrastructure for encryption/decryption system using FPGACreation GUIDesign control system for tracking data from PC to a SD

card and back through encrypts / decrypts Learning and experience in a variety of areas :

RealTime controlling systemFPGAProgramming

Page 4: Encryption infrastructure on-key

MILESTONE GOALS

Planning and creating an interface between the DE2 Board and SD card

Planning and creating an interface between the DE2 Board and PC

Planning and creating GUI Integration between parts of the system

Page 5: Encryption infrastructure on-key

INSTRUMENTS Hardware

DE2 BoardNIOS II coreDLPSD card

SoftwareQuartus II 13.0QsysEclipse – Software control systemActive-HDL – Hardware simulationMatlab - GUI

Hardware synthesis

Page 6: Encryption infrastructure on-key

ARCHITECTURE – HIGH LEVEL

PC

DLP SD card

GUISending data

to encrypt Or decryption

request

NIOS IIsoftware controller

AVALON BUS

Controllerhardware

EncryptionDecryption

(optional)

Page 7: Encryption infrastructure on-key

GUI FOR CONVERTING FILES

Converting text file from regular form in .dat file and back

Page 8: Encryption infrastructure on-key

GUI FOR SENDING/RECEIVING DATA

Page 9: Encryption infrastructure on-key

DLP-USB245M

Page 10: Encryption infrastructure on-key

BLOCK DIAGRAM

FIFO IN8 bits (char)×

8192

Nios II/e

USB protocol(1 MB/s)

STOP and WAIT protocol(40 kB/s)

STOP and WAIT protocol(40 kB/s)

SD CardCTRL NIOS-SD CARD

SOFTWARE

FIFO OUT8 bits (char)×

8192

CTRL FIFO-NIOSHARDWARE

CTRL FIFO-NIOSHARDWARE

DLP

PC

DE BOARD

CTRL PC(DLB)-FIFOHARDWARE

Page 11: Encryption infrastructure on-key

Nios II/e Core – enough for our needs

Using Level 1 debugger is essential for Eclipse

NIOS II CORE

Page 12: Encryption infrastructure on-key

TOP LEVEL

DLP-FIFO controller

FIFO IN

FIFO-NIOS controller

NIOS-SD CARD

FIFO OUT

Page 13: Encryption infrastructure on-key

TOP LEVEL COMPILATION RESULT

When Total memory bits exceed 85% Quartus unable to do Place & Route procedure

Page 14: Encryption infrastructure on-key

RESULTS Maximum possible data file size : 8kb (dictated by the FIFO size) System speed: 40 kb/s (dictated by the NIOS-SD card interface)

Page 15: Encryption infrastructure on-key

SOFTWARE VERIFICATION Software controller (NIOS-SD card) verification done by using

Eclipse console and inspection

Page 16: Encryption infrastructure on-key

HARDWARE VERIFICATION Hardware controller (DLP-FIFO and FIFO-NIOS) verification by

simulation using Active-HDL 9.1

Page 17: Encryption infrastructure on-key

BUGS AND NOTES NIOS II software tools – Eclipse require simple example to

begin to wok Require Altera package for NIOS-SD card interface Using custom data transmitter from FPGA to NIOS-SD card

for calculation maximum system speed

Page 18: Encryption infrastructure on-key

SUMMARY AND CONCLUSIONS The most of the goals were achieved project Using software make system work slowly

NIOS-SD card interface via software decrease system speed Our project allow to compare hardware and software

development and implementation Hardware harder to develop but it faster and easier for debugging

Page 19: Encryption infrastructure on-key

FUTURE DEVELOPMENT RECOMMENDATION

Advancing GUIBetter interface for the novice userReal Time file systemUsing RS422 instead DLP

Speed improvementExchange software controller to hardware

controller

Page 20: Encryption infrastructure on-key

THANK YOU FOR LISTENING