Unlock instant, AI-driven research and patent intelligence for your innovation.

A true random number generation method based on cpu clock and usb independent clock

A true random number and independent clock technology, applied in the field of true random number generation, can solve the problems of digital signature system cracking, lack of peripherals, leakage of signer's private key, etc., and achieve the effect of low-cost implementation

Active Publication Date: 2019-11-19
ZHENGZHOU SEANET TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0036] As mentioned earlier, in elliptic curve digital signatures, if the same true random number is used repeatedly for the signature of two different messages, the true random number used in the signature will be leaked, and then the private key of the signer will be leaked, which will cause the entire digital signature system to cracked
[0037] In addition, the existing true random number generation methods are usually external hardware random noise sources, or use the time delay of CPU access to external devices (such as disks, keyboards, mice) or a large number of repetitive memory access and operation delays as random entropy sources, The former increases hardware costs, and the latter lacks corresponding peripherals in many servers or security devices, making it impossible to adopt or operate inefficiently

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A true random number generation method based on cpu clock and usb independent clock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The technical solution of the present invention will be described in detail below with reference to the drawings and embodiments.

[0058] Taking the digital signature of the prime field elliptic curve as an example, it is assumed that the order n of the elliptic curve and the modulus p of the finite field are binary representations with a length of 256 bits, and p

[0059] Such as figure 1 Shown, a kind of true random number generation method based on CPU clock and USB independent clock, comprises the following steps:

[0060] Step 1) The USB SoF interrupt handler repeatedly reads the CPU main clock counter, obtains the timing reading change amount between two SoF events before and after, takes the lowest 2-bit mantissa of the change amount, and compares it with the original seed in the random number seed pool (initially empty) Spliced ​​into a bit string, accumulated into the random number seed pool, until the length of the random number seed is greater than or eq...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a true random number generation method based on a CPU clock and a USB independent clock, the method comprises the following steps: taking a jitter difference of the CPU clock and the USB independent clock as a random noise source, generating a random number seed, performing hash operation to the random number seed through a hash algorithm, and generating a needed true random number. The method provided by the invention only depends on a CPU main clock and a USB module independent clock which are generally arranged on modern CPU circuit boards in the aspect of hardware,compared with a method of generating the true random number through operations, such as externally connecting a physical noise source, externally connecting various clock source counting circuits, accessing to peripherals by a CPU or repeating memory access operation, the method provided by the invention is more simpler, convenient and efficient, and can be used for occasions where the true randomnumber is needed in information security processing operations, such as secret key generation, digital signature and secret key negotiation.

Description

technical field [0001] The invention relates to the technical field of cryptography, in particular to a method for generating a true random number based on a CPU clock and an independent USB clock. The method can be used in occasions such as key generation, digital signature, and key negotiation that need to generate true random numbers. Background technique [0002] Random numbers are widely used in key generation, digital signature, key agreement, etc., and are very important in cryptographic applications. The security of random number generation methods directly affects the security of cryptosystems. In most cases, it is difficult for an attacker to crack the cryptographic algorithm directly, but by using roundabout attack methods such as guessing the secret random number used in the cryptographic algorithm, the entire cryptographic system can often be broken by obtaining the secret random number. [0003] Random number generation includes two types: true random number ge...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L9/32H04L9/06
CPCH04L9/0643H04L9/0662H04L9/3252
Inventor 曾学文李杨叶晓舟
Owner ZHENGZHOU SEANET TECH CO LTD