an optimization of the safer+ algorithm for custom hardware and tms320c6x dsp implementation. by:...

7
An optimization of the SAFER+ algorithm for An optimization of the SAFER+ algorithm for custom hardware and TMS320C6x DSP custom hardware and TMS320C6x DSP implementation. implementation. By: Sachin Garg Vikas Sharma

Upload: esther-maxwell

Post on 19-Jan-2018

217 views

Category:

Documents


0 download

DESCRIPTION

SAFER+ (Secure And Fast Encryption Routine) A n introduction Encryption Structure  SAFER+ processes in blocks of 16 Bytes  SAFER+ can have a key length of 128, 192 or 256 bits  Can have 8, 12 or 16 number of rounds respectively  Each round uses two 16-Byte sub keys.

TRANSCRIPT

Page 1: An optimization of the SAFER+ algorithm for custom hardware and TMS320C6x DSP implementation. By: Sachin Garg Vikas Sharma

An optimization of the SAFER+ An optimization of the SAFER+ algorithm for custom hardware and algorithm for custom hardware and TMS320C6x DSP implementation. TMS320C6x DSP implementation.

By:

Sachin Garg

Vikas Sharma

Page 2: An optimization of the SAFER+ algorithm for custom hardware and TMS320C6x DSP implementation. By: Sachin Garg Vikas Sharma

MotivationMotivation

SAFER

Software Hardware

FPGA Custom

Function can be implemented on different platform

Each platform has its own implementation & optimization issues

We explore these issues by implementing SAFER+ We explore these issues by implementing SAFER+ (An Encryption standard) on different platform(An Encryption standard) on different platform

Page 3: An optimization of the SAFER+ algorithm for custom hardware and TMS320C6x DSP implementation. By: Sachin Garg Vikas Sharma

SAFER+ (SAFER+ (Secure And Fast Encryption Secure And Fast Encryption RoutineRoutine))

AAn introductionn introduction Encryption Structure

SAFER+ processes in blocks of 16 Bytes SAFER+ can have a key length of 128, 192 or 256 bits Can have 8, 12 or 16 number of rounds respectively Each round uses two 16-Byte sub keys.

Page 4: An optimization of the SAFER+ algorithm for custom hardware and TMS320C6x DSP implementation. By: Sachin Garg Vikas Sharma

FPGA-ImplementationFPGA-Implementation

Resource usage = 13% Used as a Bench Mark

implementation

Max.Freq.=43MHz

Page 5: An optimization of the SAFER+ algorithm for custom hardware and TMS320C6x DSP implementation. By: Sachin Garg Vikas Sharma

Custom(cell based) Custom(cell based) ImplementationImplementation

1.Synopsys Design compiler used

2.Retiming and Pipelining driven synthesis

3. Commands used optimize_design pipeline_design balance_register Result Freq= 262 MHz

Page 6: An optimization of the SAFER+ algorithm for custom hardware and TMS320C6x DSP implementation. By: Sachin Garg Vikas Sharma

Software implementation on Software implementation on TMS320C64xTMS320C64x

• Algorithm implemented in C

•Current results

Page 7: An optimization of the SAFER+ algorithm for custom hardware and TMS320C6x DSP implementation. By: Sachin Garg Vikas Sharma

SummarySummaryTasks Accomplished

Bench mark design implemented on FPGA (43 MHz)

Synthesized & optimized the design using DC and did standard cell based layout and achieved 4X improvement in performance (262 MHz).

Implementation in C for TMS320C64x DSP core

Ongoing WorkFurther optimization of C code for TMS320C64x DSP core

And writing report