{"id":1224,"date":"2020-09-15T09:21:31","date_gmt":"2020-09-15T09:21:31","guid":{"rendered":"https:\/\/blog.pufsecurity.com\/?p=1224"},"modified":"2023-11-30T03:07:59","modified_gmt":"2023-11-30T03:07:59","slug":"puf-series-6-four-angles-for-examining-puf","status":"publish","type":"dlp_document","link":"https:\/\/www.pufsecurity.com\/zh-hans\/document\/puf-series-6-four-angles-for-examining-puf\/","title":{"rendered":"PUF Series 6: The Four Angles of Examining PUF"},"content":{"rendered":"\n<p class=\"has-text-align-right\" style=\"font-size:16px\">&nbsp;<\/p>\n\n\n\n<p style=\"font-size:16px\">The security of&nbsp;AIoT&nbsp;devices has become increasingly important. In order to&nbsp;ensure that&nbsp;the system\u2019s security functions&nbsp;are&nbsp;working&nbsp;effectively and protecting&nbsp;every node&nbsp;and edge device&nbsp;from information security risks, it is important to generate a unique root of trust in the security system rooted in the chip. In addition to the traditional pre-injection key method, the use of&nbsp;a&nbsp;natural root key, PUF (Physical Unclonable Function),&nbsp;is the latest advanced solution that&nbsp;provides&nbsp;a higher level of protection&nbsp;in&nbsp;the production process and chip security.&nbsp;The&nbsp;security&nbsp;and reliability,&nbsp;as well as the&nbsp;design planning and mass production of the overall security&nbsp;module&nbsp;need to be taken into consideration&nbsp;when&nbsp;integrating&nbsp;PUF&nbsp;into&nbsp;chip&nbsp;designs. In&nbsp;this article, we will&nbsp;use&nbsp;NeoPUF&nbsp;as an example to&nbsp;discuss&nbsp;the&nbsp;issues&nbsp;that&nbsp;might&nbsp;be&nbsp;encountered&nbsp;when using PUF.&nbsp;&nbsp;<\/p>\n\n\n\n<p style=\"font-size:18px\"><strong>I. Randomness <\/strong><\/p>\n\n\n\n<p style=\"font-size:16px\">NeoPUF&nbsp;creates&nbsp;entropy in two parallel transistors&nbsp;based on&nbsp;quantum tunneling&nbsp;mechanism&nbsp;(Refer to&nbsp;PUFSeries&nbsp;3).&nbsp;The concept is&nbsp;like&nbsp;flipping a coin to determine&nbsp;the chances of heads and tails.&nbsp;The high voltage will be applied to&nbsp;NeoPUF&nbsp;until one of the oxides&nbsp;begins to have&nbsp;a&nbsp;tunneling current&nbsp;which determines&nbsp;an output value of either 0 or 1.&nbsp;Since each bit is an effective static entropy,&nbsp;NeoPUF&nbsp;can easily&nbsp;achieve&nbsp;an entropy pool of any capacity.&nbsp;We&nbsp;could exam the randomness of&nbsp;NeoPUF&nbsp;by&nbsp;using the&nbsp;min-entropy analysis&nbsp;from&nbsp;NIST 800-90B; its value&nbsp;is&nbsp;0.988 and perfectly fits the IID characteristics. On the other hand,&nbsp;SRAM&nbsp;PUF often has&nbsp;process dependency problems, such as even-odd bit lines, even-odd word lines, or special dependencies (WL\/BL Even-Odd or Pattern effect), which are unavoidable in&nbsp;the&nbsp;semiconductor manufacturing processes.&nbsp;SRAM&nbsp;PUFs also requires&nbsp;additional pre-screening and post-processing procedures for&nbsp;error&nbsp;correction.&nbsp;&nbsp;<\/p>\n\n\n\n<p style=\"font-size:16px\">How&nbsp;do you&nbsp;judge whether a PUF is truly&nbsp;random? Is it affected by sample size? Figure 1&nbsp;illustrates&nbsp;the relationship between&nbsp;Hamming Weight&nbsp;(HW)&nbsp;and key length. The area between the blue and red curves represents a reasonable HW (3sigma confidence level) distribution.&nbsp;Using&nbsp;a 128-bit key length as an example,&nbsp;there is a 99.7% chance that the samples will obtain a hamming distance of 37% to 63%.&nbsp;<\/p>\n\n\n\n<p style=\"font-size:16px\">Based on this theory,&nbsp;examining&nbsp;PUFs&nbsp;from a different perspective will&nbsp;lead to&nbsp;an interesting question&nbsp;given that&nbsp;a 128-bit PUF value is arbitrarily obtained, can we&nbsp;determine&nbsp;whether the PUF is truly random or non-random based on the Hamming weight result? The answer is hard to judge. Obviously, the PUF length&nbsp;is too short&nbsp;and the entropy pool&nbsp;is&nbsp;too small. Therefore,&nbsp;it impossible to obtain effective min-entropy analysis&nbsp;and&nbsp;effectively evaluate whether the sequence is truly random or not.&nbsp;In contrast,&nbsp;if the PUF entropy pool of each chip is 2048 bits or higher (such as&nbsp;NeoPUF), the&nbsp;randomness can be easily evaluated by statistical sampling methods,&nbsp;allowing it to&nbsp;be easily implemented in the chip.&nbsp;&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.pufsecurity.com\/wp-content\/uploads\/2020\/12\/Hamming-Height-1024x576-1.png\" alt=\"\" class=\"wp-image-1929\" srcset=\"https:\/\/www.pufsecurity.com\/wp-content\/uploads\/2020\/12\/Hamming-Height-1024x576-1.png 1024w, https:\/\/www.pufsecurity.com\/wp-content\/uploads\/2020\/12\/Hamming-Height-1024x576-1-300x169.png 300w, https:\/\/www.pufsecurity.com\/wp-content\/uploads\/2020\/12\/Hamming-Height-1024x576-1-768x432.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure.1 The Relationship between Hamming Weight (HW) and the Key Length<\/figcaption><\/figure><\/div>\n\n\n<p style=\"font-size:18px\"><strong>II. True Hardware <\/strong><\/p>\n\n\n\n<p style=\"font-size:16px\">A&nbsp;true&nbsp;hardware root of trust is preferably created from pure hardware. If it&nbsp;uses&nbsp;a PUF that requires software assistance (such as SRAM PUF), there are several hidden caveats:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Test cost: PUFs that require&nbsp;additional&nbsp;software and&nbsp;firmware&nbsp;support&nbsp;usually&nbsp;need&nbsp;more test time. The general quality test is conducted by the JTAG channel,&nbsp;but&nbsp;software&nbsp;and firmware&nbsp;cannot be&nbsp;activated&nbsp;at this point.&nbsp;You need to wait for the CPU to&nbsp;assist in&nbsp;completing&nbsp;the test which will increase the testing cost and lower the throughput.&nbsp;&nbsp;<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Security vulnerabilities: the security boundary includes a processor (CPU), firmware, and software. These three are the most difficult components for a security chip to handle and&nbsp;have&nbsp;many&nbsp;vulnerabilities&nbsp;for side channel attacks.&nbsp;&nbsp;<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Design flexibility:&nbsp;error correction and&nbsp;voting&nbsp;combination circuit&nbsp;purely&nbsp;operated by&nbsp;hardware design&nbsp;is&nbsp;very common. However, what if the error rate&nbsp;exceeds expectations and cannot be repaired&nbsp;in the production process or market application? It will lower production yield and cause subsequent return problems.&nbsp;&nbsp;<\/li>\n<\/ol>\n\n\n\n<p style=\"font-size:16px\">For&nbsp;NeoPUF, which is&nbsp;generated by pure hardware, both the entropy source and the original key can be prepared in micro-sec. It does not require additional software support,&nbsp;thereby reducing test time and system security risks, as well as making it relatively easy to design into chips.&nbsp;&nbsp;<\/p>\n\n\n\n<p style=\"font-size:18px\"><strong>III. Security <\/strong><\/p>\n\n\n\n<p style=\"font-size:16px\">Complete security must fully consider&nbsp;the system\u2019s&nbsp;ability to resist&nbsp;invasive, semi-invasive, and non-invasive attacks during the power-on and power-off&nbsp;stage.&nbsp;<\/p>\n\n\n\n<p style=\"font-size:16px\">Power-Off: The principle of generating&nbsp;NeoPUF&nbsp;is based on creating an entropy source caused by a current tunneling through the gate oxide. In other words, there is no actual key information stored&nbsp;and therefor&nbsp;no physical traces. Of course, the design layout including the arrangement of the element array and the related circuit require a complete&nbsp;design&nbsp;set to ensure the&nbsp;reliability&nbsp;of the overall&nbsp;security&nbsp;mechanism.&nbsp;&nbsp;<\/p>\n\n\n\n<p style=\"font-size:16px\">Power-on:&nbsp;During the key generation process of the entire security module, it is necessary to strengthen the electrical protection when reading PUF value.&nbsp;Hackers&nbsp;may&nbsp;attack the system by targeting or using&nbsp;data IO, control signal, and power consumption analysis. That is&nbsp;why a complete high-standard security design should include the&nbsp;features&nbsp;and&nbsp;function designs&nbsp;as shown in&nbsp;Table 1.&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-center\" style=\"font-size:16px\"><strong>Table&nbsp;1.&nbsp;The&nbsp;Anti-Tampering Features of&nbsp;NeoPUF&nbsp;<\/strong>&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"427\" src=\"https:\/\/www.pufsecurity.com\/wp-content\/uploads\/2020\/12\/2-1.png\" alt=\"\" class=\"wp-image-1928\" srcset=\"https:\/\/www.pufsecurity.com\/wp-content\/uploads\/2020\/12\/2-1.png 847w, https:\/\/www.pufsecurity.com\/wp-content\/uploads\/2020\/12\/2-1-300x151.png 300w, https:\/\/www.pufsecurity.com\/wp-content\/uploads\/2020\/12\/2-1-768x387.png 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/figure><\/div>\n\n\n<p style=\"font-size:18px\"><strong>IV. Mass Production<\/strong><\/p>\n\n\n\n<p style=\"font-size:16px\">\u201cSecurity\u201d should not only be regarded as an&nbsp;\u201cadded value\u201d.&nbsp;Even if&nbsp;the security functions only&nbsp;occupy&nbsp;a small area in chip deployment (&lt;0.1mm2), its&nbsp;yield performance and life cycle are also&nbsp;important. Therefore, PUF must be able to ensure that the bit error rate is greatly reduced&nbsp;in&nbsp;the&nbsp;pre-screening&nbsp;process&nbsp;during&nbsp;the mass production&nbsp;stage. Furthermore,&nbsp;the test process must ensure that the&nbsp;range&nbsp;of the&nbsp;bit error rate&nbsp;under various temperature, environment, and process variations are within the capability of the error correction circuit. It is necessary to predict the&nbsp;changes of&nbsp;the&nbsp;bit error rate of the entire component in the product life cycle. A PUF-based security design should not only be a&nbsp;\u201cfunction\u201d,&nbsp;but also&nbsp;a complete product&nbsp;that&nbsp;promises&nbsp;yield and reliability so that&nbsp;we could say it meets the qualification to proceed to the&nbsp;mass production.&nbsp;&nbsp;<\/p>\n\n\n\n<p style=\"font-size:16px\">In conclusion, the complete security&nbsp;designs&nbsp;of&nbsp;eMemory\u2019s&nbsp;NeoFuse&nbsp;and&nbsp;NeoPUF&nbsp;have&nbsp;passed third-party&nbsp;security&nbsp;certifications, which also ensures&nbsp;that&nbsp;clients&nbsp;can&nbsp;enjoy high&nbsp;security&nbsp;performance and&nbsp;yield&nbsp;during mass production. We believe that only when clients&nbsp;really apply the complete security design to&nbsp;mass-production and product applications&nbsp;can there be a win-win situation for IP suppliers and SoC manufacturers.&nbsp;&nbsp;<\/p>\n\n\n\n<p style=\"font-size:18px\"><strong> V. Reference Materials and Sources <\/strong><\/p>\n\n\n\n<p style=\"font-size:16px\">[1]\u00a0<a href=\"https:\/\/www.pufsecurity.com\/document\/sram-puf-is-increasingly-vulnerable\/\" target=\"_blank\" rel=\"noopener\" title=\"\">PUF Series 1: SRAM PUF is Increasingly Vulnerable<\/a>\u00a0<\/p>\n\n\n\n<p style=\"font-size:16px\">[2]\u00a0<a href=\"https:\/\/www.pufsecurity.com\/document\/neopuf-a-reliable-and-non-traceable-quantum-tunneling-puf\/\" target=\"_blank\" rel=\"noopener\" title=\"\">PUF Series 2: NeoPUF, A Reliable and Non-traceable Quantum Tunneling PUF<\/a>\u00a0<\/p>\n\n\n\n<p style=\"font-size:16px\">[3]&nbsp;<a href=\"https:\/\/blog.pufsecurity.com\/2020\/06\/16\/puf-series-3-the-quantum-tunneling-mechanism-of-neopuf\/\" target=\"_blank\" rel=\"noreferrer noopener\">PUF Series 3: The Quantum Tunneling Mechanism of NeoPUF<\/a>&nbsp;<\/p>\n\n\n\n<p style=\"font-size:16px\">[4]\u00a0<a href=\"https:\/\/www.pufsecurity.com\/document\/puf-series-4%ef%bc%9asoftware-post-processing-makes-sram-puf-vulnerable-as-rot\/\" target=\"_blank\" rel=\"noopener\" title=\"\">PUF Series 4: Why a True Hardware PUF is more Reliable as RooT of Trust<\/a>\u00a0<\/p>\n\n\n\n<p style=\"font-size:16px\">[5]\u00a0<a href=\"https:\/\/www.pufsecurity.com\/document\/pufseries-5-puf-based-root-of-trust-pufrt-for-high-security-ai-application\/\" target=\"_blank\" rel=\"noopener\" title=\"\">PUF Series 5: PUF based Root of Trust PUFrt for High-Security AI Application<\/a>\u00a0<\/p>\n\n\n\n<p style=\"font-size:16px\">[6]\u00a0Wu, M. Y., Yang, T. H., Chen, L. C., Lin, C. C., Hu, H. C.,\u00a0Su, F. Y., &#8230; &amp; Yang, E. C. S. (2018, February). A PUF scheme using competing oxide rupture with bit-error rate approaching zero. In 2018 IEEE International Solid-State Circuits Conference-(ISSCC) (pp. 130-132). IEEE.\u00a0<\/p>\n\n\n\n<p style=\"font-size:16px\">For more information of&nbsp;PUFsecurity, please visit&nbsp;<a href=\"http:\/\/www.pufsecurity.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">www.pufsecurity.com<\/a>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; The security of&nbsp;AIoT&nbsp;devices has becom [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":1850,"template":"","doc_tags":[203],"class_list":["post-1224","dlp_document","type-dlp_document","status-publish","has-post-thumbnail","hentry","doc_categories-article","doc_tags-puf"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.pufsecurity.com\/zh-hans\/wp-json\/wp\/v2\/dlp_document\/1224"}],"collection":[{"href":"https:\/\/www.pufsecurity.com\/zh-hans\/wp-json\/wp\/v2\/dlp_document"}],"about":[{"href":"https:\/\/www.pufsecurity.com\/zh-hans\/wp-json\/wp\/v2\/types\/dlp_document"}],"author":[{"embeddable":true,"href":"https:\/\/www.pufsecurity.com\/zh-hans\/wp-json\/wp\/v2\/users\/9"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pufsecurity.com\/zh-hans\/wp-json\/wp\/v2\/media\/1850"}],"wp:attachment":[{"href":"https:\/\/www.pufsecurity.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=1224"}],"wp:term":[{"taxonomy":"doc_tags","embeddable":true,"href":"https:\/\/www.pufsecurity.com\/zh-hans\/wp-json\/wp\/v2\/doc_tags?post=1224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}