Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
QRNG CHIP MASS PRODUCTION METHOD
Document Type and Number:
WIPO Patent Application WO/2022/128292
Kind Code:
A1
Abstract:
The present invention relates to a RNG Chip testing method comprising a test start-up phase starting a Final Test phase, a data collection step wherein frames of bit sequences having a length of 1024 KB, preferably 512 KB generated by the RNG chip are collected, a uniformity determining step comprising calculating the uniformity of the bit sequence according the following formula : formula (I), a comparison step where the determined uniformity is compared to a predetermined threshold, and a judging step judging whether the chip has passed or failed the test based on the result of the comparison step.

Inventors:
KIM HYOUNGILL (KR)
YOON PILSANG (KR)
HAN KYOUNGBOK (KR)
Application Number:
PCT/EP2021/081960
Publication Date:
June 23, 2022
Filing Date:
November 17, 2021
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ID QUANTIQUE SA (CH)
International Classes:
G06F7/58
Foreign References:
US20160170856A12016-06-16
US20190250890A12019-08-15
US20180277198A12018-09-27
Attorney, Agent or Firm:
KATZAROV SA (CH)
Download PDF:
Claims:
CLAIMS

1 . RNG Chip testing method comprising: a test start-up phase starting a Final Test phase, a data collection step wherein frames of bit sequences having a length of 1024 KB, preferably 512 KB generated by the RNG chip are collected, a uniformity determining step comprising calculating the uniformity of the bit sequence according the following formula : 100 a comparison step where the determined uniformity is compared to a predetermined threshold, and a judging step judging whether the chip has passed or failed the test based on the result of the comparison step.

2. RNG Chip testing method according to claim 1 , characterized in that it further comprises a chip sample management step consisting in discarding the chip sample in case of failing the test.

3. RNG Chip testing method to claim 1 or 2, characterized in that the data collection step comprises collecting frames of bit sequences having a length of 1024 KB, preferably 512 KB for each of 64 pixels of a chip.

4. RNG Chip testing method according to claim 3, characterized in that the uniformity determining step comprising calculating the uniformity of all 64 pixels independently and the average uniformity of all 64 pixels.

5. RNG Chip testing method according to claim 3 or 4, characterized in that the comparison step compares the average uniformity of all 64 pixels to a predetermined threshold and discard the chip of the average uniformity is lower than said threshold.

6. RNG Chip testing method according to any one of claims 1 to 5, characterized in that it further comprises a peak uniformity measurement step calculating the minimum/maximum peak value for each pixel.

7. RNG Chip testing method according to any one of claims 1 to 6, characterized in that it further comprises a compensation step to be run for the chips which have passed the comparison step only, wherein the peak uniformity of each pixel is checked. 8. RNG Chip testing method according to claim 7, characterized in that the judging step judges that either all the pixel of the chip have passed the compensation step and the chip is considered as a good sample or at least one pixel of the chip fails the compensation step and the chip is considered as a bad sample and considered as to be discarded. 9. RNG chip manufacturing method comprising the RNG Chip testing method of any one of claims 1 -8.

10. RNG chip manufacturing method according to claim 9, characterized in that it is involved in a mass manufacturing process.

11 . Random Number Generator comprising a chip manufactured by the RNG chip manufacturing method according to claim 10.

Description:
QRNG Chip Mass Production Method

Technical Field

The present invention relates to a method for QRNG Chip Mass Production, more particularly for producing QRNG Chips in mass within a short period of time.

Background of the art

In general, the present invention is in the context of the generation of random numbers and more particularly in the context of the manufacturing methods of RNG. Many tasks in modern science and technology make use of random numbers, including simulation, statistical sampling, gaming applications, and cryptography, both classical and quantum. A good random number generator should produce a chain of bits with high entropy at a high rate. By high entropy, it is meant that nobody can predict the value of the bit before the bit is revealed, entropy can also be understood as randomness. This is an essential requirement in most of the modern cryptographic algorithms and protocols. Indeed, all the cryptography protocols commonly employed, such as DSA-, RSA- and Diffie-Hellman-algorithms, follow Kerckhoffs’ principle, which dates back to the 19th century, and states that the security of a cypher must reside entirely in the key, i.e. in the random sequence used as seed, which is fully unpredictable. It is therefore of particular importance that the key used in a cryptographic algorithm is secure, which in practice requires it to be chosen perfectly at random, i.e. randomly generated.

