SHA-3 BLAKE algorithm and ASIP implementation

Author
ZhangYuLi
Advisor
HanJun , ZengXiaoYang
School
Fudan University
Major
Microelectronics and Solid State Electronics
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2012
Downloads
35
Citations
0

Request the full text

Abstract

With the development of Mobile Interent, the algorithm of digital signature and password authentication become more and more widely used on embedded systems such as cell phones and Tablet PCs. Being the fundamental of these algorithms, the importance of hash functions are increasing. Unfortunatelt, recently the widely used hash algorithm MD5and SHA-1is seriously threatened. In response to this situation, the NIST launched a competition of SHA-3to find a new hash algorithm replacing SHA-1and SHA-2which is only with minor improvement to SHA-1. The BLAKE algorithm as one of the final-round candidates, though has shown its advantages, still lacks effective and flexible implementations on the embedded systems, as impedes its application.Facing to an efficient approach of the BLAKE algorithm on an embedded system, this paper proposed an application specific instruction-set processor aiming at the BLAKE algorithm. To achieve this target, this paper first constructs a mathematic model according to the characteristic of BLAKE algorithm to evaluate its performance. Then on the basis of other’s work, we suggested a complete set of method to exploring the design space of the BLAKE G-function thus achieve an optimal instruction set specially designed for G-function as well as the structure of relating supporting hardware and input/output pattern, to instruct the hardware design of the processor. Moreover, according to the result of exploring, we design a embedded ASIP and describe it from both hardware and software aspect, thus successfully fulfill the target that implement the BLAKE algorithm on an embedded system.To verify the proposed application specific instruction-set processor, we synthesize it with the Synopsys Design Compiler (DC) under TSMC65nm low power standard CMOS technology. Based on the hardware, the software works realize BLAKE-256as behalf of the32b BLAKE and BLAKE-512as behalf of the64b BLAKE. The proposed ASIP achieves the maximum frequency of1001MHz. The Tp for32b(64b) BLAKE is335(176) Mbps and the corresponding CpB is23.81(45.39). The total area cost of the ASIP is28.48and28.07kGE for CaseA and CaseB respectively. The result of tape-out illustrates that under1.3V voltage, the proposed chip can work at a frequency of890Mhz with134mW, thus reach the performance target-a throughput of300Mbps. So this approach arrives at the predetermined target of an effective ASIP for BLAKE algorithm. Meanwhile, being a processor, the other four SHA-3candidates can also be executed on it. As shown the flexibility of the proposed processor. As conclusion the proposed processor is very suitable for security applications on embedded systems.

Table of contents

Directory 2-4 chart index 4-6 English abbreviations table 6-7 Summary 7-8 Abstract 8-10 Chapter 1 Introduction 10-15 1.1, Introduction hash algorithm and its application 10-11 1.2, hashing algorithm and its implementation challenges faced 11-12 1.3, BLAKE algorithm ASIP realize the value of 12-14 1.4, content and structure of this paper arrangements 14-15 chapter BLAKE algorithm and its analysis 15-23 2.1, BLAKE algorithm description and previous work 15-19 2.2, BLAKE algorithm performance analysis 19-22 2.3, Summary 22-23 Chapter III instruction set design 23-53 3.1, ASIP instruction set designed to enhance the profile 23-24 3.2, to explore the special instruction set 24-41 3.2.1, the instruction set to explore Introduction 24 - 26 3.2.2, the instruction set of the model to explore the scope and constraints 26-28 3.2.3, the instruction set to explore the implementation of 28-41 3.3 special instruction set design ideas 41-49 3.3.1, the whole idea 41-44 3.3.2, G function-specific hardware architecture 44 - 46 3.3.3, parameter estimation 46-49 3.4, instruction set 49-51 3.5, Summary 51-53 Chapter IV architecture 53-62 4.1, hardware design 53-59 4.1.1, the overall structural design 53-54 4.1.2, G function arithmetic unit and interface design 54-58 4.1.3, the special register file design 58-59 4.2, software architecture design 59-61 4.2.1, G function scheduling 59-61 4.2.2, other software optimization 61 4.3, chapter Summary 61-62 Chapter design verification 62-70 5.1, the consolidated results of its analysis 62-64 5.2, flow sheet results their analysis 64-69 5.3, summary 69-70 Chapter VI summary and Outlook 70-72 references 72-77 Master of papers published during the recruitment and 77-78 Thanks 78-80

Related dissertations

  1. Research for Hardware Implementation of SHA-3Algorithms
    LiangZuo ·Tsinghua University ·2011 ·Master's thesis
  2. The Research of Enhanced Side-channel Attack and New Cryptographic Algorithmsits
    SongZuo ·Hunan University ·2013 ·Master's thesis
  3. Kahlil Gibran:20th Century’s William Blake
    LiuJia ·Tianjin Normal University ·2013 ·Master's thesis
  4. Design and Implementation of SHA-3Based RFID Authentication Protocol
  5. Research on the Attack Methods of the Hash Functions
    ChenShiWei ·PLA Information Engineering University ·2012 ·Doctoral dissertation
  6. Design and Implementation of Five Candidate Algorithm of SHA-3Based on FPGA
  7. Techniques for Cryptanalysis Based on Higher Order Differentials
    DuanMing ·Shanghai Jiaotong University ·2012 ·Doctoral dissertation
  8. Hardware Implementation of Configured SHA-2Series Algorithm and SHA-3(BLAKE-32) Algorithm
  9. Research and implementation of Gr (?) STL optimization algorithm and VLSI
    HeZhongZhu ·Fudan University ·2012 ·Master's thesis
  10. William Blake’s Imagination Research
    JiangJianJun ·Xiangtan University ·2012 ·Master's thesis
  11. A Comparative Study of Mythical Archetypal Imagery in Blake and Qu Yuan’s Poetry
  12. Human, Animal and Nature
    SongZuo ·Zhejiang University ·2008 ·Master's thesis
  13. Female Image in W. Blake’s Poetry
    YangShuLin ·Guizhou University ·2006 ·Master's thesis
  14. Androgyny in William Blake’s the Four Zoas
    HongXiaoXia ·Southwestern University ·2006 ·Master's thesis
  15. Social structure determines the sociology of law
    Li ·China University of Political Science ·2005 ·Master's thesis
  16. Blake case studies Sociological Theory
  17. Contradictory Ideas in William Blake’s Poems
    XieQiYuan ·Guizhou University ·2008 ·Master's thesis
  18. Cryptanalysis of Blue Midnight Wish Algorithm of the Second Round Candidates of the SHA-3
    ZhangHongShi ·Shandong University ·2010 ·Master's thesis
  19. Blake , \
    WangZuo ·Southwestern University ·2009 ·Master's thesis
  20. MD5 and partial new Hash function analysis of
    LiXiuZhen ·Shandong Normal University ·2011 ·Master's thesis