A security device generates a key based on a physically unclonable function (puf). The security device includes a physically unclonable function (puf) block, an integrity detector, and a post processor. The puf block outputs a plurality of first random signals and a plurality of corresponding first inverted random signals each having a logic level opposite to that of each of the plurality of corresponding first random signals. The integrity detector determines data integrity of the plurality of first random signals by using the plurality of first random signals and the plurality of corresponding first inverted random signals. The post processor generates a first row key that includes validity signals satisfying the data integrity.
|
19. A security device, comprising:
a physically unclonable function (puf) block including a plurality of puf cells that generate a plurality of first random signals and outputting the plurality of first random signals;
an enrollment block generating a first row key by using the plurality of first random signals in a first mode;
an encoding module receiving the first row key, obtaining parity data by performing error correction on the first row key, and generating helper data including the parity data;
a memory block storing the helper data;
a key generator receiving a plurality of second random signals from the puf block in a second mode, and generating a second row key by using the plurality of second random signals; and
a decoding module receiving the second row key from the key generator, receiving the helper data from the memory block, and generating a key for use by performing error correction on the second row key based on the helper data.
13. A security device, comprising:
a physically unclonable function (puf) block including a plurality of puf cells that generates a plurality of first random signals and outputting the plurality of first random signals;
a validity detector generating a plurality of validity signals respectively corresponding to the plurality of puf cells based on the plurality of first random signals in a first mode;
an enrollment module generating a validity map for the puf block based on the plurality of validity signals, selecting first valid random signals from the plurality of first random signals based on the validity map, generating a first row key that includes the first valid random signals, and generating helper data including parity data corresponding to the first row key based on a predetermined error correction algorithm; and
a memory block storing the validity map and the helper data to be used when a key is generated based on a puf from one of the plurality of puf cells.
1. A security device, comprising:
a physically unclonable function (puf) block including a plurality of puf cells that generate a plurality of first random signals and outputting the plurality of first random signals and a plurality of corresponding first inverted random signals each having a logic level opposite to that of each of the plurality of first random signals;
an integrity detector determining data integrity of the plurality of first random signals by using the plurality of first random signals and the plurality of corresponding first inverted random signals; and
a post processor generating a first row key that includes validity signals satisfying the data integrity and which are selected from the plurality of first random signals, generating helper data including parity data corresponding to the first row key based on a predetermined error correction algorithm, and generating by using the helper data a key for use which is based on a puf from one of the plurality of puf cells.
2. The security device of
a validity detector generating a plurality of validity signals respectively corresponding to the plurality of puf cells in a first mode based on validity of the plurality of first random signals; and
a memory block storing a validity map,
wherein the post processor further comprises an enrollment module generating the validity map for the puf block based on the plurality of validity signals, selecting first valid random signals from the plurality of first random signals based on the validity map, and generating the first row key including the first valid random signals.
3. The security device of
a key generator receiving a plurality of second random signals in a second mode, receiving the plurality of second random signals from the puf block, receiving the validity map from the memory block, selecting second valid random signals from the plurality of second random signals based on the validity map, and generating a second row key including the second valid random signals in the second mode.
4. The security device of
wherein the integrity detector determines data integrity of the plurality of second random signals by using the plurality of second random signals and the plurality of corresponding second inverted random signals in the second mode.
5. The security device of
an encoding module generating the helper data in the first mode,
wherein the memory block further stores the helper data.
6. The security device of
a decoding module receiving the second row key from the key generator, receiving the helper data from the memory block, and generating the key for use by performing error correction on the second row key based on the helper data in the second mode.
7. The security device of
wherein the second mode is performed when the key for use is to be generated by using the security device.
8. The security device of
a non-volatile memory storing at least one of the helper data and the validity map generated in the first mode.
9. The security device of
a decoding module receiving the second row key from the key generator, receiving the helper data from the memory block, and generating the key for use by performing error correction on the second row key based on the helper data in the second mode,
wherein the key generator reads the validity map from the non-volatile memory upon entering the second mode, and
wherein the decoding module reads the helper data from the non-volatile memory upon entering the second mode.
10. The security device of
an interface block communicating with a counterpart outside of the security device and outputting the key for use outside of the security device.
11. The security device of
an attack detector including a first register that stores the first row key and determining whether the first register is attacked.
12. The security device of
an inverter generating an inverted key by inverting the key for use;
a second register storing the inverted key;
a comparator determining whether the first register and the second register are attacked by comparing the key for use with the inverted key; and
a key switch outputting the key for use outside based on a result of the comparator determining whether the first register and the second register are attacked.
14. The security device of
an encoding module generating the helper data in the first mode.
15. The security device of
a key generator receiving a plurality of second random signals from the puf block in a second mode, receiving the validity map from the memory block, selecting second valid random signals from the plurality of second random signals based on the validity map, and generating a second row key including the second valid random signals in the second mode.
16. The security device of
a decoding module receiving the second row key from the key generator, receiving the helper data from the memory block, and generating, by performing error correction on the second row key based on the helper data in the second mode, a key which is based on a puf from one of the plurality of puf cells.
17. The security device of
an interface block communicating with a counterpart outside of the security device and outputting a key for use outside of the security device.
18. The security device of
a first register storing the key for use;
an inverter generating an inverted key by inverting the key for use;
a second register storing the inverted key;
a comparator determining whether the first register and the second register are attacked by comparing the key for use with the inverted key; and
a key switch outputting the key for use outside based on a result of the comparator determining whether the first register and the second register are attacked.
|
This U.S. nonprovisional patent application claims the benefit of priority under 35 USC § 119 to Korean Patent Application No. 10-2020-0017145, filed on Feb. 12, 2020 in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein in its entirety.
The inventive concept(s) described herein relate to a security device generating a key by using a physically unclonable function (PUF) and a method of operating the same.
With the rapid development of wired and wireless communication technologies and smart device-related technologies, requirements for establishing a security system capable of safely using the technologies have also increased. One underlying method for providing security for a communication system and a smart device is mounting a security device implemented by hardware logic (as compared to logic implemented using a memory) in the communication system and the smart device. When a security chip with the hardware logic is first driven and then software such as an operating system (OS) is driven, authentication or an examination for malicious code is performed. Security technology based on a physically unclonable function (PUF) has recently evolved. A PUF may be a physical object with unique characteristics used to create a unique identity for use by the security device. When the PUF is used, it is possible to prevent duplication of an important key such as an authentication key stored in the security device.
The inventive concept(s) described herein relate to a security device generating an efficient and correct key by using a validity map when the key is generated by using a physically unclonable function (PUF), and a method of operating the same.
According to an aspect of the present disclosure, a security device includes a physically unclonable function (PUF) block, an integrity detector, and a post processor. The PUF block includes a plurality of PUF cells that generate a plurality of first random signals and outputting the plurality of first random signals and a plurality of corresponding first inverted random signals each having a logic level opposite to that of each of the corresponding plurality of first random signals. The integrity detector determines data integrity of the plurality of first random signals by using the plurality of first random signals and the plurality of corresponding first inverted random signals. The post processor generates a first row key that includes validity signals satisfying the data integrity. The validity signals satisfying the data integrity are selected from the plurality of first random signals. The post processor also generates helper data including parity data corresponding to the first row key based on a predetermined error correction algorithm, and generates a key to which a PUF is applied by using the helper data.
According to an aspect of the present disclosure, a security device includes a physically unclonable function (PUF) block, a validity detector, an enrollment module and a memory block. The PUF block includes a plurality of PUF cells that generate a plurality of first random signals and outputting the plurality of first random signals. The validity detector generates a plurality of validity signals respectively corresponding to the plurality of PUF cells based on the plurality of first random signals in a first mode. The enrollment module generates a validity map for the PUF block based on the plurality of validity signals, and selects first valid random signals from the plurality of first random signals based on the validity map. The enrollment module also generates a first row key that includes the first valid random signals, and generates helper data including parity data corresponding to the first row key based on a predetermined error correction algorithm. The memory block stores the validity map and the helper data to be used when a key to which a PUF is applied is generated.
According to an aspect of the present disclosure, a security device includes a physically unclonable function (PUF) block, an enrollment block, an encoding module, and a memory block. The PUF block includes a plurality of PUF cells that generate a plurality of first random signals and outputting the plurality of first random signals. The enrollment block generates a first row key by using the plurality of first random signals in a first mode. The encoding module receives the first row key, obtains parity data by performing error correction on the first row key, and generates helper data including the parity data. The memory block stores the helper data.
According to an aspect of the present disclosure, a security device includes a physically unclonable function (PUF) block, a memory block, a key generator, and a decoding module. The PUF block includes a plurality of PUF cells that generate a plurality of first random signals and outputting the plurality of first random signals. The memory block stores a validity map including information on validity of the plurality of first random signals and helper data including parity data. The key generator receives the plurality of first random signals, receives the validity map from the memory block, and selects first valid random signals from the plurality of first random signals based on the validity map. The key generator also generates a first row key by using the first valid random signals. The decoding module receives the first row key, receives the helper data from the memory block, and generates a key by performing error correction on the first row key based on the helper data.
Embodiments of the inventive concept(s) described herein will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings in which:
Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Referring to
The security device 10 may operate in one of an enrollment mode and a use mode. In the enrollment mode, the security device 10 may select valid random signals from a plurality of random signals RS generated by the PUF circuit 100 and may enroll a key generated by using the selected valid random signals. In the use mode, the security device 10 may generate a key by using a random signal generated by the PUF circuit 100 in response to a request of a host and may output the generated key to the host. In an embodiment, the enrollment mode may be performed once at a manufacturing point in time when the security device 10 is manufactured. The use mode may be performed at a plurality of points in time at which a key is to be generated by using the security device 10.
The PUF circuit 100 may include a PUF block 110. The PUF block 110 may generate the plurality of random signals RS. For this purpose, the PUF block 110 may include a plurality of PUF source circuits. Each of the plurality of PUF source circuits may generate a signal with a unique value in accordance with a PUF and may be referred to as a PUF cell in the current specification. A PUF may refer to a function of providing a unique value corresponding to hardware based on an intrinsic characteristic of the hardware. For example, although a plurality of hardware components such as semiconductor chips are manufactured by the same process, the plurality of hardware components may not physically and completely coincide with each other and minor variations may occur in the plurality of hardware components. Based on the variations, unique values of the plurality of hardware components may be extracted. The extracted values may be used for applications needing security. Examples of applications needing security for which the extracted values may be used include, for example, secure communication, secure data processing, user identification, and firmware update.
In some embodiments, each of the plurality of PUF source circuits included in the PUF block 110 may have an arbitrary structure in which a bit signal with a unique value is generated. As a non-limiting example, each of the plurality of PUF source circuits may have a static random access memory (SRAM)-type PUF structure based on a value stored in an SRAM cell, a ring oscillator structure based on a frequency variation, a leakage current based PUF structure, or an arbiter PUF structure in which a path of a signal is arbitrarily determined. In addition, each of the plurality of PUF source circuits may generate a bit signal with a unique value based on a difference among threshold levels of logic gates.
In an example, the PUF block 110 may include at least one of a PUF cell based on a transistor threshold voltage, a PUF cell based on an arbiter, a ring oscillator-based PUF cell, a memory-based PUF cell, and a reconfigurable PUF cell in accordance with a laser beam or a heat change. The PUF cell based on an arbiter may be, for example, a feed-forward PUF cell, an XOR PUF cell obtained by arranging arbiter PUF cells in parallel, or a lightweight PUF cell. The memory-based PUF cell may be, for example, an SRAM PUF cell, a latch PUF cell, a flash memory PUF cell, or a memistor PUF cell
The PUF block 110 may generate the plurality of random signals RS based on signals generated by the plurality of PUF source circuits. Therefore, the plurality of random signals RS may be different from a random signal generated by a PUF block included in another security device with the same structure. In some embodiments, the PUF block 110 may generate an n-bit random signal RS (n is an integer greater than 1). For example, the PUF block 110 may include n PUF source circuits and each PUF source circuit may generate a 1-bit random signal RS.
The post processor 200 may include a key generator 230. The key generator 230 may generate a key KEY by receiving the plurality of random signals RS and performing post-treatment on the plurality of random signals RS. The key KEY as an encryption key uniquely generated by the security device 10 for security may be used as an encryption and decryption key or a key such as authentication code as the integrity of the key is guaranteed.
The key generator 230 may determine whether the plurality of random signals RS are valid and may generate a row key by using only the valid random signals. In addition, the post processor 200 may generate the key KEY by performing an error correction operation on the row key. That is, the key KEY may be generated based on the row key. The row key may be generated in an enrollment mode, for example, and the key KEY may be generated based on the row key in a use mode. The key KEY may be a key for use, such as a key provided to the outside for use in encryption or decryption. The key KEY is based on a PUF and is generated by using the helper data.
According to an embodiment of the present disclosure, the post processor 200 may generate a validity map including information on each of the valid random signals and may store the generated validity map in the enrollment mode in which the key KEY is enrolled. In addition, in an embodiment, the post processor 200 may store a parity bit generated by the error correction operation as helper data in the enrollment mode. The key generator 230 may generate the key KEY by using the stored validity map and/or helper data in a generation mode in which the key KEY is generated in response to a request of a user so that a key generating process may be efficiently performed.
In
Before proceeding, it should be clear that FIGS. herein including
Referring to
The validity detector 120 may generate a plurality of validity signals respectively corresponding to a plurality of random signals (and thus corresponding to the a plurality of PUF cells) by detecting validities of the plurality of random signals. The plurality of random signals may be used for generating a password that may be used as an authentication key. In this case, the password must have a time-invariant characteristic in which a value of the password does not change in accordance with a circumstance. The validity detector 120 may determine a time-invariant characteristic of a digital random signal and may generate the plurality of validity signals based on the determined time-invariant characteristic. The validity detector 120 may generate the plurality of validity signals based on validity of the plurality of validity signals, as determined based on and with respect to the time-invariant characteristic.
In an example, the validity detector 120 may generate a validity signal based on whether random signals output from PUF cells included in the PUF block 110 at different points in time are the same. In another example, the validity detector 120 may generate a validity signal based on whether random signals output from the PUF cells included in the PUF block 110 under different external conditions (for example, temperature, pressure, humidity, etc.) are the same.
The post processor 200 may include an enrollment block 210, an encoding block 220, a key generator 230, a decoding block 240, and an interface block 250. The enrollment block 210, the encoding block 220, the key generator 230, the decoding block 240, and the interface block 250 may be connected to communicate with each other. In an example, the enrollment block 210, the encoding block 220, the key generator 230, the decoding block 240, and the interface block 250 may be connected through a bus. In another example, at least parts of the enrollment block 210, the encoding block 220, the key generator 230, the decoding block 240, and the interface block 250 may be formed of software executed by one processor. Operations of the enrollment block 210, the encoding block 220, the key generator 230, the decoding block 240, and the interface block 250 transmitting data to each other may mean that operations in accordance with the respective components are continuously performed by one processor.
The enrollment block 210 may receive the plurality of random signals and the plurality of validity signals and may select the valid random signals based on the plurality of random signals and the plurality of validity signals in the enrollment mode. The enrollment block 210 may generate the row key by using the valid random signals and may output the generated row key to the encoding block 220.
According to an embodiment of the present disclosure, the enrollment block 210 may generate a validity map representing whether the plurality of random signals are valid based on the plurality of validity signals. The enrollment block 210 may store the generated validity map in the memory module 300 through the interface block 250.
The encoding block 220 may receive the row key from the enrollment block 210 and may perform the error correction operation on the row key by using an error correction code in the enrollment mode. The error correction code may include at least one of a low density parity check (LDPC) code, a Bose-Chaudhuri-Hocquenghem (BCH) code, a turbo code, a Reed-Solomon code, a convolution code, a recursive systematic code, and coded modulations such as a trellis-coded modulation (TCM), a block coded modulation (BCM), and majority voting.
According to an embodiment of the present disclosure, the encoding block 220 may generate helper data by using a parity code generated by performing the error correction operation on the row key. The encoding block 220 may store the generated helper data in the memory module 300 through the interface block 250.
The key generator 230 may receive the validity map from the memory module 300 through the interface block 250 and may receive the plurality of random signals from the PUF block 110. The key generator 230 may select the valid random signals from the plurality of random signals based on the validity map and may generate the row key by using the selected valid random signals.
The decoding block 240 may receive the helper data from the memory module 300 through the interface block 250 and may perform the error correction operation on the row key received from the key generator 230 by using the helper data. The decoding block 240 may output a key generated by performing the error correction operation to the outside (for example, a host). The key output by the decoding block 240 may be a key for use and is a key which is based on a PUF from the PUF block 110, and thus is a key to which a PUF is applied
The memory module 300 may include system memory and non-volatile memory. In embodiments below, the system memory of the memory module 300 may be a system memory 310, and the non-volatile memory of the memory module 300 may be a non-volatile memory 320. The system memory may function as working memory required for operating the security device 10. In an embodiment, the interface block 250 may store the validity map and the helper data generated in the enrollment mode in the system memory. The interface block 250 may store the validity map and the helper data stored in the system memory in the non-volatile memory when the enrollment mode is completed.
In an example, the system memory may include high-speed volatile memory such as a latch, a register, static random access memory (SRAM), or dynamic random access memory (DRAM). The non-volatile memory in the system memory is memory in which data is not lost although power supply such as an electronic fuse is blocked and may include NAND flash memory, NOR flash memory, resistive random access memory (RRAM), ferroelectric random access memory (FRAM), phase change random access memory (PRAM), thyristor random access memory (TRAM), magnetic random access memory (MRAM), or one time programmable (OTP) memory.
Referring to
Entering the enrollment mode, the PUF block 110 may output the plurality of random signals RS generated by the plurality of PUF cells included in the PUF block 110 to the validity detector 120 and the enrollment block 210. The validity detector 120 may generate the plurality of validity signals VS based on whether the plurality of random signals RS change in accordance with a time or a condition. In an embodiment, the plurality of validity signals VS may be respectively matched to the plurality of random signals RS one-by-one.
The enrollment block 210 may generate the validity map VM representing whether the plurality of random signals RS are valid based on the plurality of validity signals VS and may store the generated validity map VM in the system memory 310 through the interface block 250. In addition, the enrollment block 210 may select the valid random signals from the plurality of random signals RS based on the generated validity map VM and may generate the row key RKEY by using the selected random signals. The enrollment block 210 may output the generated row key RKEY to the encoding block 220.
The encoding block 220 may generate the parity code by performing the error correction operation on the received row key RKEY based on the previously determined error correction code. The encoding block 220 may store the generated parity code in the system memory 310 through the interface block 250 as the helper data HD.
The interface block 250 may store the validity map VM and the helper data HD in the system memory 310 in the enrollment mode. The interface block 250 may store the validity map VM and the helper data HD stored in the system memory 310 in the non-volatile memory 320 when the enrollment mode is completed.
Referring to
The enrollment block 210 may generate validity bits VB based on each of the plurality of validity signals VS and may generate the validity map VM by using the validity bits VB. In an embodiment, the enrollment block 210 may allot the first bit (for example, ‘1’) as the validity bit VB when any of the plurality of validity signals VS has the first value representing that the validity signal VS is valid and may allot the second bit (for example, ‘0’) as the validity bit VB when any of the plurality of validity signals VS has the second value representing that the validity signal VS is not valid. In another embodiment, the enrollment block 210 may allot the plurality of validity signals VS as the validity bits VB. The enrollment block 210 may generate the validity map VM by using the validity bits VB and may output the generated validity map VM to the interface block 250. In the example of
The enrollment block 210 may select the valid random signals from the plurality of random signals RS by using the generated validity bits VB. In the example of
Referring to
The enrollment block 210 may generate the validity bits VB based on the plurality of first validity signals VS1 and the plurality of second validity signals VS2 and may generate the validity map VM by using the validity bits VB. In an embodiment, the enrollment block 210 may allot the first bit (for example, ‘1’) as the validity bit VB when each of the first validity signal VS1 and the second validity signal VS2 corresponding to any of the random signals has the first value representing that each of the first validity signal VS1 and the second validity signal VS2 is valid, and may allot the second bit (for example, ‘0’) as the validity bit VB when either of the first validity signal VS1 or the second validity signals VS2 has the second value representing that the first validity signal VS1 or the second validity signal VS2 is not valid. In an embodiment, the enrollment block 210 may generate a resultant value obtained by performing an AND operation on the first validity signal VS1 and the second validity signal VS2 as the validity bit VB. The enrollment block 210 may generate the validity map VM by using the validity bits VB and may output the generated validity map VM to the interface block 250. In the example of
The enrollment block 210 may select the valid random signals from the plurality of random signals RS by using the generated validity bit VB. In the example of
Referring to
The encoding block 220 may generate the parity data PDAT as the helper data HD and may store the helper data HD in the memory module 300. In an embodiment, when the security device 10 generates a plurality of keys, the helper data HD may include the parity data PDAT for each of the plurality of keys. The helper data HD including the parity data PDAT is indicated by the arrow symbol pointing down and to the right in
Referring to
The encoding block 220 may generate the first parity data PDAT1 and the second parity data PDAT2 as the helper data HD and may store the helper data HD in the memory module 300. The helper data HD including the first parity data PDAT1 and the second parity data PDAT2 is indicated by both the plus (+) symbol and the arrow symbol pointing to the right in
Referring to
Entering the use mode, the PUF block 110 may output the plurality of random signals RS generated by the plurality of PUF cells included in the PUF block 110 to the key generator 230.
The key generator 230 may read the validity map VM from the non-volatile memory 320 through the interface block 250 and may select the valid random signals from the plurality of random signals RS based on the read validity map VM. In an embodiment, the key generator 230 may select the valid random signals by using the validity map VM loaded on the system memory 310 from the non-volatile memory 320. The key generator 230 may generate the row key RKEY by using the selected valid random signals. In an embodiment, the key generator 230 may generate the row key RKEY by concatenating the selected valid random signals.
According to an embodiment of the present disclosure, the key generator 230 may select the valid random signals by using the validity map VM without an additional validity signal. Since the validity detector 120 is disabled in the use mode, power efficiency may increase and resources required for generating a key may be reduced.
The decoding block 240 may read the helper data HD from the memory module 300 through the interface block 250 and may perform error correction on the row key RKEY by using the read helper data HD. In an embodiment, the decoding block 240 may perform error correction by using the helper data HD loaded on the system memory 310 from the non-volatile memory 320. The decoding block 240 may obtain one or more parity data pieces from the helper data HD and may perform error correction on the row key RKEY by using the obtained parity data pieces. The decoding block 240 may output the key KEY generated as a result of performing error correction to the outside (for example, the host). In an embodiment, the decoding block 240 may output the key KEY through the interface block 250. The interface block 250 may interface with the outside, or may control interfaces that interface with the outside. In an embodiment, the decoding block 240 may output the row key RKEY on which error correction is performed as the key KEY.
According to an embodiment of the present disclosure, the decoding block 240 may efficiently perform error correction with increased accuracy by performing error correction on the row key RKEY by using the previously generated helper data HD.
The interface block 250 may load the validity map VM and the helper data HD on the system memory 310 from the non-volatile memory 320 included in the memory module 300 in the use mode. The key generator 230 and the decoding block 240 may perform the above-described operation by using the validity map VM and the helper data HD loaded on the system memory 310.
Referring to
The key generator 230 may determine a random signal corresponding to the first bit (for example, ‘1’) representing validity as the validity bit VB as a valid random signal and may determine a random signal corresponding to the second bit (for example, ‘0’) representing invalidity as the validity bit VB as an invalid random signal. In the example of
Referring to
In an embodiment, the decoding block 240 may obtain a plurality of parity data pieces PDAT from the helper data HD. The decoding block 240 may perform error correction in accordance with a first error correction algorithm on the row key RKEY by using first parity data among the plurality of parity data pieces PDAT and then, may perform error correction in accordance with a second error correction algorithm on the row key RKEY by using second parity data among the plurality of parity data pieces PDAT.
In an embodiment, the decoding block 240 may obtain a resultant value in accordance with the majority voting as the first parity data from the helper data HD and may perform error correction on the row key RKEY by using the majority voting. After error correction is performed by using the majority voting, the decoding block 240 may obtain a resultant value in accordance with the BCH code as the second parity data from the helper data HD and may finally generate the key KEY by performing error correction on the row key RKEY by using the BCH code.
Referring to
The attack detector 252a may include a register receiving a key generated in the use mode or the enrollment mode and storing the key before outputting the key to the outside. The attack detector 252a may determine whether the register storing the key is attacked from the outside. In an embodiment, the attack detector 252a may generate an inverted key by inverting one or more bits of the key and may determine whether the register is attacked from the outside by comparing the inverted key with the key obtained by the register.
According to an embodiment of the present disclosure, the attack detector 252a may guarantee the integrity of the key by determining whether the register storing the key is attacked by using the inverted key.
In
Referring to
The inverter INV may store the inverted key KEYb in the second register Rg2 and the comparator Cmp may generate an attack detection signal AD by receiving the key KEY from the first register Rg1, receiving the inverted key KEYb from the second register Rg2, and comparing the key KEY with the inverted key KEYb. In an example, the comparator Cmp may compare the key KEY with the inverted key KEYb bit-by-bit, may output ‘0’ as the attack detection signal AD when all the bits of the key KEY are different from all the bits of the inverted key KEYb, and may output ‘1’ as the attack detection signal AD when any of the bits of the key KEY are the same as the corresponding bits of the inverted key KEYb.
The key switch KS may receive the key KEY and may output the key KEY based on the attack detection signal AD. In an example, based on the attack detection signal AD, the key switch KS may output the key KEY when all the bits of the key KEY are different from all the bits of the inverted key KEYb and may not output the key KEY when any of the bits of the key KEY are the same as the corresponding bits of the inverted key KEYb. In an example, the key switch KS may inform the key generator 230a (
The first register Rg1 may be exposed to the outside as a physical device. Therefore, an attacker may confirm the key KEY stored in the first register Rg1 through decapsulation. According to an embodiment of the present disclosure, the attack of the attacker may be detected based on whether the key KEY included in the first register Rg1 is transformed. As a result, when the key KEY is transformed, the integrity of the key KEY may be guaranteed by generating a new key KEY without using the transformed key KEY.
Referring to
Referring to
The PUF block 110b may generate a random signal RS and may output the generated random signal RS to the integrity detector 400b. The inverted signal generator 130b may generate an inverted random signal RSb by inverting the random signal RS generated by the PUF block 110b. The inverted signal generator 130b may output the generated inverted random signal RSb to the integrity detector 400b. For this purpose, in an embodiment, the inverted signal generator 130b may include at least one inverter.
The integrity detector 400b may detect integrity of the random signal RS by receiving the random signal RS and the inverted random signal RSb and comparing the random signal RS with the inverted random signal RSb. The integrity detector 400b may output a result of detecting the integrity of the random signal RS to the post processor 200b as an integrity bit IB. In an embodiment, the integrity detector 400b may include at least one comparator comparing the random signal RS with the inverted random signal RSb and the comparator may compare bits of the random signal RS with bits of the inverted random signal RSb.
When it is determined that all the bits of the random signal RS are different from all the bits of the inverted random signal RSb, the integrity detector 400b may output the first value (for example, ‘1’) representing integrity as the integrity bit IB. When it is determined that any of the bits of the random signal RS are the same as the corresponding bits of the inverted random signal RSb, the integrity detector 400b may output the second value (for example, ‘0’) representing non-integrity as the integrity bit IB.
In an embodiment, after the random signal RS is generated by the PUF circuit 100b, the random signal RS may be transformed by an external attacker. In this case, at least one bit of the inverted random signal RSb generated by the PUF circuit 100b may not be different from at least one corresponding bit of the random signal RS. That is, based on the integrity bit, the post processor 200b may determine whether the random signal RS has integrity.
The post processor 200b may include an enrollment block 210b and a key generator 230b. In the enrollment mode, when the first value which indicates integrity is received as the integrity bit, the enrollment block 210b may generate a row key based on the random signal RS and may generate information on a valid random signal as a validity map like in the above-described method. When the second value indicating non-integrity is received as the integrity bit IB, the enrollment block 210b may discard the random signal RS and may request the PUF circuit 100b to provide a new random signal. In another embodiment, the enrollment block 210b may discard the random signal corresponding to the second value as the integrity bit IB and may perform an enrollment process by using only the random signal corresponding to the first value as the integrity bit IB. That is, bits of the random signal indicating non-integrity may be discarded, and bits of the random signal indicating integrity may be enrolled as the random signal. The key KEY may then be generated using the random signal enrolled with only the bits indicating integrity.
When the first value representing integrity is received as the integrity bit IB in the use mode, the key generator 230b may generate the row key based on the random signal RS and the post processor 200b may output the key KEY generated by using the row key to the outside. When the second value representing non-integrity is received as the integrity bit IB, the key generator 230b may discard the random signal RS and may request the PUF circuit 100b to provide a new random signal. In addition, in another embodiment, the key generator 230b may discard the random signal corresponding to the second value as the integrity bit IB and may generate the key KEY by using only the random signal corresponding to the first value as the integrity bit IB. According to the embodiment of at least
According to an embodiment of the present disclosure, the integrity detector 400b may determine whether the random signal RS is attacked by using the random signal RS and the inverted random signal RSb and may help ensure the integrity of the random signal RS.
Referring to
The integrity detector 400b may allot the first value (for example, ‘1’) as the integrity bit IB when some bits of the random signal RS are different from some bits of the inverted random signal RSb and may allot the second value (for example, ‘0’) as the integrity bit IB when some bits of the random signal RS are not different from some bits of the inverted random signal RSb. For example, for any bit of the random signal RS that is different from the corresponding bit of the inverted random signal RSb, the integrity detector 400b may allot the first value (for example, ‘1’) as the integrity bit IB. For any bit of the random signal RS that is not different from the corresponding bit of the inverted random signal RSb, the integrity detector 400b may allot the second value (for example, ‘0’) as the integrity bit IB.
In the example of
Because the post processor 200b receives ‘111010’ as the integrity bits IB, which means at least one random signal RS with non-integrity exists, the random signal RS may be discarded and a new random signal may be requested from the PUF circuit 100b. In addition, in another embodiment, because the post processor 200b receives ‘111010’ as the integrity bits IB, fourth and sixth bits of the random signal RS with non-integrity are discarded and the enrollment process may be performed or a key may be generated by using only first, second, third, and fifth bits of the random signal RS.
Referring to
The processor 400c may communicate with another device through a communication channel CH and may transmit a key KEY. The communication channel CH may include a cable channel and/or a radio channel.
Referring to
Referring to
The devices 10_1 to 10_m may provide a key to the computing system 20e through the network 30 based on a validity map and helper data generated in the enrollment process and the computing system 20e may communicate with the devices 10_1 to 10_m by performing encryption by using the key. In an embodiment, each of the first to mth integrated circuits IC1 to ICm included in the devices 10_1 to 10_m may operate in the use mode by the method described in detail with reference to
Referring to
The processor 3100 may control an overall operation of the computing device 3000. The processor 3100 as a central processing unit (CPU) may perform various kinds of operations. For example, the processor 3100 may include one or more processor cores.
The working memory 3200 may exchange data with the processor 3100. The working memory 3200 may arbitrarily store data used for the operation of the computing device 3000. For example, the working memory 3200 may include high-speed memory such as dynamic random access memory (DRAM) or static RAM (SRAM).
The PUF device 3300 may be the PUF circuit 100 described in detail with reference to
The NVM interface 3500 may exchange data with the NVM 3600 in accordance with control of the processor 3100, the PUF device 3300, or the crypto processor 3400. The NVM 3600 may store data required to be kept regardless of power supply. In an embodiment, in the NVM 3600, the validity map and helper data described above with reference to
The user interface 3700 may relay communications between a user and the computing device 3000 in accordance with the control of the processor 3100. The user interface 3700 may include an input interface such as a keyboard, a keypad, a button, a touch panel, a touch screen, a touch pad, a touch ball, a camera, a microphone, a gyroscope sensor, or a vibration sensor. Furthermore, the user interface 3700 may include an output interface such as a liquid crystal display (LCD), a light emitting diode (LED), an organic LED (OLED), an active matrix OLED (AMOLED), a speaker, or a motor.
A bus 3800 may provide a communication path between the components of the computing device 3000. The components of the computing device 3000 may transmit and receive data to and from each other in accordance with a bus format. In an embodiment, the bus format may include a universal serial bus (USB), a small computer system interface (SCSI), a peripheral component interconnect express (PCIe), an advanced technology attachment (ATA), a parallel ATA (PATA), a serial ATA (SATA), a serial attached SCSI (SAS), or integrated drive electronics (IDE).
While the inventive concept(s) described herein have been particularly shown and described with reference to embodiments thereof, it will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the following claims.
Kim, Yongsoo, Karpinskyy, Bohdan, Ahn, KyoungMoon, Choi, Yunhyeok, Lee, Yongki
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
8928347, | Sep 28 2012 | Intel Corporation, INC | Integrated circuits having accessible and inaccessible physically unclonable functions |
9948471, | Jun 18 2015 | PANASONIC SEMICONDUCTOR SOLUTIONS CO , LTD | Tamper-resistant non-volatile memory device and integrated circuit card |
20160041783, | |||
20160156476, | |||
20180183614, | |||
20180241557, | |||
20180270014, | |||
20180351753, | |||
20190138753, | |||
20190147967, | |||
20200153627, | |||
EP2773061, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jul 29 2020 | AHN, KYOUNGMOON | SAMSUNG ELECTRONICS CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 053728 | /0674 | |
Jul 29 2020 | KIM, YONGSOO | SAMSUNG ELECTRONICS CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 053728 | /0674 | |
Jul 29 2020 | LEE, YONGKI | SAMSUNG ELECTRONICS CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 053728 | /0674 | |
Jul 29 2020 | CHOI, YUNHYEOK | SAMSUNG ELECTRONICS CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 053728 | /0674 | |
Jul 29 2020 | KARPINSKYY, BOHDAN | SAMSUNG ELECTRONICS CO , LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 053728 | /0674 | |
Sep 08 2020 | Samsung Electronics Co., Ltd. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Sep 08 2020 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Date | Maintenance Schedule |
Nov 29 2025 | 4 years fee payment window open |
May 29 2026 | 6 months grace period start (w surcharge) |
Nov 29 2026 | patent expiry (for year 4) |
Nov 29 2028 | 2 years to revive unintentionally abandoned end. (for year 4) |
Nov 29 2029 | 8 years fee payment window open |
May 29 2030 | 6 months grace period start (w surcharge) |
Nov 29 2030 | patent expiry (for year 8) |
Nov 29 2032 | 2 years to revive unintentionally abandoned end. (for year 8) |
Nov 29 2033 | 12 years fee payment window open |
May 29 2034 | 6 months grace period start (w surcharge) |
Nov 29 2034 | patent expiry (for year 12) |
Nov 29 2036 | 2 years to revive unintentionally abandoned end. (for year 12) |