In order to be able to generate such a random sequence, the QRNG comprises achieve controlling it to perform such random number generation.

These chips are produced in mass and, of course, inspections are necessary to evaluate the functionality and performance of each produced chip. In particular, the evaluation of is carried out through different tests among which a test which is called the Final Test (FT) that is extremely important as it is the last test performed on the chips, which determines if a chip can or not be introduced into the market.

In fact, based on the results of the FT, only the produced chips classified as a good chips can be shipped into market.

In general, the entire inspection time should be as short as possible in order to reduce the ocupation time of the production equipment related closely in test cost and in order to increase the production capacity. Normally the whole test time should take a few dozens of seconds per chip. In general, the entropy generated from all kinds of random number generator shall follow the specifications as those defined in standard like the ones of National Institute of Standards and Technology (NIST)or British Standards Institution (BSI) etc.

Figure 1 shows the entropy source model in NIST SP800-90B.

In NIST SP800-90B, there are two kinds of test, the HD, which permits to check a collection of random variables and come from lindependent and Identically Distributed, and the non-IID test. These tests allow to evaluate the quality of the entropy of the chip embedded in an RNG, also usually called “Randomness”.

Some users request that the non-IID test results are performed with very long RNG sample length, i.e. the testes sequence should be more than 10MB, as this indicate a measure of the performance of the produced entropy source.

Typically, it takes a long time to perform all the test cases defined in non-IID test, as these are 17 different test cases. In addition, it also takes time to generate and test long data samples. As an example, in NIST, a test case requires 1 to 2 hours, therefore, for mass production where 10,000 chips are produced, 10,000 to 20,000 hours test should be requires.

Therefore, according to prior art, there is no typical way of valuably inspect/evaluate the quality of entropy source in mass production.

As most of the RNGs are aimed at providing random numbers as a final output, a typical way of evaluating the quality of their random numbers is based on Federal Information Processing Standards (FIPS).

However, recently QRNGs have been designed for providing not random numbers but an entropy source. It is thus necessary to have a new method for testing the quality of their entropy source.

As an example, in NIST SP800-90B, the non-IID test consists of 17 test cases, where in order to evaluate the performance of entropy source, a “Randomness” test is performed. In fact, many viable noise sources fail to produce HD outputs. Therefore, for non-IID data, the estimators below shall be calculated on the outputs of the noise source and outputs of any conditioning component, and the minimum of all the estimates is taken as the entropy assessment of the entropy source for this Recommendation tests.

Non-IID test:

• H-bit = min (MCV bit, Collision., Markov bit, Compression, T-Tuple bit, LRS bit, Multi-MCW bit, Lag bit, Multi Markov bit, LZ78Y bit) • H-org = min (MCV org, T-Tuple org, LRS org, Multi MCW org, Lag org, Multi Markov org, LZ78Y org)

The above estimators are the Most Common Value estimate, the Collision Estimate, the Markov Estimate, the Compression Estimate, the t-Tuple Estimate, the Longest Repeated Substring (LRS) Estimate, the Multi Most Common in Window Prediction Estimate, the Lag Prediction Estimate, the MultiMMC Prediction Estimate, and The LZ78Y Prediction Estimate

From this test, a Final Minimum entropy is derived where the Final Minimum Entropy ranges from 0 (Low/poor) to 1 (high/best):

• H-min = min (H-bit, H-org/8)

The below shows the example of test results: where the Chipld is the Identity of the tested Chip and the Iteration is the number of test time. However, as mentioned before, those kinds of test cases are not suitable in FT process for mass production because of the time limitation. There is therefore a need for such an entropy source evaluation/inspecting method permitting to be adapted to mass production in order to reduce the test time. It is therefore the object of the present invention to dramatically reduce the test time of mass production RNGs. In this regard, a primary object of the invention is to solve the above-mentioned problems and more particularly to provide a random number generation chip production method comprising an entropy source testing method reducing the overall test time so as to be adapted to mass production.

Summary of the invention

