Microprocessor including random number generator supporting operating system-independent multitasking operation
Abstract
A microprocessor that includes a random number generator (RNG) that saves and restores its own state on a task switch without operating system (OS) support. The RNG includes a control and status register (CSR) for storing control values that affect the generation of random numbers. The CSR is not saved and restored by the OS. The RNG shadows the CSR with an SSE register that is saved and restored by the OS. A new instruction loads the CSR, and also loads the shadowed SSE register. Whenever the SSE register is restored from memory, the RNG sets a flag indicating that a possible task switch occurred. Whenever the processor executes a new instruction that stores the random data to memory, it checks the flag and copies the control values from the SSE register to the CSR if the flag is true, discards previously generated bytes, and restarts random number generation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A microprocessor, for running a multitasking operating system, the microprocessor having a memory coupled thereto, the microprocessor comprising: a register, saved and restored by the operating system on a task switch; a flag register, coupled to said register, for storing a flag which if set indicates a task switch possibly occurred, wherein the microprocessor sets said flag when it executes an instruction that loads said register; and a random number generator (RNG), coupled to said register, for generating random numbers based on one or more control values stored in a control register, wher
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (40)
Non-Patent Literature (5)
- Analog Devices ADSP-2141L Safe Net DSP datasheet, Rev. 0, Analog Devices, Inc., 2000. Norwood, MA.
- Ancona, Fabio et al., Parallel VLSI Architectures for Cryptographic Systems, IEEE, 1997, pp. 176-181.
- Atmel Secure Microcontroller for Smart Cards AT05SC3208R. Data Sheet, pp. 1-2, XP002288710 Section "Peripherals".
- Benjamin Jun, The Intel Random Number Generator, Cryptography Research, Inc. White Paper Prepared for Intel Corporation, Apr. 22, 1999.
- Federal Information Processing Standard Publication, FIPS PUB 140-2, Security Requirements for Cryptographic Modules, May 25, 2001, Gaithersburg, MD.