# US 2022/0283896 A1 · Random number generator

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283896 A1
- Document ID: US20220283896A1
- Status: Published application
- Kind: A1
- Application number: 17/684,198
- Filed: 2022-03-01
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: STMicroelectronics (Rousset) SAS
- Applicants: Stmicroelectronics (Rousset) SAS
- Inventors: Albert MARTINEZ; Patrick HADDAD
- Web page: https://patentgrep.com/patent/US20220283896A1

## CPC

- G06F 11/10: Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F 21/71: to assure secure computing or processing of information
- G06F 7/58: Random or pseudo-random number generators
- G06F 11/26: Functional testing
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to a circuit for testing a random number generator adapted to delivering a series of random bits and comprising at least one test unit configured to detect a defect in the series of random bits, said test circuit being adapted to verifying whether, after the detection of a first defect by the test unit, the number of random bits, generated by the random number generator without the detection of a second defect by said unit test, is smaller than a first threshold.

## Claims

### Claim 1

A device, comprising:
an input, which in operation, receives indications of detection of a first type of defect in a random bit sequence;
defect testing circuitry, coupled to the input, wherein the defect testing circuitry, in operation, generates an indication of whether detection of the first type of defect is repeated within a threshold number of bits of the random bit sequence.

### Claim 2 (depends on 1)

The device according to claim 1, wherein the threshold number of bits is equal to an inverse of a probability of occurrence of the first type of defect.

### Claim 3 (depends on 1)

The device according to claim 1, wherein the first type of defect is a series of N successive bits having a same value.

### Claim 4 (depends on 3)

The device according to claim 3, wherein the same value is 1.

### Claim 5 (depends on 3)

The device according to claim 3, wherein the same value is 0.

### Claim 6 (depends on 3)

The device according to claim 3, wherein N is equal to 34.

### Claim 7 (depends on 1)

The device according to claim 1, wherein the first type of defect is a series of M successive bits having a sum greater than a threshold sum.

### Claim 8 (depends on 7)

The device according to claim 7, wherein M is equal to 1,024 and the threshold sum is equal to 628.

### Claim 9 (depends on 1)

The device of claim 1, comprising:
a second input, which in operation, receives indications of detection of a second type of defect in the random bit sequence, wherein the defect testing circuitry is coupled to the second input, and the defect testing circuitry, in operation, generates an indication of whether detection of the second type of defect is repeated within a second threshold number of bits of the random bit sequence.

### Claim 10

A system, comprising:
a plurality of random sequence error detection circuits, which, in operation, detect errors in a random bit sequence; and
defect testing circuitry, coupled to the plurality of random sequence error detection circuits, wherein the defect testing circuitry, in operation, generates an indication of whether one of the plurality of random sequence error detection circuits detects two errors in the random bit sequence within a threshold number of bits of the random bit sequence.

### Claim 11 (depends on 10)

The system of claim 10, wherein the plurality of random sequence error detection circuits, in operation, detect respective types of errors in the random bit sequence.

### Claim 12 (depends on 10)

The system of claim 10, comprising:
a random number generator coupled to the plurality of random sequence error detection circuits, wherein the random number generator, in operation, generates the random bit sequence.

### Claim 13 (depends on 12)

The system of claim 12, wherein the random number generator comprises a noise source and digitizing circuitry.

### Claim 14 (depends on 12)

The system according to claim 12, comprising:
bit sequence processing circuitry coupled to the random number generator, wherein the bit sequence processing circuitry, in operation, applies digital signal processing to the random bit sequence, generating a random number.

### Claim 15 (depends on 10)

The system of claim 10, wherein the threshold number of bits is equal to an inverse of a probability of occurrence of a type of defect detected by the one of the plurality of random sequence error detection circuits.

### Claim 16 (depends on 15)

The system of claim 15, wherein the type of defect detected by the one of the plurality of random sequence error detection circuits is a series of N successive bits having a same value.

### Claim 17 (depends on 16)

The system of claim 16, wherein N is equal to 34.

### Claim 18 (depends on 15)

The system of claim 15, wherein the type of defect detected by the one of the plurality of random sequence error detection circuits is a series of M successive bits having a sum greater than a threshold sum.

### Claim 19 (depends on 18)

The system of claim 18, wherein M is equal to 1,024 and the threshold sum is equal to 628.

### Claim 20 (depends on 10)

The system of claim 10, wherein,
the plurality of random sequence error detection circuits, in operation, detect different types of errors in the random bit sequence; and
the defect testing circuitry, generates respective indications of whether the plurality of random sequence error detection circuits detect two errors in the random bit sequence within respective threshold numbers of bits of the random bit sequence.

### Claim 21

A method, comprising:
detecting a first type of defect in a random bit sequence; and
generating an indication of whether detection of the first type of defect is repeated within a threshold number of bits of the random bit sequence based on the detection of the first type of defect.

### Claim 22 (depends on 21)

The method of claim 21, wherein the threshold number of bits is equal to an inverse of a probability of occurrence of the first type of defect.

### Claim 23 (depends on 21)

The method of claim 21, wherein the first type of defect is a series of M successive bits having a sum greater than a threshold sum.

### Claim 24 (depends on 23)

The method of claim 23, wherein M is equal to 1,024 and the threshold sum is equal to 628.

### Claim 25 (depends on 21)

The method of claim 21, comprising:
detecting a second type of defect in the random bit sequence; and
generating an indication of whether detection of the second type of defect is repeated within a second threshold number of bits of the random bit sequence based on the detection of the second type of defect.

### Claim 26

A non-transitory computer-readable medium having contents which cause processing circuitry to perform a method, the method comprising:
detecting a first type of defect in a random bit sequence; and
generating an indication of whether detection of the first type of defect is repeated within a threshold number of bits of the random bit sequence based on the detection of the first type of defect.

### Claim 27 (depends on 26)

The non-transitory computer-readable medium of claim 26, wherein the threshold number of bits is equal to an inverse of a probability of occurrence of the first type of defect.

### Claim 28 (depends on 26)

The non-transitory computer-readable medium of claim 26, wherein the method comprises:
detecting a second type of defect in the random bit sequence; and
generating an indication of whether detection of the second type of defect is repeated within a second threshold number of bits of the random bit sequence based on the detection of the second type of defect.

### Claim 29 (depends on 26)

The non-transitory computer-readable medium of claim 26, wherein the contents comprise instructions executed by the processing circuitry.
