Random number generator bit string filter
Abstract
A filtering apparatus in a hardware random number generator that prevents the random number generator (RNG) from outputting a contiguous string of zeros or ones longer than a specified length. The maximum length is programmable in the apparatus. The apparatus includes a counter that keeps a current count of contiguous zero bits in a series of bytes generated by the RNG. An adder generates a sum of the current zero bit count and the number of leading zeros in the next byte generated. If the sum exceeds the maximum length, then the filter throws out the byte rather than accumulating it. Otherwise, if the byte contains all zeros, the counter is updated with the sum; or if the byte contains trailing zeros, the counter is updated with the number of trailing zeros; otherwise the counter is cleared. The apparatus does the same for contiguous one bits.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 23.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus in a random number generator, comprising: first and second counters, configured to store a zero bit count and a one bit count, respectively, that indicate a current number of contiguous zero and one bits, respectively, detected in a series of random bytes generated by the random number generator; first and second adders, coupled to said first and second counters, for generating first and second sums, wherein said first sum is of said zero bit count and a number of leading zeros in a next random byte generated by the random number generator, wherein said second sum is of said one b
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 23 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 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.