DS2432 - based embedded encryption and authentication system design

Author
QiYong
Advisor
YeZheJiang
School
Kunming University of Science and Technology
Major
Communication and Information System
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2007
Downloads
83
Citations
1

Request the full text

Abstract

To exploit electronic products,the cost is extremely high.If has not the protective measures to guard against the clone,the people who is illegal may use kinds of clone tools very easily to clone designer’s achievement successfully.It must prevent without authorization to copy these designs,protect designer’s intellectual property.Therefore the paper designs embedded authentication system to be allowed to complete the electronic installation status recognition,prevents the clone.The embedded authentication systems requests carefully to choice the encryption arithmetic and study the encryption authentication system design.In order to satisfy the security which the application needs,the used arithmetic must be satisfied:①Irreversible—it is not feasible to compute the input data form the outcome of the arithmetic computation.②Against "the collision"—it is not feasible to use other group of data to have a same arithmetic computation result.③Has the extremely high "avalanche effect"—Any change in the input data,it is the enormous influence to the algorithm operation result.The design uses HSAH function SHA-1 arithmetic satisfies the above condition.This design uses the micro controller STC12C5406 of unable to decipher to program control the chip DS2432 and the chip DS2460 of have SHA-1 the arithmetic engine to actualize the embedded authentication design,DS2460 which is the coprocessor calculates the MAC value,plays the role of protecting the key.First to the DS2432and DS2460 data initialization,separately stores the same key and the data to DS2432’ key memory and the data memory,to DS2460’ EEPROME-Secretl and the input buffer,and stores DS2432’s theglobal only ID number in STC12C5406.when the system which is protected must run, it can first trigger the authentication system.By then STC12C5406 input the DS2432 ID number to the DS2460 input buffer storage,and causes the DS2432 and DS2460’ SHA-1 engine separately calculates the MAC value,and then compares the MAC in DS2460,if MAC are equal,pass the authentication.In other words,the electric circuit board was original installation.If the electric circuit board is the clone,because the DS2432 SHA-1 engine calculates MAC only can use the input own ID number to compute,the clone DS2432 ID number is dissimilar with the original ID number,and the key of stored can not be read,these guarantee clone electric circuit board calculates the MAC value is not equal to the primary MAC,then clones electric circuit board authentication defeat,not to be able to continue the next step of system function,so protect primary electric circuit board.

Table of contents

Abstract 3-4 Abstract 4-8 first chapter 8-12 the engine 1.1 DS2432 SHA-1 encryption certified application background the the 1.2 embedded encryption authentication system overview 8-10 1.3 embedded authentication system standard design 10 1.4 topics of significance 10-11 1.5 papers organizational structure 11-12 Chapter II development environment for embedded authentication system 12-23 the 2.1 embedded authentication system hardware development environment 12-22 2.1.1 microcontroller choose 12-14 2.1.2 DS2432's features 14-19 features in 2.1.3 DS2460 in an 19-22 2.2 The design choice of software development environment 22-23 Chapter HASH function SHA-1 hash algorithm and authentication principle 23-35 3.1 HASH function 23-25 3.1.1 HASH function concept 23-24 3.1.2 HASH function of the general structure of 24-25 3.1.3 HASH filled 25 3.2 HASH function algorithm 25-32 3.2.1 HASH function algorithm design 25-26 3.2.2 HASH function SHA-1 algorithm 26-31 3.2.3 SHA-1 engine algorithm SHA-1 and SHA-1 algorithm itself 31-32 3.3 Message Authentication 32-35 3.3.1 the HASH function-based algorithm SHA-1 message authentication 32-33 3.3.2 SHA-1 algorithm-based message authentication code security analysis 33-35 Chapter embedded authentication system based on the SHA-1 algorithm implementation 35-55 4.1 certification system hardware design 35 4.2 certification system software design 35-55 4.2.1 I ~~ 2C serial communication and 1-Wire bus communication procedures designed 36-40 4.2.2 key initialization process design 40-45 4.2.3 data initialization procedure design 45-51 4.2.4 MAC (Message Authentication Code) calculation procedures designed 51-54 4.2.5 MAC comparison program design 54-55 the Fifth Chapter embedded authentication system security analysis 55-58 5.1 devices in the SHA-1 algorithm authentication code attacks 55-56 5.2 embedded authentication system security analysis 56-58 Chapter 6 Conclusions 58-60 Acknowledgements 60-61 the References 61-63 the Appendix studying for a master's degree completed during the thesis 63