Entropy Estimation of Physically Unclonable Functions via Chow Parameters
Alexander Schaub, Olivier Rioul, Joseph, Joseph J. Boutros

TL;DR
This paper estimates the entropy of physically unclonable functions (PUFs) using Chow parameters, extending previous methods to larger systems and providing insights into their security properties.
Contribution
It introduces a novel approach leveraging Chow parameters to estimate PUF entropy for larger systems, up to n=10, improving upon prior estimations.
Findings
Shannon entropy of PUFs is close to the maximum entropy.
Entropy increases quadratically with the number of delay elements.
The method extends entropy estimation to larger PUFs beyond previous limits.
Abstract
A physically unclonable function (PUF) is an electronic circuit that produces an intrinsic identifier in response to a challenge. These identifiers depend on uncontrollable variations of the manufacturing process, which make them hard to predict or to replicate. Various security protocols leverage on such intrinsic randomness for authentification, cryptographic key generation, anti-counterfeiting, etc. Evaluating the entropy of PUFs (for all possible challenges) allows one to assess the security properties of such protocols. In this paper, we estimate the probability distribution of certain kinds of PUFs composed of delay elements. This is used to evaluate relevant R\'enyi entropies and determine how they increase with . Such a problem was known to have extremely high complexity (in the order of ) and previous entropy estimations were carried out up to . MakingâŚ
Click any figure to enlarge with its caption.
Figure 1| # PUFs | (bits) | |
|---|---|---|
| 1 | 2 | 1 |
| 2 | 4 | 2 |
| 3 | 14 | 3.8074⌠|
| 4 | 104 | 6.7004⌠|
| 5 | 1882 | 10.8781⌠|
| 6 | 94572 | 16.5291⌠|
| 7 | 15028134 | 23.8411⌠|
| 8 | 8378070864 | 32.9640⌠|
| 9 | 17561539552946 | 43.9974⌠|
| 10 | 144130531453121108 | 57.0001⌠|
| PUF Sample size | (bits) | |
|---|---|---|
| 1 | â | 1 |
| 2 | â | 2 |
| 3 | â | 3.6655⌠|
| 4 | â | 6.2516⌠|
| 5 | 10.0134 â 10.0156 | |
| 6 | 15.1903 â 15.1925 | |
| 7 | 21.9856 â 21.9879 | |
| 8 | 30.5628 â 30.5645 | |
| 9 | 41.0367 â 41.0384 | |
| 10 | 53.4737 â 53.4740 |
| PUF Sample size | (bits) | |
|---|---|---|
| 1 | â | 1 |
| 2 | â | 2 |
| 3 | â | 3.5462⌠|
| 4 | â | 5.7105⌠|
| 5 | 8.4551 â 8.4568 | |
| 6 | 11.5977 â 11.6023 | |
| 7 | 14.8819 â 14.89805 | |
| 8 | 18.5201 â 18.5753 | |
| 9 | 22.0309 â 22.4067 | |
| 10 | 25.9070 â 26.1983 |
| PUF Sample size | (bits) | |
|---|---|---|
| 1 | â | 1 |
| 2 | â | 2 |
| 3 | â | 3.2086⌠|
| 4 | â | 4.5850⌠|
| 5 | 6.1006 â 6.1008 | |
| 6 | 7.7352 â 7.7354 | |
| 7 | 9.4731 â 9.4735 | |
| 8 | 11.3020 â 11.3024 | |
| 9 | 13.2123 â 13.2132 | |
| 10 | 15.1899 â 15.1901 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Entropy Estimation of Physically Unclonable Functions
via Chow Parameters
Alexander Schaub ââââââOlivier Rioul
LTCI, Telecom Paris, Institut Polytechnique de Paris, France
ââ
Joseph J. Boutros
Texas A&M University, 23874 Doha, Qatar
Abstract
A physically unclonable function (PUF) is an electronic circuit that produces an intrinsic identifier in response to a challenge. These identifiers depend on uncontrollable variations of the manufacturing process, which make them hard to predict or to replicate. Various security protocols leverage on such intrinsic randomness for authentification, cryptographic key generation, anti-counterfeiting, etc. Evaluating the entropy of PUFs (for all possible challenges) allows one to assess the security properties of such protocols.
In this paper, we estimate the probability distribution of certain kinds of PUFs composed of delay elements. This is used to evaluate relevant RĂŠnyi entropies and determine how they increase with . Such a problem was known to have extremely high complexity (in the order of ) and previous entropy estimations were carried out up to . Making the link with the theory of Boolean threshold functions, we leverage on the representation by Chow parameters to estimate probability distributions up to . The resulting Shannon entropy of the PUF is close to the max-entropy, which is asymptotically quadratic in .
I Introduction
Physically unclonable functions, or PUFs, are electronic devices that are used to produce unique identifiers. Small variations of the manufacturing process are exploited so that any two devices, built according to the same description, will likely produce different identifiers. Moreover, since such process variations are intrinsically random, they cannot be controlled to replicate the behavior of another device, hence the name physically unclonable functions. PUFs find many applications: the identifier can be used to generate a unique cryptographic key, which cannot be easily extracted from the device; it can be recorded during manufacturing into a whitelist to prevent counterfeiting or overproduction; and it can also be employed in the implementation of challenge-response protocols at a low cost. This is especially valuable on devices where implementing asymmetric cryptography primitives is too computationally expensive.
There are several ways to build PUFs. SRAM-PUFs [1] exploit the states of SRAM cells after powering up, while ring-oscillator (RO) PUFs [2] exploit delay differences of signals in electronic circuits. In this paper, we analyze another delay PUF, called loop-PUF, first proposed in [3]. Our analysis will also be valid for the RO-sum PUF [4], which shares essentially the same mathematical model, as well as the arbiter PUF [5]. In the remainder of this paper, we will write PUF as a short-hand for loop-PUF, RO-sum PUF or arbiter PUF.
I-A Modelization and Notations
A PUF of size generates one identifier bit, or response bit, when queried with a challenge , a sequence of values or . The PUF is characterized by weights, denoted by that represent delay differences of the PUF circuit. As explained in [6], for each challenge , the response bit of the PUF of parameters is equal to .
The base for all logarithms in this paper is equal to , and all entropies are given in bits.
Due to manufacturing process variations, the weights are modeled as realizations of random variables . In [6], a Gaussian model was analyzed, where the Gaussian nature of the variables is justified by simulations of process variations in electronic circuits [7].
More generally, our analysis is valid for any whose components are i.i.d. continuous variables with symmetric densities about [math] (whose support contains [math]). The i.i.d. assumption is justified by the fact that delays are caused by âidenticalâ circuit elements that lie in different locations in the circuit and can, therefore, be considered independent. In particular, each is the difference between two delays caused by such âidenticalâ independent elements, which justifies the symmetry assumption. Simulations in Section V will be made in the Gaussian model, for which the weight distribution is centered isotropic.
I-B Problem Statement
The security of PUFs is related to RÊnyi entropies of various orders  [8].
The min-entropy is related to the maximum (worst-case) probability of successfully cloning a given PUF. Therefore, min-entropy should be as large as possible to ensure a given worst-case security level.
The collision entropy is related to the average probability that two randomly chosen PUFs have the same identifier. Therefore, should also be as large as possible to ensure a given average security level against collision.
The classical Shannonâs entropy is known to provide a resistance criterion against modeling attacksâwhich predict the response to a new challenge given previous responses to other challenges [9]. Again should be as large as possible.
The max-entropy is simply the logarithm of the total number of PUFs. upper bounds all the other entropies . Theoretically, it is possible to choose a non i.i.d. weight distribution such that all PUFs are equiprobable, yielding for every . In this case it is sufficient to count PUFs. In practice, however, due to the assumption of i.i.d. weights (typically Gaussian), the upper bound will not be attained. Therefore, it is important to derive a efficient method to estimate the various RÊnyi entropies.
Estimating the various RÊnyi entropies typically requires estimating the entire PUF probability distribution. However, because a PUF of size is determined by response bits, there can be as many as PUFs of size . The naive complexity increases very rapidly with , in the order of .
I-C Outline
In this paper, we link the analysis of PUFs to the theory of Boolean Threshold Functions (BTF) and build an algorithm that accurately estimates the PUF probability distribution and entropies up to order . Our algorithm relies on determining equivalent classes of PUFs with the same probability, and then estimating the probability within each class. The classes are determined using Chow parameters from BTF theory. The remainder of the paper is thus organized as follows. Section II recalls known results from the theory of BTFs which we adapt to PUFs. The key results on the equivalence classes are proved in Section III. Section IV describes the simulation algorithm that allows us in Section V to determine the PUF distributions and entropies up to order . Finally, Section VI concludes.
II The Chow Parameters of PUFs
Definition 1** (PUF)**
Let be such that for all , . The PUF of size and weight sequence is the function defined as
[TABLE]
where is the usual scalar product.
This definition coincides with so-called âself-dualâ BTFs of variables [10]. BTFs have been studied since the 1950âs as building blocks for Boolean circuits [11] and also find applications in machine learning [12]. Leveraging the correspondence between PUFs and BTFs, we adapt fundamental results from BTF theory to conveniently characterize PUFs.
II-A All PUFs are Attainable
Recall that in our framework, the PUF parameters are realizations of a random vector . Under this probabilistic model a PUF becomes a randomized mapping such that for any (deterministic) challenge .
Lemma 1
For every PUF , we have .
In other words, every PUF can be reached by a realization of weights with positive probability (even though one has ).
Proof:
By assumption all components of are i.i.d. with symmetric density of support containing [math]. Hence the support of the density of is an -dimensional manifold containing the origin in its interior. Let be fixed and let be the cone (scale-invariant set) of all such that . This cone has apex [math] and contains the intersection of all half-spaces where . Therefore, it is a -dimensional manifold which intersects with positive volume. Hence . â
II-B Chow Parameters Characterize PUFs
First introduced by Chow [13] and later studied by Winder [11] who gave them their name, the so-called Chow parameters uniquely define a Boolean threshold function. Their definition is especially simple for PUFs:
Definition 2** (Chow parameters)**
The Chow parameters of a PUF of size is defined as
[TABLE]
where the vector sum is carried out componentwise.
We remark that for , all Chow parameters are even integers. This is due to the fact that a sum of even number of elements must be even. More precisely,
[TABLE]
Theorem 1** (Chowâs theorem [13])**
Two PUFs with the same Chow parameters are identical.
For completeness, we give a new proof of Chowâs theorem rewritten in our PUF framework. Such proof turns out to be very simple.
Proof:
Let and be two PUFs with identical Chow parameters:
[TABLE]
Simplifying this expression by , we obtain
[TABLE]
which is equivalent to
[TABLE]
Taking the scalar product with , we get
[TABLE]
which implies whenever . Now we assumed that is never zero by Def. 1. Thus . â
II-C Consequence on the Max-Entropy
An upper bound on the max-entropy can be easily deduced from Chowâs theorem.
Corollary 1
There are no more than PUFs of size , i.e., the max-entropy of the PUF of size satisfies
[TABLE]
A more refined version, which can be rewritten as for , can be found in [14, Corollary 10.2]. The proof of (9) is again particularly simple for PUFs.
Proof:
The Chow parameters , , satisfy
[TABLE]
and similarly, . Since there are even integers between and , there can only be different values taken by the Chow parameters. The conclusion follows from Chowâs Theorem 1. â
A lower bound on is also easily found from the representation of Definition 1, as given by the following Proposition. The corresponding bound for the number of BTFs was first established independently by Smith [15] and Yajima et al. [16] in the 1960s.
Proposition 1
The max-entropy satisfies
[TABLE]
Proof:
Recall from Lemma 1 that every PUF can be reached by a realization of weights with positive probability. Hence it is sufficient to consider all for all in order to lower-bound the total number of PUFs.
Let a PUF of size . Applying some small perturbation on if necessary (without affecting ) we may always assume that all the () take distinct values.
Now let be such that is different from all the , and define . For any challenge , we have
[TABLE]
Depending on how many of the values of are smaller/larger than , we can construct different PUF functions of size . Hence each PUF of size gives rise to more than PUFs of size . Therefore, . The result follows by finite induction:
[TABLE]
â
More recently, Zuev [17] has shown that, asymptotically, . Therefore, for the max-entropy, we have that . As a result, instead of evaluating the probabilities of different PUFs, we will only have to evaluate about .
As apparent in the proof of Zuev [17, Theorem 1] although through different geometrical considerations on normal vectors of hyperplanes, we can further reduce the number of PUFs to be considered down by a factor of about . Section III will derive the exact compression factor using the equivalence classes on Chow parameters.
II-D Order and Sign Stability of Chow Parameters
An important property of the Chow parameters is that their share the same signs and relative order as the weights .
Lemma 2
Let be a PUF with weight , and be the corresponding Chow parameters. Then
- â˘
* and .*
- â˘
.
A similar result was shown by Chow in [13], although with another definition of Chow parameters. Again we give a simplified proof in the PUF framework.
Proof:
We first prove that , the other case being similar. Suppose that . Let (resp. ) be the set (resp. ). By definition,
[TABLE]
We show the existence of an injective mapping from to . Consider the one-to-one mapping defined by
[TABLE]
For any , , and
[TABLE]
Therefore, and . Hence, the bijection induces an injection from to . This implies that hence .
To prove the second part, assume that for . Let be a PUF given by , where is obtained from by dropping , for any , and . Say the Chow parameters of is . According to the first part of this lemma, we have . Now, expand the expression of as
[TABLE]
â
III Equivalence Classes and Chow Parameters
Since the are i.i.d. symmetric random variables, the joint probability distribution of the weights is invariant under permutations and sign changes. Therefore, all PUFs that can be obtained from one another by permuting or changing signs of their weights can be clustered together into equivalence classes of PUFs with the same probability .
We now establish several properties of these equivalence classes for PUFs, known as âself-dualâ classes [10] in the context of BTFs. Zuev [17] had already mentioned elements per class in a special case. Our generalization (Theorem 3) is mentionned in a different form in [18, § 3.1.2] for calculating the total number of BTFs, yet we couldnât find formal proofs published in the literature.
We give a formal definition of the equivalence classes by the action of the group
[TABLE]
where is the symmetric group of order . An element is determined by the permutation and the sign changes .
Proposition 2
For any and define such that
[TABLE]
This defines a group action of on , where the inner product in is defined by
[TABLE]
Proof:
is clearly a group with identity . For any and ,
[TABLE]
This shows that defines a group action of on . â
Thus we can say that the group acts on the PUFs of size , the action being defined as
[TABLE]
In keeping with Lemma 2, we now show that the group action is carried over to Chow parameters:
Theorem 2
Let a PUF of Chow parameters , and let . The Chow parameters of is .
Proof:
Let . For any challenge , we have that . Thus,
[TABLE]
â
Changing the signs of the weights or permuting them is reflected by the same operation on the Chow parameters. This allows us to compute the size of the equivalence classes:
Theorem 3
Let be a PUF with Chow parameters . Let be the number of Chow parameters equal to , and let the orbit of by , that is, the equivalence class containing . Then
[TABLE]
Proof:
By applying the well-known orbit-stabilizer theorem (see for instance [19, p. 89]), we have
[TABLE]
where is the stabilizer of . The size of the orbit of can therefore be deduced from the size of its stabilizer. Now the latter can be easily computed: Let such that . Since , we have and . The number of such is exactly . â
IV Monte-Carlo Algorithm
As seen in the introduction to the previous section, all PUFs in one equivalence class have the same probability. It follows that the probability of any particular PUF can be deduced from the probability of the class to which it belongs. Therefore, to determine the various entropies, it suffices to find a method that estimates the probabilities of the various equivalence classes.
In this section, we propose an algorithm that exploits a definition of a canonical PUF in any equivalence class in such a way that for given any PUF, it is trivial to determine the corresponding canonical PUF. As expected, only about probabilities need to be estimated, instead of approximatively .
Definition 3** (Canonical PUF)**
A canonical PUF of variables is a PUF whose Chow parameters satisfy
[TABLE]
The canonical form of a PUF is the canonical PUF belonging to the same class, i.e., where is such that is canonical.
This notion was first introduced by Winder [11] and is related to the concept of âprimeâ functions independently studied by Chow [13].
Proposition 3** (Unicity of the canonical PUF)**
*Two canonical PUFs in the same class are equal. *
Proof:
Since and are in the same equivalence class, their Chow parameters are identical up to sign changes and order. Since both are canonical, the signs and order are fixed. Their Chow parameters are thus identical and . â
Proposition 4
Let be a weight sequence of a PUF , and let such that satisfies
[TABLE]
Then is the canonical form of the PUF .
Proof:
Let us denote by (resp ) the Chow parameters of (resp ). The PUF obtained from weights is . From Lemma 2, the satisfy the same ordinal relations and have the same signs as the . Therefore, is a canonical PUF. â
These results allow us to efficiently estimate the PUF distribution by Monte-Carlo methods, as described in Algorithm 1. Such an algorithm can be used for any i.i.d. weight distribution with symmetric densities (not necessarily Gaussian).
V Entropies Estimation
In this section, we present the simulation results in the Gaussian case where the weights are i.i.d. . Exact values were already determined up to in [20].
V-A Estimating the Max-Entropy
According to Lemma 1, every PUF can be attained by some realization of weights. Therefore, the max-entropy of the PUF distribution is simply the logarithm of the total number of PUFs with weights. This number is equal to the total number of BTFs of variables and has been computed up to in [18, § 3.1.2], see Table I.
V-B Estimating the Shannon Entropy
For any PUF , let denote the equivalence class of with cardinality , its probability, the set of all PUFs and the quotient group induced by the action of the group . Then, letting , one has
[TABLE]
In other words, the Shannon entropy of the PUF distribution is simply the sum of the entropy of the equivalence classes and the average of their logarithmic size. The latter term can be estimated using the unbiased empirical mean, where a confidence interval can be determined using Studentâs t-distribution [21]. The former term, however, is an entropy, for which no unbiased estimator exists [22]. The NSB estimator [23] has a reduced bias and a low variance. However, because we generated much more PUFs than equivalence classes (by a factor of at least 100000), the plug-in estimator, based on the empirical frequency estimates, performs quite well: Its bias can be upper bounded as described in [22] and was found to be less than bit. The results are summarized in Table II.
V-C Estimating the Collision Entropy
The collision entropy was estimated using an unbiased estimator adapted from [24, § 1.4.2]. Let be the number of PUF samples that belong to the equivalence class of among a number of Poisson-distributed PUFs with parameter , and . We can compute
[TABLE]
where we used the fact that from [24, § 2.2]. It follows that
[TABLE]
is an unbiased estimator for the power-sum . As can be also checked, the variance of this estimator admits the same upper bound as the one described in [24, § 1.4.2]. This allows us to determine confidence intervals for the collision entropy as shown in Table III.
V-D Estimating the Min-Entropy
In order to determine the min-entropy of the PUF distribution, one needs to estimate the probability of the most likely PUF. Our experiments, as well as those of Delvaux et al. [25], strongly suggest that for a Gaussian distribution of the weights, the most likely PUFs are the PUFs corresponding to the Boolean functions and , .
The maximum likelihood estimator of that probability is simply the sample frequency, which is an unbiased estimator. A confidence interval for this estimator can be obtained using the Wilson score interval [26], which yields a confidence interval for the min-entropy .
Because we have already determined that there are exactly PUFs in the equivalence class of the most likely PUF, we only need to estimate a confidence interval on the sample frequency of the equivalence class. Once such an interval was obtained, for instance , then the confidence interval for the min-entropy is given by
[TABLE]
The confidence intervals of the min-entropy are presented in Table IV.
The results of the simulation, up to , are presented in Figure 1. The results show that the Shannon entropy is close to the max-entropy, which as seen in Section II is asymptotically equivalent to as increases.
VI Conclusions and perspectives
While it had been previously shown [6] that the entropy of the loop-PUF of elements could exceed , the exact values were only known for very small values of . Making the link with BTF theory using Chow parameters, we have extended these results to provide accurate approximations up to . Our results suggest that the entropy of the loop-PUF might be quadratic in : This would be a very positive result for circuit designers, since it implies that the PUF has a very good resistance to machine learning attacks. However, because the min-entropy and collision entropy are much smaller (on the order of ) the resistance to cloning may not be as high as expected.
Two interesting theoretical aspects of the PUF entropy are still open: First, to what extent does the entropy of the PUF stay close to the max-entropy for larger values of ? Second, is it possible to obtain a quasi-quadratic entropy in when choosing a small subset of all possible challenges? The latter point is of great practical interest since it would reduce the time required to obtain the PUF identifier while maintaining a high resistance to machine learning attacks.
For values of larger than , our method seems to become too costly in space and time to produce accurate estimates of the PUF probability distributions under reasonable conditions. One could perhaps have recourse to entropy estimation methods that dispense with learning the distribution itself, such as the NSB estimation [23]. This could be used to check the predicted trend of the PUF entropy for increasing .
Acknowledgment
The authors would like to thank Prof. Gadiel Seroussi, who first suggested a possible link between our problem and BTF theory at the LAWCIâ18 conference in Campinas, Brazil.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] D. E. Holcomb, W. P. Burleson, and K. Fu, âPower-up SRAM state as an identifying fingerprint and source of true random numbers,â IEEE Transactions on Computers , vol. 58, no. 9, pp. 1198â1210, 2009.
- 2[2] G. E. Suh and S. Devadas, âPhysical unclonable functions for device authentication and secret key generation,â in 44th ACM/IEEE Design Automation Conference , 2007, pp. 9â14.
- 3[3] Z. Cherif, J.-L. Danger, S. Guilley, and L. Bossuet, âAn easy-to-design PUF based on a single oscillator: The Loop PUF,â in 15th Euromicro Conference on Digital System Design (DSD) . IEEE, 2012, pp. 156â162.
- 4[4] M.-D. M. Yu and S. Devadas, âRecombination of physical unclonable functions,â in 35th Annual GOMAC Tech Conference , 2010.
- 5[5] B. Gassend, D. Clarke, M. Van Dijk, and S. Devadas, âDelay-based circuit authentication and applications,â in Proceedings of the 2003 ACM Symposium on Applied Computing . ACM, 2003, pp. 294â301.
- 6[6] O. Rioul, P. SolĂŠ, S. Guilley, and J.-L. Danger, âOn the entropy of physically unclonable functions,â in IEEE International Symposium on Information Theory (ISIT) , July 2016, pp. 2928â2932.
- 7[7] H. Chang and S. S. Sapatnekar, âStatistical timing analysis considering spatial correlations using a single PERT-like traversal,â in Proceedings of the 2003 IEEE/ACM International Conference on Computer-Aided Design . IEEE Computer Society, 2003, p. 621.
- 8[8] A. RĂŠnyi, âOn measures of entropy and information,â in Proceedings of the Fourth Berkeley Symposium on Mathematical Statistics and Probability . Berkeley: University of California Press, 1961.
