Patent ID: 11921623
Assignee: SECURED-IC SAS
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. A method for testing a bit sequence generated by a Random Number Generator, wherein the method comprises applying one or more statistical tests to the bit sequence, in response the detection of N bits generated by the Random number generator, each statistical test being configured to test randomness in said N bits generated by the Random number generator (11), each statistical test providing at least one test parameter from the bits of said sequence, a statistical test comprising several runs, a run having a length k the testing method comprising:
comparing at least one test parameter related to each statistical test to one or more thresholds;
determining if said bit sequence is valid depending on the comparison performed for each statistical test in said comparing step;
wherein said at least one test parameter corresponds to a sum value, the method further comprising:
determining, for each statistical test, at least one threshold pair comprising a lower threshold and a higher threshold, the lower threshold and the higher threshold depending on the parameter N and on a target error probability,
wherein the comparison step comprises, for each statistical test, comparing each sum value with the associated lower threshold and higher threshold.