The Implementation of TPM RNG Module

Author
XuYanPing
Advisor
ZhouYuJie
School
Shanghai Jiaotong University
Major
Circuits and Systems
Classification
TP309.7 Encryption and decryption
Degree
Master's thesis
Year
2006
Downloads
55
Citations
0

Request the full text

Abstract

In order to develop trusted computing technology, TCG(Trusted Computing Group)defined TPM(Trusted Platform Module), which can provide safety storage and encryption function. This module is one microcontroller based on TCG industry standard. This controller is used to store password, digital certificate and cipher keys, and provides security certification, encryption and network connection service.As one of the main modules of TPM, RNG produces seed data for cipher, decipherment and key generation. It provides the internal random source for TPM, and TPM uses these random values for nonces, key generation and randomness in signatures.The requirement of high quality random numbers grows day by day, which results in true random number generator takes great attentions; And the appearance and development of system on a chip needs the realization of on-chip random number generator. Considering the two facts, this paper comes up with a new method of random number generator based on the noise source of Phase Locked Loop(PLL). The method can provide good properties: true randomness and easy to implementation and system integration.This method has three significant merits: (1)source of noise derives from physic phenomenon-jitter of PLL instead of free-running oscillator; 2) the primary data are processed by a won Neumann corrector, which removes the bias and improves the randomness of the data; 3)digital post-processing introduces LFSR and CASR arithmetic, which can better the statistic property of output of the random number generator, and assure that the generator possess true randomness and have a stable output of random numbers.In this paper, we have proposed a new method based on jitter of PLL and completed the design and test of the true random number generator. Furthermore, we get a conclusion about the properties of the generator by analyzing the statistic test results of the random outputs.It is an experiment of realizing random number generator based on PLL. The results can be used by TPM and referred by developers of high-quality random number generator.

Table of contents

Abstract 5-7 ABSTRACT 7-12 first chapter 12-14 1.1 TPM system to the needs of the random number generator 12-13 1.2 In this paper, the work done 13 1.3 The subject of this paper source and structure arrangements 13-14 the basic concepts of its generator principle of the second chapter of the random number 14-42 2.1 random number of basic concepts 14-17 2.1.1 randomness 14 2.1.2 unpredictable nature 14-15 2.1.3 mathematical methods to define the concept of a random number 15 2.1.4 random sequence 15-16 2.1.5 key indicators to measure the quality of random sequences 16 2.1.6 random number generator 16-17 2.2 noise sources 17-22 2.2.1 circuit noise 17-18 2.2.2 Phase Noise 18-19 2.2.3 voltage-controlled oscillator phase noise 19-22 2.3 pseudo-random number generator principle 22-37 2.3.1 pseudo-random number generator characteristics and its value 22-23 2.3.2 common method of generating pseudo-random number Introduction 23-37 2.3.2.1 linear congruence Series 23-25 2.3.2.2 general nonlinear congruential generator 25 2.3.2.3 inverse congruential generator 25-27 2.3.2.4 classic Fibonacci to delay Fibonacci sequence 27 2.3.2.5 shift register sequence generator 27-29 2.3.2.6 the binary additive to borrow less generator 29-32 2.3.2.7 The composite primes and chaotic map to generate random numbers 32-34 2.3.2.8 combined generator 34-37 2.4 True Random Number Generator principle 37-40 2.4.1 true random number generator concepts and attributes 37 2.4.2 true random number generator used 37-40 2.4.2.1 directly magnify 37-38 2.4.2.2 oscillator sampling 38-39 2.4.2.3 Chaos-based discrete-time 39-40 2.5 the basis of the phase-locked loop method 40-42 Chapter random sequence of testing standards 42-49 3.1 random sequence performance 42 3.2 random sequence of testing standards 42-48 3.2.1 Test Method theoretical foundation 42-45 3.2.2 benchmark 45-46 3.2.3 U.S. Federal Information Processing Standard specifies the test program 46-48 3.3 test program 48-49 Chapter of true random number generator design 49-72 4.1 system design 49-51 4.1.1 design ideas 49-50 4.1.2 system port Description 50-51 4.1.3 TRNG system of internal functional partitioning 51 4.2 PLL circuit design 51-53 4.2.1 system design 51-52 4.2.2 works 52-53 4.3 random seed the acquisition circuit design 53-55 4.4 data processing 55-58 4.4.1 overall program 55 4.4.2 Bias corrective 55-57 4.4.3 Data hybrid 57-58 4.5 module division and hardware to achieve 58-64 4.5.1 module divided 58 4.5.2 hardware realization 58-64 4.5.2.1 PLL module 58-59 4.5.2.2 rng module 59-64 4.6 generates a random number sequence test 64-68 4.7 part of the graphics as well as related information 68-72 the 4.7.1 digital circuit part of the simulation results 68 4.7.2 digital circuit part of the consolidated results 68-69 4.7.3 Hybrid Simulation partial results 69 the 4.7.4 digital circuit part of the comprehensive information 69-71 4.7.5 RNG circuit layout 71-72 Chapter V Conclusion 72-73 the References 73-77 Acknowledgements 77-78 to pursuing degree during the academic 78

Related dissertations

  1. The ASIC Implementation of TPM RNG
    ZhouLiYang ·Shanghai Jiaotong University ·2007 ·Master's thesis
  2. Design of Programmable Frequency Transmitter Controller Synchronized by GPS
  3. Research and Application of Distributed System for Processing Massive Logs
    JiangHuiZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  4. Study of miniaturized broadband S band up converter system
  5. Self Biased Phase Locked Loop Design
    CaoYuOu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  6. Frequency Detection Technology in S-Band
  7. The Research of Ultra Narrow Band Communication Technology and Design of Demodulator
  8. Low phase noise Ku band frequency division phase-locked oscillation source
  9. Research on Key Techniques of Radio Resource Allocation in Relay-enhanced Cellular Networks
  10. Design and Realization of High-stability Signal Source Based on GPS
  11. On the Design of Digital Synthesizer Based on Phase-Locked Loop
    HanTuanJun ·Chang'an University ·2013 ·Master's thesis
  12. The Design of Frequency Synthesizer Circuit for100kHz~3000MHz Monitoring Receiver
    CaiYunFei ·South China University of Technology ·2013 ·Master's thesis
  13. CMOS Charge Pump PLL
  14. Design of1.2Gbps Serializer/Deserializer for Data Transmission
    TangXiaoChen ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. Research on Voltage Sag Detection and Compensation Technology
    ZuoShuo ·Hunan University ·2013 ·Master's thesis
  16. Research on the LVRT Control of Direct-drive PMSG Wind Power System Based on Three-phase CSC
    WengShiTing ·Hefei University of Technology ·2013 ·Master's thesis
  17. Research on Single-phase Quasi-Z Source Grid-connected Inverter
    WeiXiaoFeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Design and Implementation of Voltage Source Converter for Superconducting Magnetic Energy Storage
  19. The Design and Implementation of PWM Rectifier Control System
    QiuXi ·Hunan University ·2013 ·Master's thesis
  20. Research on Control System of BLDCM for the Drive of Well Logging Piston Pump
    LiuQiang ·Harbin Institute of Technology ·2012 ·Master's thesis