This disclosure relates generally to hardware verification, and in particular but not exclusively, to binding authentication to protect against tampering and subversion by substitution.
A physical unclonable function or ‘PUF’ is a physical entity capable of generating an output (‘response’) to a given input (‘challenge’) that is unique to that particular PUF such that it can be regarded as a ‘fingerprint.’ This capacity is typically arrived at by devising the PUF in such a way that its output depends upon features that differ randomly in each device due to minor manufacturing variations. Thus a PUF cannot be readily replicated with the correct fingerprint, even with full knowledge of its circuit layout.
Typical PUF-based protocols fall into two broad categories: (1) a simple challenge-response provisioning process like the one described below in Protocol 1, or (2) cryptographic augmentation of a device's PUF response such that the raw PUF output never leaves the device. These approaches may require external entities to handle auxiliary information (e.g., challenges and their associated helper data) that is unsupported or superfluous in existing public key cryptography standards, and/or involve a hardware device authenticating to a challenge applied during an initial enrollment process, and/or are premised on the hardware device always recovering essentially the same response to a given challenge.
One challenge facing PUF-based systems is side channel attacks, which seek to observe and analyze auxiliary environmental variables to deduce information about sensitive information, such as cryptographic key material or the PUF output.
A reconfigurable PUF or ‘RPUF’ is a PUF that can be altered to generate a new set of responses to the same challenges. A PUF's set of responses and challenges is often called a ‘mapping,’ and the new mapping after reconfiguration of a RPUF is preferably fully different from and unrelated to the RPUF's other challenge-response mappings. RPUFs can be reversibly configurable such that after reconfiguration the RPUF can be reconfigured again to a prior configuration, or irreversibly configurable such that it is not possible to restore a prior challenge-response mapping. Logically-reconfigurable PUFs (‘L-RPUFs’) utilize a programmable feature to change configurations and are typically reversible, and phsyically-reconfigurable PUFs (‘P-RPUFs’) are reconfigured by imposing a physical change and are typically irreversibly configurable.
A system and device including reconfigurable physical unclonable functions (‘RPUFs’) and threshold cryptography uses cryptographic and physical means of security. In one embodiment, a plurality of reconfigurable physical unclonable functions (‘RPUFs’) and a memory are connected to a processor that is configured to derive information associating the RPUFs with cryptographic shares of a sensitive value, store such information in the memory, and reconfigure a RPUF upon powering up of the device such that information stored in the memory is not valid for the reconfigured RPUF. One or more redundant RPUFs may be used in place of one PUF. When the system or device is powered up, one of the RPUFs is selected and transitioned from its previous configuration to a new configuration, invalidating any information associating the RPUF with shares of a sensitive value based on the old state of that RPUF. An RPUF that was not reconfigured is then used to recover the reconfigured RPUF's shares using its stored information.
Further embodiments provide for shares to be held by multiple PUFs so that each PUF is mapped to less than all shares. These embodiments can provide power failure event resiliency, in contrast to an approach where individual PUFs are associated with all shares. (t, n) threshold sharing can be tailored so t is less than n (e.g., by 1, 2, 3, etc.) to enable tolerance for benign power events.
Alternately, one RPUF may be used for each share of the sensitive value. An RPUF is selected and transitioned from its previous configuration to a new configuration when the device is powered up, invalidating any information associating the RPUF with a share of a sensitive value based on the old state of that RPUF. RPUFs that were not reconfigured can then be used to generate a replacement share for the reconfigured RPUF's invalidated share using its stored information.
In another embodiment based on a single PUF queried with multiple challenges (to generate different shares of the sensitive value), an RPUF is used with one parameter to recover values and a different parameter to store values, with the values not being repeated in ensuing share-refresh cycles. In another embodiment, a pair of RPUFs is used instead, with one RPUF used to recover values and another RPUF used to store values.
According to one aspect, an authenticatable device implementing a threshold sharing of a hardware based identity that comprises a (t, n) sharing of a sensitive value is provided. The authenticatable device comprises n reconfigurable physical unclonable functions (‘RPUFs’) associated with at least one respective share of the threshold sharing of the sensitive value, a memory, and at least one processor configured to: invalidate any shares of a respective RPUF based on reconfiguration of the respective RPUF, reconfigure, randomly, one of the n RPUFs responsive to power-up of the device, and generate information derived from at least t valid RPUF shares to enable one or more cryptographic operations that require the sensitive value without generating the sensitive value in memory.
According to one aspect, an authenticatable device implementing a threshold sharing of a hardware based identity that comprises a (t, n) sharing of a sensitive value is provided. The authenticatable device comprises n reconfigurable physical unclonable functions (‘RPUFs’) associated with at least one respective share of the threshold sharing of the sensitive value, a memory, and at least one processor configured to: reconfigure, randomly, one of the n RPUFs after power-up of the device invalidating any share of the reconfigured RPUF, and perform one or more cryptographic operations that require the sensitive value without generating the sensitive value, utilizing information derived from at least t valid RPUF shares.
According to one embodiment, the at least one processor is further configured to identify invalid shares. According to one embodiment, the at least one processor is further configured to construct a valid replacement share for a reconfigured RPUF, based on at least t valid RPUF shares. According to one embodiment, the at least one processor is configured to store a challenge and helper value for the valid replacement share. According to one embodiment, the at least one processor is configured to enroll the n RPUFs in the (t, n) sharing of the sensitive value without generating the sensitive value in the memory. According to one embodiment, the n RPUFs are associated with the at least one respective share of the sensitive value by an associated challenge and helper pair.
According to one embodiment, the at least one processor is configured to enroll the n RPUFs in the (t, n) sharing of the sensitive value so that t valid shares are required to reconstruct the sensitive value where t is less than n. According to one embodiment, the threshold sharing is constructed where n−t is at least two. According to one embodiment, the n RPUFs are associated with multiple shares. According to one embodiment, the at least one processor is configured to trigger a share refresh responsive to enabling a request to execute the one or more cryptographic operations.
According to one embodiment, the at least one processor is configured to generate sub-shares associated with the valid RPUF shares. According to one embodiment, the at least one processors is configured to blind the sub-shares. According to one embodiment, the at least one processor is configured to generate threshold shares of zero values to blind the sub-shares.
According to one aspect, a computer implemented method for threshold sharing of a hardware based identity comprising a (t, n) sharing of a sensitive value on an authentication device, the method comprising: randomly reconfiguring, by at least one processor, one of n reconfigurable physical unclonable functions (‘RPUFs’) responsive to power-up of the device invalidating any share of the reconfigured RPUF, isssuing, by the at least one processor, challenges to at least t RPUFs to recover respective shares of the threshold sharing of the sensitive value, and enabling, by the at least one processor, one or more cryptographic operations that require the sensitive value without generating the sensitive value in memory utilizing information derived from at least t valid RPUF shares.
According to one embodiment, the method further comprises combining a threshold operation on multiple shares to generate an output that enables the one or more cryptographic operations. According to one embodiment, the method further comprises communicating the output for execution of the one or more cryptographic operations.
According to one embodiment, the method further comprises identifying, by the at least one processor, invalid shares. According to one embodiment, the method further comprises constructing, by the at least one processor, a valid replacement share for an invalid share based on at least t valid RPUF shares. According to one embodiment, the method further comprises storing, by the at least one processor, a challenge and helper pair for the valid replacement share.
According to one embodiment, the method further comprises enrolling the n RPUFs in the (t, n) sharing of the sensitive value without generating the sensitive value in the memory. According to one embodiment, the method further comprises associating, by the at least one processor, the n RPUFs with at least one respective share of the sensitive value with an associated challenge and helper pair. According to one embodiment, the method further comprises triggering, by the at least one processor, a share refresh responsive to enabling a request to execute the one or more cryptographic operations.
According to one aspect, an authenticatable device implementing a threshold sharing of a hardware based identity that comprises a (t, n) sharing of a sensitive value, the authenticatable device comprises n reconfigurable hardware identity circuits for generating respective hardware specific output based on a respective input challenge, the n reconfigurable hardware identity circuits associated with the at least one respective share of the threshold sharing of the sensitive value, a memory, and at least one processor configured to: reconfigure, randomly, one of the n hardware identity circuits after power-up of the device invalidating any share of the reconfigured hardware identity circuit, and perform one or more cryptographic operations that require the sensitive value without generating the sensitive value, utilizing information derived from at least t valid hardware identity circuit shares. According to one embodiment, the n hardware identity circuits comprise reconfigurable physical unclonable functions (‘RPUFs’).
According to some embodiments, compliance with share expiration protocols can be enforced through the use of reconfigurable PUFs (RPUFs). In one embodiment of the invention, a device's PUF root of trust's challenge-response behavior is internalized and used to generate shares of a sensitive value (e.g., a private key) over which shares the device can execute arbitrary threshold cryptographic operations (e.g., decryption, digital signature generation, zero knowledge proofs). Preferably the threshold operations can be executed without ever generating, reconstructing, or storing the sensitive value. In further embodiments, the shares are periodically refreshed (updated) and threshold share operations may be staggered such that one share is stored as a challenge-helper pair, and thus only one share exists in volatile memory at any given time. In one embodiment, multiple PUFs are used to generate multiple corresponding shares; in another embodiment, a single PUF is queried multiple times with different challenges to generate multiple corresponding shares. RPUFs can be used in place of ordinary PUFs to increase the security of this scheme.
Aspects of the disclosure are described with reference to the example of an embodiment utilizing elliptic curve cryptography (including the associated terminology and conventions), but the described embodiments and approaches apply equally to various other cryptographic schemes such as ones employing different problems like discrete logarithm or factoring (in which regard the teachings of U.S. Pat. No. 8,918,647 are incorporated here by reference), and the disclosure is not limited by the various additional features described herein that may be employed with or by virtue of providing examples of implementation.
The following detailed description sets forth details of various embodiments concerning any one or more of the following: 1) threshold cryptography, wherein a sensitive value is divided into shares; 2) the use of PUFs with cryptographic shares; 3) the periodic adoption of new (‘refreshed’ or ‘updated’) shares; 4) dynamic membership (i.e., removal or addition) of shares in threshold cryptography; and 5) embodiments employing reconfigurable PUFs to enforce the invalidation of shares.
Threshold cryptography involves distributing cryptographic operations among a set of participants such that operations use the collaboration of a quorum of participants. In some conventional approaches, trusted dealer generates a master asymmetric key pair
pub, ppriv
for the set of participants pi∈
, |
|=n. The private key is then split among the n participants, with each participant receiving a share of
priv. This constitutes a (t, n) sharing of
priv, such that a quorum of at least t participants combine their private shares in order to perform operations using the master private key.
While other secret schemes can be used, an example will be described employing Shamir's polynomial interpolation construction, which can be used for sharing a secret. A polynomial f(·) of degree t−1 is defined, where the coefficients ci remain private: f(x)=c0+c1x+ . . . +ct−1x7−1 mod q. Without knowledge of the coefficients, f(·) can be evaluated when at least t points of f(·) are known by applying Lagrange's polynomial interpolation approach. A private key priv can be set as the free coefficient c0 (i.e., f(0)=
priv), and a set of shares of the private key distributed to the participants. To split the private key
priv among n participants p1∈
1≤i≤n, the dealer computes pi's (public, private) key pair as
ri·G mod q, ri
such that ri=f(i), i≠0. Here, G∈E/
p is a base point of order q for elliptic curve E, and (P)x (resp. (P)y) refers to the x (resp. y) coordinate of point P on curve E. (The modulus that operations are performed under may be omitted where it is apparent from context). The public keys are made available to all participants, while the private keys are distributed securely to each participant (e.g., using the device's public key and ElGamal encryption). All participants are also given access to (cj·G)0≤j≤t−1, which allows them to verify their secret key and the public keys of other participants by checking that:
This constitutes a (t, n) verifiable secret sharing (VSS) of the private key priv, as participants are able to verify the legitimacy of their share with respect to a globally-known public key.
Now, given access to any t shares {(i, ri)}1≤i≤t, where f(·) has degree t−1 and t≤n, the shares (i, ri) may be combined through Lagrange polynomial interpolation to evaluate f(x):
This allows any quorum of t participants pi∈⊆
, |
⊕=t≤n to combine their shares {(i, ri)}1≤i≤t and recover the polynomial's free coefficient c0=f(0), which is the master asymmetric private key
priv. Although the Lagrange form is used for the interpolating polynomial, other approaches (e.g., using a monomial basis or the Newton form) may be substituted. Similarly, although the exemplary construction evaluates f(·) rather than recover the coefficients, alternatively the latter may be accomplished using a Vandermonde matrix representation and solving the system of linear equations.
Although elliptic curve cryptography may be used, it will be readily apparent that various other cryptographic frameworks (e.g., EIGamal, RSA, NTRU, etc.) could be employed instead. A number of threshold cryptographic operations can be carried out within this framework, using a variety of methods such as threshold encryption, decryption, and signing, threshold zero knowledge proofs of knowledge, threshold signcryption, and distributed key generation. Other elliptic curve mechanisms such as Massey-Omura, Diffie-Hellman, Menezes-Vanstone, Koyama-Maurer-Okamoto-Vanstone, Ertaul, Demytko, etc. could likewise be employed.
An entity in possession of a device's enrollment information {pipub, ci, helperi} can thus encrypt a message nt such that the target device is able to recover it, using a method such as ElGamal encryption:
p uniformly at random
Then, if all participants of a group ⊆
, where |
|≥t, |
|=n and t≤n, wish to decrypt an encryption (yG, m+(yrG)x) of a message m∈[1, p−1] using group private key r, threshold ElGamal decryption (e.g., per Ertaul) can be used as follows:
Likewise, a group ⊆
where |
|≥t, |
|=n and t≤n, can use a threshold signature scheme to generate a signature representing all of
for message m as follows:
If constructed properly, this equation will hold as:
which computes the group signature ((R)y mod q, S) over m.
e
h(m,(S·G+r·−pub)y mod q)
The participants of a group ⊆
where
|≥t, |
|=n and t≤n can also collaborate to demonstrate possession of a shared private key
priv=r∈[1, q−1] using a threshold Zero Knowledge Proof of Knowledge (e.g., Sardar et al., “Zero Knowledge Proof in Secret Sharing Scheme Using Elliptic Curve Cryptography,” Global Trends in Computing and Communication Systems, volume 269 of Communications in Computer and Information Science, pages 220-226, Springer, 2012) as follows:
Each participant pi∈ uses their secret share ri=f(i) and a random nonce integer yi to calculate their individual proof (Bi, Mi) of the shared secret r.
B
i
=y
i
·G mod p
If B=M·G−e·pub, the verifier
accepts the threshold zero knowledge proof as valid, and rejects the proof otherwise.
The process of signcrypting (e.g., Changgen et al., “Threshold Signcryption Scheme based on Elliptic Curve Cryptosystem and Verifiable Secret Sharing,” International Conference on Wireless Communications, Networking and Mobile Computing, volume 2, pages 1182-1185, 2005; Zheng, “Digital Signcryption or How to Achieve Cost(Signature & Encryption)<<Cost(Signature)+Cost(Encryption),” Advances in Cryptology, CRYPTO '97, volume 1294 of Lecture Notes in Computer Science, pages 165-179, Springer, 1997; Zheng et al., “How to Construct Efficient Signcryption Schemes on Elliptic Curves,” Inf. Process. Lett., volume 68, no. 5:227-233, 1998) a message facilitates performing both signing and encrypting a message at a cost less than computing each separately. Given a message m∈[1, q−1] and a receiver pR with public key pRpub, signcryption can be generated as follows:
where ri=f(i) is pi's share of priv. Each signer sends their partial signcryption si to the secretary.
If these hold, the group signature over m, is valid.
With this, the recipient pR has both verified the group's signature over message m, as well as decrypted m.
Standard threshold cryptographic operations (e.g., those discussed above) traditionally use a trusted dealer to define a generating polynomial f(·), select a secret r, and distribute shares of r to all participants pi∈
. Distributed key generation protocols remove the necessity of a trusted dealer, and allow a set of participants
to generate shares of a secret where no one knows the shared secret r. According to one embodiment, this can be accomplished in the present context as follows:
The distributed key generation protocol is preferably secure against an adversary that attempts to bias the output distribution, as in the attack described by Gennaro et al. Similarly, threshold constructions are preferably secure against both static as well as adaptive malicious adversaries.
The core functionality of a PUF is extracting a unique mapping between the challenge (input) domain and the response (output) range. As the mapping from challenges to responses is unique for each PUF-enabled device, collecting a set of challenge-response pairs (CRPs) through a provisioning process allows the device to be verified in the future. Protocol 1 illustrates the naive provisioning process that underlies many PUF-enabled protocols.
r ∈ {0, 1}κ
Authentication proceeds by issuing a challenge for which the response is known to the server, and verifying that the response is t-close to the expected response. However, this lightweight naive protocol has many limitations. During enrollment, a large number of challenge-response pairs must be collected, as each pair can only be used once for authentication. If an adversary observed the response, it could masquerade as the device. Similarly, the challenge-response database is sensitive, as an adversary could apply machine learning to fully characterize the PUF mapping [Rührmair I]. These issues can be eliminated by applying cryptographic constructs around the PUF functionality.
In the example of an embodiment employing elliptic curve cryptography, Algorithms 1 and 2 below can be used to allow a PUF-enabled device to locally store and retrieve a sensitive value without needing to store any sensitive information in non-volatile memory. Algorithm 1 illustrates the storing of a sensitive value i using a PUF, and Algorithm 2 illustrates the dynamic regeneration of
t. The challenge ci and helper data helper, can be public, as neither reveals anything about the sensitive value
. While the present example uses encryption of
i by exclusive-or, ⊕,
i could also be used as a key to other encryption algorithms (e.g., AES) to enable storage and retrieval of arbitrarily sized values.
i
n of order n
n
n, a group generator
n
i)
i
i ← D((ECC(
i) ⊕ O) ⊕ O′)
Whenever O and O′ are t-close, the error correcting code ECC can be passed to a decoding algorithm D to recover the sensitive value i.
Using Algorithm 3, a local device can perform an enrollment protocol using the PUF. This allows each PUF circuit to generate a local public key pipub, which is useful for bootstrapping more complex key setup algorithms (e.g., the distributed key generation protocol in Algorithm 4). When the key setup algorithm is performed internal to the device (rather than externally among a set of distinct devices), this bootstrap process may not be necessary.
p, a group element
Next, PUF-based cryptographic primitives are adapted to secret sharing to permit threshold cryptography founded on PUF or other root of trust. Using the example of an embodiment employing elliptic curve cryptography, distributed key generation is used to generate a number of shares (for example, two: r1, r2) of a master private key priv=(r1+r2)mod q) , which itself does not need to be generated or constructed at any time during the protocol. The protocol is summarized in Algorithm 4: PUF-DKG, where in an example implementation, (t, n) is chosen as (2, 2).
priv
Using Algorithms 1 and 2 for storing and retrieving a sensitive value, and Algorithm 4 for performing the initial distributed key generation protocol, arbitrary PUF-enabled threshold cryptographic operations (e.g., decryption, digital signatures, zero knowledge proofs) can be performed. Algorithm 5 describes how to evaluate an arbitrary threshold cryptographic operation that requires as input a participant's share ri. Note that the recovered share r, has already been multiplied by the Lagrange terms
and Auxiliary Information Aux
(ri, Aux)
← Combine({
(ri, Aux)}0≤i≤n)
This enables any threshold cryptographic operation (e.g., decryption, digital signature generation, zero knowledge proofs) to be performed by a PUF-enabled participant without having to generate, reconstruct, or store their private key. Further, from an external perspective (e.g., the server), the PUF-enabled device simply implements standard public key cryptographic protocols. That is, the server does not have to issue a challenge or store helper data, and its interaction with the device is indistinguishable from any standard public key cryptography device. Although threshold cryptography typically considers distributing operations across physically-distinct nodes, in one embodiment of the present invention, threshold cryptography may be applied within a single device. By internalizing the challenge-response functionality of the PUF, and utilizing Algorithms 1 and 2 to locally store and recover a value (e.g., a cryptographic key), arbitrary (e.g., symmetric or asymmetric) cryptographic operations can be performed without need for issuing or storing auxiliary (e.g., challenges or helper data) information.
As an example, a device may be equipped, e.g., with two PUF circuits (e.g., ring oscillator, arbiter, SRAM) and provided with the ability to execute at least two instructions at the same time (e.g., through multiple CPU cores). One embodiment of such a device may comprise a Xilinx Artix 7 field programmable gate array (FPGA) platform, equipped, e.g., with 215,000 logic cells, 13 Megabytes of block random access memory, and 700 digital signal processing (DSP) slices. In an embodiment employing elliptic curve cryptography, for example, the hardware mathematics engine may be instantiated in the on-board DSP slices, with the PUF construction positioned within the logic cells, and a logical processing core including an input and output to the PUF and constructed to control those and the device's external input and output and to perform algorithms (sending elliptic curve and other mathematical calculations to the math engine) such as those described above. The FPGA may have one or more PUF circuits implemented in separate areas of the FPGA fabric. Simultaneous execution may be accomplished by instantiating multiple software CPUs, e.g., a MicroBlaze processor. (It is noted that where it is stated herein that the ‘device’ performs an action, it is implicit that such action is or may be carried out by an appropriately-configured processor in the device unless something different is apparent from the context. It is further intended that the word ‘processor’ is inclusive of multiple discrete processors together performing recited actions, processors with multiple cores, etc.).
As a further example, a device may be equipped, e.g., with a block of phase change memory (PCM), dynamic random access memory (DRAM), or other memory that may be physically reconfigured. One embodiment of such a device may comprise an application-specific integrated circuit (ASIC) configured to interact with the DRAM block. Another embodiment of such a device may comprise a system on a chip (SoC) configured to interact with the DRAM block. Yet another embodiment of such a device may be a generic CPU configured to interact with the DRAM block.
An embodiment of the present invention with only one PUF circuit can execute operations over each share sequentially, rather than querying the multiple PUF circuits in parallel. pipub=pipriv
and locally store its public enrollment information and then together run the distributed key generation protocol (Algorithm 4) and perform all cryptographic operations over a private key that may never actually be constructed. When threshold cryptography is applied within a single device, it may not be necessary to run the enrollment algorithm (Algorithm 3) to generate an asymmetric key pair as all computations are performed internal to the device.
Algorithm 6 describes how a dual-PUF device can compute cryptographic operations in a threshold manner by constructing a (2, 2) threshold sharing within the device using distributed key generation. That is, the two parts establish a private key known to neither part through distributed key generation and publicize the corresponding public key pub. All operations targeted at the device are now performed in a threshold manner through internal collaboration (with each part retrieving its share ri and performing a local threshold operation, and the results are combined to complete a threshold operation
, while the input/output behavior of the device remains unchanged to external systems.
at time τ
do
pub
do
←
(ri(τ)), PUF core local threshold share
← Combine({
,
})
Thus, rather than being constrained to a mapping between a challenge issued to the device and its response (which to an extent may be a function of the challenge), a multi-PUF device di can have a single static external identity, pipub. The challenge-response functionality of each PUF core is used to maintain each share of the device's private identity, pipriv, which does not need to be generated or constructed. Each part retrieves its share ri(r) and performs a local threshold operation, and the shares are combined to complete the operation .
Referring to
Various share refresh protocols allow each of a set of players p, ∈ to refresh their share ri(τ) of an original secret r at time period T into a new share ri(τ+1) such that the resulting set of new shares {ri(τ+1)}i∈[1 . . .n] remains a sharing of the original secret. This protocol does not require reconstruction of the master secret r, so a mobile adversary would have to compromise t players in a fixed time period τ in order to recover the shared secret. Assuming a polynomial f(·) of degree (t−1) represents a shared secret r=f(0) amongst n participants each having a share ri=f(i), and denoting encrypting for player pj as ENCj(·) and decryption by pj as DECj(·), the set of players p∈
can refresh their sharing of r using such a protocol as follows:
δi(·)=Δ1(i)x+ . . . x+Δm(i)xt−1
{∈im=Δm9i0·G}m∈]1 . . . t−1]
{uij=δi(.j)}j∈[1 . . . n]
Δeij=ENCj(uij)}j∈[1 . . . n]
Thus, the refreshed set of shares {ri(τ+1)}i∈[1 . . . n] remains a sharing of the master private key priv, and yet knowledge of t−1 or fewer shares from time period τ is useless in time period τ+1.
As outlined in Algorithm 7, participants can update their share ri(τ) in time period τ to a new share ri(τ+1) in the next time period such that the set of shares {ri}i∈[1 . . . n] remains a sharing of the master private key priv.
do
i,τ,{ϵim},{eij}
,
The hardware device performs Algorithm 7 at Share Refresh 11 in
and Auxiliary Information Aux
(ri, Aux)
← Combine({
(ri, Aux)}0≤i≤n)
at time τ
do
pub
do
←
(ri(τ)), PUF core local threshold share
← Combine({
,
})
Referring for example to a single-PUF embodiment as shown in
do
i, τ, {ϵim}, {eij}
,
Next, each participant verifies the update information received from other participants and applies the update to its share as set forth in Algorithm 11.
do
As each threshold operation over a share can be performed independently of the other shares, the device need only recover one share at a time. This process is illustrated in Algorithm 12. Upon receiving a command O and its associated auxiliary information Aux, the device first performs Algorithm 10 to prepare for the share update. Next, the device iteratively performs threshold operations over each share. A share is recovered by reading a challenge-helper pair from non-volatile memory, and using the PUF to regenerate the corresponding share. After performing a threshold operation over the share, the share update is applied using Algorithm 11, which generates the updated share for new time period (τ+1). After computing the threshold operations over each share, the threshold operations are combined to form the result O which is returned to the server.
and Auxiliary Information Aux
(ri, Aux)
← Combine({
(ri, Aux)}0≤i≤n)
In one embodiment, a (2, 2) threshold system is constructed internally to the device. Algorithm 13 illustrates an example of a single-PUF (2, 2) threshold construction of the more general Algorithm 12. The device has the share set {r0, r1}, and iteratively computes a threshold operation over each share to produce the set {,
}. Once both threshold operations are complete and the shares have been updated and stored, the two threshold operations are combined into the final output
.
at time τ
pub
←
(ri(τ)), Local threshold operation
← Combine({
,
})
The flow of Algorithm 13, a specific single-PUF (2, 2) threshold construction of the more general Algorithm 12, is illustrated in is constructed by combining the two local threshold operations that were performed over each share.
The device has a constant identity pub,
priv
, yet all operations
that require
priv are performed without having to reconstruct
priv and can also be used with values that change after each operation is executed. As each part uses the PUF-Store and PUF-Retrieve algorithms to maintain its share, the (challenge, helper) pair is updated after each operation when PUF-Store is executed. Each share is refreshed for the new time period τ+1, and is stored by generating a new random challenge ci(τ+1) and setting the updated helper to helperi(τ+1)←ECC(ri(τ+1))⊕PUF(ci(τ+1)).
Staggering the threshold operations such that the share regeneration, threshold operation, and share storing occur consecutively (rather than concurrently), precludes the simultaneous recovery of more than one updated share. Any tampering while one share exists would (assuming tampering pushes PUF output beyond error correction limits) prevent recovery of another share, in which case the device cannot perform operations over its private key.
An adversary applying a side channel attack against such an embodiment therefore must extract t or more shares from a period of observation that cannot exceed the period of refreshment. In other words, the adversary must compromise t shares in a given time period τ since any shares from time period τ are useless in time period τ+1. The difficulty of a side channel attack thus can be increased by updating more frequently (even after each operation). (Increasing refresh frequency also may multiply the difficulty inherent in side channel attacks on multiple-PUF device embodiments in which a remote adversary must observe and resolve multiple PUF values simultaneously generated in the device).
In addition to asymmetric operations, symmetric cryptographic operations may also be performed in a threshold manner. Thus all cryptographic operations, asymmetric and symmetric, can be performed over threshold shares rather than the private key. As with the refreshing process described for shares of an asymmetric private key, the shares of a symmetric key may also be refreshed.
The dynamic nature of shares in this construct also permits an embodiment in which the number of participants n participating in a group can be varied dynamically so that participants may join or leave the set of participants in the (t, n) threshold system. In this case, up to n t participants can be removed from the set simply by leaving them out of the next share refresh protocol. To add a participant pj to the set of participants, each current participant pi generates an extra share uij from their share update polynomial δi(·).
To add a new participant pnew with ID new to the set of participants, their share f(new) must be generated by t members with existing shares. This is performed by each of the t members contributing their share interpolated for pnew, and blinding these sub-shares with a sharing of zero distributed among the t members. The blinding by a sharing of zero prevents recovery of the t shares r, from the sub-shares. That is, as the t participants are known, distributing a sub-share as
allows the participant pnew to remove the Lagrangian interpolation term
and recover pi's share ri, as the t members that contribute sub-shares are known to pnew. To prevent pnew from recovering an existing share ri from the sub-share, each sub-share is blinded using separate shares of a sharing of 0 among the t members. Algorithm 14 describes how shares of 0 are generated and distributed to the other existing t members.
do
i, τ, {ϵim}, {eij}
,
First, each participant pi∈, |
|≥t generates a polynomial δi(·) where the free coefficient Δ0(i)=0, and consequently δi(0)=0. Each participant then distributes shares of their polynomial δi(j) to the other players pj,j≠i∈
to complete a verifiable sharing of 0. Thus, these shares can be used to blind another sharing without changing the secret being shared.
Upon receiving the sharing of 0, each participant will verify the shares and use them to blind their sub-shares for new participant pnew. Algorithm 15 describes how the sharing of 0 is verified, the local sub-share of pnew's share is constructed, and how it is blinded before being distributed to pnew.
do
do
First, each of the t participants pi∈ begins by recovering their share ri(τ) and verifying the sharing of 0 they received from Algorithm 14. The sub-share rnew9 generated by participant pi is then constructed by performing their portion of Lagrangian interpolation for f(new), where new is the ID of the new participant. This sub-share is subsequently blinded using the sharing of 0 to prevent the new participant pnew from recovering the share ri of participant pi by removing the Lagrangian interpolation term. After sending their sub-share to pnew, participant pi updates their share to the new time period (τ+1) and stores this value using a PUF. All of the received sub-shares are combined by the new participant New to form their share rnew(τ), which is finally updated for time period (τ+1) and stored using a PUF.
In other embodiments, the players may perform the operations of Algorithm 15 in a different order. For example, first each of the t participants pi∈ recover their share ri(τ) and verify the sharing of 0 they received from Algorithm 14. Then p, updates their share to the new time period (τ+1), which is subsequently used to generate the replacement sub-share rnewi by performing their portion of Lagrangian interpolation for f(new), where new is the ID of the new participant. Participant pi stores their updated share ri(τ+1) using the PUF, and sends the sub-share rnew(τ+1) to pnew. All of the received sub-shares are combined by the new participant pnew to form their share rnew(τ+1), which is then stored using a PUF.
The enforcement of invalidation of used challenge-helper pairs in refreshing-share embodiments of the invention may be improved through the application of reconfigurable PUFs (‘RPUFs’). In one embodiment, an authenticatable device may be provided with a single reconfigurable PUF e.g., a logically-reconfigurable PUF having a reversible configuration process, and e.g., a (2, 2) threshold sharing employed. The PUF configuration is controlled by a parameter, which may be stored locally on the device. Using parameter a to recover one share, a new random parameter b is chosen, the PUF is reconfigured, and the refreshed share is translated into a challenge-helper pair for storage using the PUF configured with parameter b. The PUF is then reconfigured using parameter a to recover the second share, which is subsequently refreshed and translated into a challenge-helper pair for storage using the PUF configured with parameter b. Now, original PUF parameter a is deleted, and the next round will select a new random parameter c to replace parameter b.
In another embodiment, an authenticatable device can be provided with two reconfigurable PUF circuits (e.g., PUF-A, PUF-B) having a non-reversible reconfiguration process, and a (2, 2) threshold sharing employed. After each share is recovered using PUF-A and refreshed, it is translated into a challenge-helper pair for storage using PUF-B. Once both refreshed shares have been stored using PUF-B, the reconfiguration process is applied to PUF-A, such that PUF-A now exhibits a new PUF mapping. The next time the shares are recovered, the same procedure is performed using PUF-B for recovery and PUF-A for commitment.
With reference to
i
n of order n
n
n, a group generator
n uniformly at random
i)
i
i ← D((ECC(
i) ⊕ O) ⊕ O′)
Referring again to
As ) outputs a new PUF configuration that is t-distant from its argument. Thus, share recovery is performed using PUFb, which remains unmodified (
(riτ) are combined into the final cryptographic output
(
and Auxiliary Information Aux
(ri(τ) , Aux)
← Combine({
(ri(τ) , Aux)}0≤i≤n)
The TRNG and variables not stored in non-volatile memory are preferably protected by the tamper sensitivity property of the PUF, so that an adversary cannot bias the TRNG or alter the bit b selected on power-on. In that regard, reconfigurable PUFs have been demonstrated as a viable protection mechanism for non-volatile memory (see, e.g., Kursawe et al., supra).
It is noted that if the device of the foregoing embodiment loses power before storing in memory updated challenge-helper pairs using both the unmodified and reconfigured PUF, when it is powered up the unmodified PUF may be selected for reconfiguration and the shares will be unrecoverable. In an embodiment configured to preclude that possibility, a pair of backup PUFs may be employed, with a set of corresponding challenge-helper pairs generated for each of the backup PUFs. If the primary pair of PUFs are unable to regenerate the shares (e.g., the device performs a test by comparing its regenerated public key against the original stored in non-volatile memory), the backup pair can be invoked. The same general approach that is used for the primary PUF pair can be followed, where the device randomly reconfigures one of the backup PUFs before attempting share regeneration.
More specifically, on power-up, the device proceeds as in
As backup outputs a new PUF configuration that is t-distant from its argument. Thus, share recovery is performed using backup PUFb, which remains unmodified. After the shares ri(τ) have been refreshed to their new representations ri(τ+1), a challenge-helper pair is generated using both backup PUFb and backup PUF1−b, as well as primary PUFb and primary PUF1−b. This allows the device to return to relying on the primary PUF pair, which were both reconfigured without storing corresponding challenge-helper pairs due to power cycle events. The device has now returned to a state where the primary PUF pair can be successfully invoked on power on, and the backup PUF pair can complete system recovery in the event of a power cycle event that reconfigures both of the primary PUFs. Finally, the intermediate threshold operations over each share
(riτ) are combined into the final cryptographic output
.
Physically reconfigurable PUFs (P-RPUFs) can be achieved using phase change memory (PCM), which is a candidate replacement for Flash and DRAM (which itself can be used as a P-RPUF, and, if adopted, would be common to many architectures. A P-RPUF can be instantiated using PCM , and four P-RPUFs can be instantiated on one device by dividing a portion of the memory space into four blocks. Alternately, logically reconfigurable PUFs (L-RPUFs) may be used.
In another embodiment, using a (t, n) sharing in which t<n, one reconfigurable PUF may be allocated per share (rather than allocating any PUF to regenerate all shares). For example, in a (2,4) sharing each of four reconfigurable PUFs would regenerate one of the n=four shares. At power-up, one of the device's PUFs is randomly selected for reconfiguration, resulting in the loss of ability to recover its corresponding share. Upon PUF reconfiguration, however, at least t non-reconfigured PUFs remain to collaborate and help the reconfigured PUF construct a replacement share, as described in Algorithm 19.
After the selected PUF is reconfigured, the remaining PUFs engage first in Algorithm 14 to construct a sharing of 0, and then engage in Algorithm 15 to construct blinded sub-shares that will enable the reconfigured PUF to construct a replacement share.
This process is illustrated in
As the device may experience benign or adversary-initiated malicious power failures, more than one PUF may be reconfigured. In one embodiment, the error correcting code used as part of the fuzzy extraction process can provide a method for determining whether a PUF has been reconfigured. If the number of errors identified during decoding exceeds the error correction capability of the helper string, it is likely due to the PUF being reconfigured. In another embodiment, each PUF may store a non-sensitive test value along with its corresponding challenge-helper pair. The device can then issue the challenge to the PUF as part of the test sequence, and if the value recovered using the helper string does not match the stored value, the PUF is deemed to have been reconfigured. (The challenge-helper-value set associated with each PUF should be periodically refreshed, so that benign hardware aging does not cause the device to incorrectly assume the PUF has been reconfigured). In yet another embodiment, a challenge-response pair can be stored by the device for each PUF. The device can then test whether the PUF has been reconfigured by issuing the challenge and evaluating the hamming distance between the PUF's response and the reference response stored in memory.
Algorithm 19 can be performed on device power-on, for example, in order to enforce the physical invalidation of old challenge-helper pairs and subsequently construct a replacement for the share lost. Once the device is powered on and this algorithm completes, the device enters normal operational mode such as the example described by Algorithm 20.
and Auxiliary Information Aux
(ri(τ) , Aux)
← Combine({
(ri(τ) , Aux)}0≤i≤n)
(ri(τ)). The share is subsequently refreshed for the next time period (τ+1), and stored using PUF1. In Step 2, the individual threshold operations are combined into the final result
.
As with the embodiment of
Although certain illustrative embodiments of the invention have been described herein, it will be apparent to those skilled in the art to which the invention pertains that variations and modifications of the described embodiments may be made without departing from the spirit and scope of the invention. For example, separately or in conjunction with the embodiments herein, a (preferably tamper-proof, e.g., encapsulated etc.) capacitor may be employed to provide enough power for the device to carry out all actions following power-up that are required to successfully refresh the device's shares so as to ensure that an adversary cannot power-cycle the device before its shares are refreshed. It is intended that the invention be limited only to the extent required by the appended claims.