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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