The solution to the time reduction objective of the present invention is obtained by reducing the test data length and by improving the accuracy of the tests. In particular, the present invention uses a block uniformity method, which only tests part of sample data, called the block, outputted by one chip instead of the whole data

SUBSTITUTE SHEET (RULE 26) sequence. Typically, the tested part has a length of from 512KB to 1024KB instead of the 10MB mentioned before.

This block uniformity method can be repeated for each single chips in production, in order to evaluate if such chip is good or not.

In addition to this block uniformity method, when the sample data is not long enough, the fluctuation of the block uniformity becomes big and to cope with such fluctuation an alternative or complementary method is proposed which is called the pixel uniformity method.

A first aspect of the invention relates to a RNG Chip testing method comprising a test start-up phase starting a Final Test phase, a data collection step wherein frames of bit sequences having a length of 1024 KB, preferably 512 KB generated by the RNG chip are collected, a uniformity determining step comprising calculating the uniformity of the bit sequence according the following formula: 100 a comparison step where the determined uniformity is compared to a predetermined threshold, and a judging step judging whether the chip has passed or failed the test based on the result of the comparison step.

Preferably, the RNG Chip testing method further comprises a chip sample management step consisting in discarding the chip sample in case of failing the test.

Advantageously, the data collection step comprises collecting frames of bit sequences having a length of 1024 KB, preferably 512 KB for each of 64 pixels of a chip.

According to a preferred embodiment of the invention, the uniformity determining step comprising calculating the uniformity of all 64 pixels independently and the average uniformity of all 64 pixels.

Advantageously, the comparison step compares the average uniformity of all 64 pixels to a predetermined threshold and discard the chip of the average uniformity is lower than said threshold.

According to a preferred embodiment of the invention, the RNG Chip testing method further comprises a peak uniformity measurement step calculating the minimum/maximum peak value for each pixel. Preferably, the RNG Chip testing method further comprises a compensation step to be run for the chips which have passed the comparison step only, wherein the peak uniformity of each pixel is checked.

According to a preferred embodiment of the invention, the judging step judges that either all the pixel of the chip have passed the compensation step and the chip is considered as a good sample or at least one pixel of the chip fails the compensation step and the chip is considered as a bad sample and considered as to be discarded.

A second aspect of the invention relates to a RNG chip manufacturing method comprising the RNG Chip testing method of the first aspect of the invention

Preferably, the RNG chip manufacturing method is involved in a mass manufacturing process.

A third aspect of the invention relates to a Random Number Generator comprising a chip manufactured by the RNG chip manufacturing method of the second aspect of the invention.

Brief description of the drawings

Further particular advantages and features of the invention will become more apparent from the following non-limitative description of at least one embodiment of the invention which will refer to the accompanying drawings, wherein

Figure 1 represents the entropy source model in NIST SP800-90B;

Figure 2 schematically represents the sequence of the Final Test process using the block uniformity method of the present invention;

Figure 3 schematically represent the data collection for the block uniformity method of the present invention;

Figure 4 schematically represents an example of the block uniformity method results;

Figure 5 schematically represents the sequence of the Final Test process using the pixel uniformity method of the present invention;

Figure 6 schematically represent data collection from each pixel for pixel uniformity method of the present invention.

Detailed description of the invention

The present detailed description is intended to illustrate the invention in a non-limitative manner since any feature of an embodiment may be combined with any other feature of a different embodiment in an advantageous manner. Figure 2 shows the first aspect of the invention which is a method for calculating the uniformity in a QRNG chip. According to this method which is called the block uniformity method, data from a tested RNG or QRNG shall be collected, as shown in figure 3, with a certain length from a CMOS Image Sensor pixel. Here the term RNG shall define any type of Random Number Generator including Quantum random Number Generator or the like. Also, the Term RNG here may independently refer to the RNG as a whole or the RNG chip according to the context.

As explained above, in real scenarios, when it comes to mass production, it is impossible - due to time constraints - to execute the full non-IID tests in order to classify whether or not a sample is good and can be introduced into the market.

For this reason, the present invention relates to a RNG chip testing method comprising the steps of starting the Final test, then collecting data, preferably frames of bit sequences having a length of 1024 KB, preferably 512 KB. The RNG chip testing method comprises a block uniformity step as shown in figure 2 which solves the technical problem calculating the uniformity of the bit sequence outputted by the RNG according to the following formula: 100

The Uniformity therefore indicates how evenly distributed data in bit units and this formula is applied such that, considering that 1 pixel has 2bits and present 4 kinds of output "00", "01 ","10", "11". For example, among 400 pixel data, "00" shows 101 times; "01" shows 103 times, "10" shows 97 times, "11" shows: 99 then the above forum la is applied as follows : uniformity = (103-97)/(2x100) X 100 = 3 %

The calculated uniformity shows how much gathered data spread out uniformly in a dynamic range. This feature is basic requirement on randomness. A further advantage is that uniformity is easier to apply to classify good sample in mass production. Indeed, in order to verify the chip that provides the entropy source, tests provided by NIST such as Non-iid and lid described above are performed, but it takes a lot of time and causes a decrease in productivity. So, there are some advantages in mass production.

Once the uniformity is calculated, it is compared to a cut-off criteria/value. The cut-off criteria has to be set to an upper value of dynamic range of block uniformity. However, as shown in figure 4, the block uniformity, has a big fluctuation when data length is not enough long. For this reason, the block uniformity method can show the overall performance of a chip but it lacks precisely showing the performance of each pixel comprised in the chip since one defectious pixel may be hidden by the overall performance.

For this reason, an alternative/complementary testing method has been developed as well, the Pixel Uniformity method which his shown in figure 5.

The principle of the first steps of the Pixel Uniformity method is somehow like the block uniformity method in that it comprises the similar first steps consisting in starting the Final test, then collecting data, preferably frames of bit sequences having a length of 1024 KB, preferably 512 KB. The main difference here resides in the collection step where the frames are collected for each pixel.

In general, a RNG chip has 64 pixels and this method consists in gathering a frame of bit sequence of 1024 KB, preferably 512 KB, for each pixel according to the figure 6.

After collecting the data, a pixel uniformity test according to the same formula above for the block uniformity test is run for each one of the 64 pixels. Taking into account that each of the 64 pixels have two bits and each bit may be 0, 1 , 2 or 3.

Basically, the basic unit of uniformity is calculated as 2 bits, so block uniformity method and pixel uniformity method have the same formula. However, as awe can see from figures 3 and 6, the difference between these methods rather consists in the collection data and whether the data is calculated using the whole data or it is calculated using the data for each pixel unit.

At that point two processes start independently:

The first one is a linear cut-off step where the average uniformity of all 64 pixels is calculated and compared to a threshold/cut-off criteria/value such that if the average uniformity fails the linear cut-off test, the chip is discarded, and

The second one is a minimum/maximum peak value measurement for each pixel.

At that point, if the result of the linear cut-off step is positive, i.e. if the average uniformity is acceptable, a compensation step is started where the peak uniformity, i.e. the maximum value among 64 pixel's uniformity, of each pixel is checked. For a 512Kbyte frame, the average cut off is preferably 2.3% and peak uniformity is preferably 10%.

This compensation step permits to prevent the occurrence of dramatic uniformity in a small number of pixels, causing errors in that pixel or significantly affecting the overall performance. For example, if the uniformity of 63 pixels ideally converges to 0, but the uniformity of only one pixel is more than 10, it is not an evenly distributed entropy source. In order to prevent this, the concept of compensation is cut-off with Peak Uniformity.

After the compensation step, either all the pixel of the chip have passed the peak uniformity and the chip is considered as a good sample and considered as acceptable or at least one pixel of the chip fails the peak uniformity and the chip is considered as a bad sample and considered as to be discarded.

The advantage of this method is that since each pixel has its own unique characteristics in terms of electronic feature side, the data extracted from each pixel show smaller fluctuation in uniformity than the block uniformity method. Therefore, when only small data length is available on FT process, pixel uniformity is even more effective than block uniformity in terms of yield/cost/accuracy.

While the embodiments have been described in conjunction with a number of embodiments, it is evident that many alternatives, modifications and variations would be or are apparent to those of ordinary skill in the applicable arts. Accordingly, this disclosure is intended to embrace all such alternatives, modifications, equivalents and variations that are within the scope of this disclosure. This for example particularly the case regarding the system embedding the chip as well as any type of hardware carrying out this method.