+

GB2468419A - Circuit for detecting data or address errors in a smart card - Google Patents

Circuit for detecting data or address errors in a smart card Download PDF

Info

Publication number
GB2468419A
GB2468419A GB1006763A GB201006763A GB2468419A GB 2468419 A GB2468419 A GB 2468419A GB 1006763 A GB1006763 A GB 1006763A GB 201006763 A GB201006763 A GB 201006763A GB 2468419 A GB2468419 A GB 2468419A
Authority
GB
United Kingdom
Prior art keywords
output
circuit
logic circuit
round
logic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB1006763A
Other versions
GB201006763D0 (en
GB2468419B (en
Inventor
Odile Derouet
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020060051033A external-priority patent/KR100837270B1/en
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Priority claimed from GB0710989A external-priority patent/GB2438972B/en
Publication of GB201006763D0 publication Critical patent/GB201006763D0/en
Publication of GB2468419A publication Critical patent/GB2468419A/en
Application granted granted Critical
Publication of GB2468419B publication Critical patent/GB2468419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/002Countermeasures against attacks on cryptographic mechanisms
    • H04L9/003Countermeasures against attacks on cryptographic mechanisms for power analysis, e.g. differential power analysis [DPA] or simple power analysis [SPA]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/002Countermeasures against attacks on cryptographic mechanisms
    • H04L9/004Countermeasures against attacks on cryptographic mechanisms for fault attacks
    • H04L9/0612
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0675
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/04Masking or blinding
    • H04L2209/046Masking or blinding of operations, operands or results of the operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/12Details relating to cryptographic hardware or logic circuitry

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

An error detection circuit for a smart card performs logic operations on data carried on a data bus or on an address carried on an address bus to determine if the data or address has been corrupted. In one embodiment the circuit comprises a first logic circuit configured to perform a logic operation 431 (e.g. XOR) on input data and a first pattern (mask 411) to generate a first output value 460, a second logic circuit configured to perform a second logic operation 441 on input data and a second pattern (mask 412) to generate a second output value 470, a third logic circuit configured to perform a logic operation 454 on the first and second output values to generate a third value, and a detector circuit 455 configured to compare the third output value with a value corresponding to the logical combination of the first and second patterns and to recognize an error if the values are not equal. In another embodiment (fig. 9) the error detection is combined with a cryptographic system which encrypts data using an address associated with the data.

Description

CRYPTOGRAPHIC SYSTEMS FOR ENCRYPTING INPUT DATA, ERROR DETECTION CIRCUITS, AND METHODS OF OPERATING THE SAME
FIELD OF THE INVENTION
The present invention relates generally to integrated circuit devices and methods of operating the same and, more particularly, to cryptographic systems, error detection circuits, and methods of operating the same. This application is a divisional application of GB-A-243 8972.
BACKGROUND OF THE INVENTION
A smart card is a plastic card into which an integrated circuit (IC) may be installed, and may be similar to a credit card. Standards for smart card technology have been defined by the International Standards Organization (ISO) and the Joint Technical Committee 1 (JTC 1) of the International Electronic Committee (IEC). The International standard series ISO[IEC 7816 defines various characteristics of smart cards, such as physical properties, physical connections, electronic signals, transmission protocols, commands, security architectures, application identifiers, and general data elements.
Smart cards have been considered for use as multimedia information apparatus as they may provide better data retention than conventional magnetic cards and may provide better security. Smart cards may have the advantage of high security and large data storage capacity, which may be suitable for a wide range of applications.
Accordingly, smart cards have been used in applications in various fields, such as finance, distribution, traffic, mobile communication, and other applications.
FIG. 1 is a block diagram that illustrates a conventional smart card architecture. The smart card includes a CPU 11, RUM 12, RAM 13, EEPROM 14, I/O module 15, and bus 16 as shown. The CPU 11 may be configured to control overall data processing and arithmetic operations. The ROM 12 may be configured to store the operating system, boot code, and the initialization program. The RAM 13 may be used to store modifiable program(s) andlor temporary data. The EEPROM 14 may be used to store one or more application programs. The I/O module 15 may be used to allow the CPU 11 to communicate with an external device. The CPU 11, ROM 12, RAM 13, and EEPROM 14 are coupled by a bus 16. The bus 16 may include both a data bus and an address bus. The data bus may carry electrical signals between the CPU 11, ROM 12, RAM 13, and EEPROM 14, along with any other devices that may be connected to the bus 16, for the purpose of transferring data between them. The address bus may connect the CPU 11 to the main memory device(s) to identify particular locations (addresses) in the main memory. The width of the address bus determines how many unique memory locations can be addressed.
In smart card devices, it may be important to protect the confidentiality and integrity of the data carried on the data bus. Likewise, it may also be important to protect the integrity of the addresses carried on the address bus. If the data andlor addresses storedlused in the smart card are not secure, then a user or a system operator may be hesitant to store private or secret information in a smart card. Unauthorized access to a smart card is sometimes called "tempering." Tempering techniques include invasive attacks using microprobes and non-invasive attacks using software tools. Non-invasive attacks can involve performing a side channel analysis that decrypts a key code of a cryptographic algorithm (e.g., DES algorithm) using a pattern of power consumptioli (or current dissipation) or timing differences due to operations of the smart card. Side channel analysis techniques can be classified as simple power analysis (SPA) and differential power analysis (DPA). DPA and SPA are methods of analyzing a power signal generated by a low power consumption device, such as a smart card, in the course of calculations (or operations) to discover secret information stored in the smart card when the block cipher algorithm is applied to the smart card. DPA and SPA can be carried out based on the attacker estimating a specific bit of a cipher text after one round, which corresponds to a plaintext if the plaintext is known. One countermeasure to DPA and SPA is to prevent the attacker from knowing the plaintext in the course of calculations carried out inside the smart card.
Various countermeasures against DPA and SPA have been proposed. The countermeasures include hardware methods and software methods. The hardware methods include generating a noise power, randomizing an operation sequence, and/or filtering a power signal. The software methods include masking techniques in which a random number is generated inside a smart card and the random number is exclusive-OR'd with plaintext to make the plaintext be seen as a random number, thereby disabling power analysis.
SUMMARY
According to some embodiments of the present invention, a cryptographic system includes encryption logic that is configured to encrypt input data by performing a mask operation on the input data with an address associated with the input data.
In other embodiments of the present invention, the encryption logic includes a first logic circuit and a second logic circuit. The first logic circuit is configured to perform a first mask operation on the input data using at least a portion of an address so as to generate a first output. The second logic circuit is configured to perform a second mask operation on the first output using a key to generate a second output.
In still other embodiments of the present invention, each of the first and second mask operations includes an exclusive OR operation, an addition operation, a subtraction operation, a multiplication operation, and/or a division operation. The addition, subtraction, multiplication, and division operations are performed with respect to a modulus.
In still other embodiments of the present invention, an S-box circuit is configured to transform the second output. A permutation circuit is configured to permute the transformed second output so as to generate the encrypted input data.
In still other embodiments of the present invention, the permutation circuit is configured to perform a linear function on the transform second output.
In still other embodiments of the present invention, the linear function is a shift function or linear transformation of bits of the second output.
In still other embodiments of the present invention, the input data includes at least a byte of data. The S-box circuit comprises a first S-box circuit and a second S-box circuit that are configured to transform a first nibble of the second output and a second nibble of the second output, respectively.
In still other embodiments, the input data comprises at least a byte of data.
In still other embodiments of the present invention, the cryptographic system includes a processing unit. The encryption logic includes a cryptographic co-processor that is communicatively coupled to the processing unit. The cryptographic co-processor receives the input data from the processing unit.
In still other embodiments of the present invention, the encryption logic is integrated with the processing unit so as to form a single logical unit.
In still other embodiments of the present invention, the encryption logic includes a first round logic circuit that is configured to generate a first round logic circuit output responsive to the input data, at least a portion of an address, and a first key. A first round S-box circuit is configured to transform the first round logic circuit output. A first round permutation circuit is configured to permute the transformed first round logic circuit output so as to generate a first round output. A second round logic circuit is configured to generate a second round logic circuit output responsive to the first round output, at least a second portion of the address, and a second key.
A second round S-box circuit is configured to transform the second round logic circuit output. A second round permutation circuit is configured to permute the transformed second round logic circuit output so as to generate the encrypted input data.
In still other embodiments, the input data comprises at least a byte of data, and the first round S-box circuit comprises a first S-box circuit and a second S-box circuit that are configured to transform an upper bit nibble of the first round logic circuit output and a lower bit nibble of the first round logic circuit output, respectively, and the second round S-box circuit comprises a third S-box circuit and a fourth S-box circuit corresponding to the first S-box circuit and the second S-box circuit, respectively, that are configured to transform a lower bit nibble of the second round logic circuit output and an upper bit nibble of the second round logic circuit output, respectively.
In still other embodiments a method of operating a cryptographic system comprises encrypting input data by performing a mask operation on the input data using an address associated with the input data.
In still other embodiments encrypting the input data comprises performing a first mask operation on the input data using at least a portion of an address so as to generate a first output, and performing a second mask operation on the first output using a key to generate a second output.
In still other embodiments each of the first and second mask operations comprise an exclusive OR operation, an addition operation, a subtraction operation, a multiplication operation, and/or a division operation, wherein the addition, subtraction, multiplication, and division operations are perfonned with respect to a modulus.
In still other embodiments the method further comprises transforming the second output using an S-box circuit, and permuting the transformed second output so as to generate the encrypted input data.
In still other embodiments a computer program product comprises computer-readable program code embodied on a computer-readable medium, the computer readable program code being configured to carry out the method of operating a cryptographic system, comprising encrypting input data by performing a mask operation on the input data using an address associated with the input data.
According to some embodiments of the present invention, an error detection circuit includes a first logic circuit that is configured to perform a logic operation on input information and a first pattern so as to generate a first output. A second logic circuit is configured to perform a logic operation on the input information and a second pattern so as to generate a second output. A third logic circuit is configured to perform a logic operation on the first output and the second output to generate a third output. A detector circuit is configured to compare the third output with a value that corresponds to a logical combination of the first pattern with the second pattern, and to recognize an error if the value does not equal the third output.
In further embodiments of the present invention, the first logic circuit is configured to perform a mask operation, the second logic circuit is configured to perform the mask operation, and the third logic circuit is configured to perform the mask operation.
in still further embodiments of the present invention, the mask operation includes an exclusive OR operation, an addition operation, a subtraction operation, a multiplication operation, and/or a divisional operation. The addition, subtraction, multiplication, and division operations are performed with respect to a modulus.
In still further embodiments of the present invention, the error detection circuit includes a first bus that couples the first logic circuit to the third logic circuit.
A second bus couples the second logic circuit to the third logic circuit.
In still further embodiments of the present invention, the input information includes input data.
In still further embodiments of the present invention, the input information includes an input address.
In still further embodiments of the present invention, a fourth logic circuit is configured to perform a mask operation on the first output and the first pattern to obtain the input information.
According to other embodiments of the present invention, a cryptographic system includes a first encryption circuit that is configured to generate, responsive to input data, a first output that corresponds to encrypted input data having a mask operation performed thereon using a first pattern. A second encryption circuit is configured to generate, responsive to the input data, a second output that corresponds to the encrypted input data having the mask operation performed thereon using a second pattern. A detector input logic circuit is configured to perform the mask operation on the first output and the second output to generate a third output.
A detector circuit is configured to compare the third output with a value that corresponds to the first pattern having the mask operation performed thereon using the second pattern. An error is recognized if the value does not equal the third output.
In still other embodiments of the present invention, the first encryption circuit includes encryption logic that is configured to encrypt the input data by performing the mask operation on the input data using an address associated with the input data.
In still other embodiments of the present invention, the encryption logic includes a first logic circuit that is configured to perform the mask operation on the input data using the first pattern so as to generate a first logic circuit output. A second logic circuit is configured to perform the mask operation on the first logic circuit output using at least a portion of the address so as to generate a second logic circuit output. A third logic circuit is configured to perform the mask operation on the second logic circuit output using a key to generate a third logic circuit output.
In still other embodiments of the present invention, the mask operation includes an exclusive OR operation, an addition operation, a subtraction operation, a multiplication operation, andlor a division operation. The addition, subtraction, multiplication, and division operations are performed with respect to a modulus.
In still other embodiments of the present invention, an S'-box circuit is configured to transform the third logic circuit output. A permutation circuit is configured to permute the transformed third logic circuit output so as to generate the first output corresponding to the encrypted input data having the mask operation performed thereon using the first pattern.
In still other embodiments of the present invention, the S'-box circuit satisfies the following equation: S'(D XOR Ml XOR A XOR K) S(D XOR A XOR K) XOR P-1(M1); where D is the input data, Ml is the first pattern, A is the at least a portion of the address, K is the key, P-i is an inverse of the permutation performed by the permutation circuit, S'() is the S'-box transformation function, and SO is another S-box transformation used in a decryption operation.
Although described above primarily with respect to system andlor circuit embodiments of the present invention, it will be understood that the present invention can be embodied as a system, circuit, method, and/or computer program product.
BRIEF DESCRIPTION OF THE DRAWINGS
Other features of the present invention will be more readily understood from the following detailed description of specific embodiments thereof when read in conjunction with the accompanying drawings, in which: FIG. 1 is a block diagram that illustrates a conventional smart card architecture; FIG. 2 is a block diagram that illustrates a cryptographic system in accordance with and/or for use with some embodiments of the present invention; FIG. 3 is a block diagram that illustrates encryption logic circuitry for use in the cryptographic system of FIG. 2, in accordance with and/or for use with some embodiments of the present invention; FIG. 4 is an S-box table for use in the encryption logic circuitry of FIG. 3, in accordance with and/or for use with some embodiments of the present invention; FIG. 5 is a block diagram that illustrates decryption logic circuitry for use in the cryptographic system of FIG. 2, in accordance with and/or for use with some embodiments of the present invention; and FIG. 6 is a block diagram that illustrates a cryptographic system in accordance with and/or for use with further embodiments of the present invention.
FIG. 7 is a block diagram that illustrates an error detection circuit in accordance with some embodiments of the present invention; FIG. 8 is a block diagram that illustrates an error detection circuit in accordance with an embodiment of the present invention; C7 FIG. 9 is a block diagram that illustrates a cryptographic system that includes the error detection circuit of FIG. 7 in accordance with some embodiments of the present invention; and FIG. 10 is a block diagram that illustrates encryption logic circuitry for use in the cryptographic system of FIG. 9, in accordance wit6h some embodiments of the present invention.
DETAILED DESCRIPTION OF EMBODIMENTS
While the present invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that there is no intent to limit the invention to the particular forms disclosed, but on the contrary, the invention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the claims.
It will be understood that when an element is referred to as being "connected to" or "coupled to" another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly connected to" or "directly coupled to" another element, there are no intervening elements. As used herein, the term "andlor" and "I" includes any and all combinations of one or more of the associated listed items. Like numbers refer to like elements throughout the description.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" andlor "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It will be understood that although the terms first and second are used herein to describe various components, circuits, regions, layers and/or sections, these components, circuits, regions, layers and/or sections should not be limited by these terms. These terms are only used to distinguish one component, circuit, region, layer or section from another component, circuit, region, layer or section. Thus, a first component, circuit, region, layer or section discussed below could be termed a second component, circuit, region, layer or section, and similarly, a second component, circuit, region, layer or section may be termed a first component, circuit, region, layer or section without departing from the teachings of the present invention.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The present invention may be embodied as systems, methods, and/or computer program products. Accordingly, the present invention may be embodied in hardware and/or software (including firmware, resident software, micro-code, etc).
Furthermore, the present invention may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples (a nonexhaustive list) of the computer-readable medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a random access memory (RMA) a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a compact disc read-only memory (CD-ROM). Note that the computer-usable or computer readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
Some embodiments of the present invention stem from a realization that a smart card, for example, can include a cryptographic system that can be used to encrypt data using an address associated with the input data to protect against tempering attacks such as those discussed above. A smart card may include an error detection circuit in which various logic operations are performed on the data carried on a data bus and/or the address carried on an address bus to determine if the data andlor the address information have been corrupted.
Some embodiments of the present invention are described herein in the context of a smart card that includes a cryptographic function and/or an error detection function. It will be understood that embodiments of the present invention are not limited to smart cards and that the cryptographic systems and error detection circuits described herein may be used in other devices or as stand-alone devices.
Referring to FIG. 2, a smart card 100 includes a CPU 110, a cryptographic circuit 130, a key scheduler 140, and a memory 120 that are configured as shown.
The cryptographic circuit 130 may be embodied as a co-processor to the CPU 110.
The CPU 110 and the cryptographic circuit 130 may communicate data and address information therebetween. The key scheduler 140 may provide a key to the cryptographic circuit 130 that may be used to encrypt and/or decrypt data.
The cryptographic circuit 130 may include an encryption circuit 131 that is used to encrypt data that is carried on the bus 150 connecting the cryptographic circuit 130 and the memory 120 using an address that is associated with the data and/or a key obtained from the key scheduler 140. The cryptographic circuit 130 further includes a decryption circuit that is used to decrypt previously encrypted data.
FIG. 3 is a block diagram that illustrates encryption logic circuitry that may be used in the encryption circuit 131 of FIG. 2. The encryption logic circuitry includes a first round logic circuit 210 and a second round logic circuit 220. The first round logic circuit 210 includes XOR logic circuits 211 and 212, a data register 213, S-box circuits 214 and 215, and a permutation circuit 216 that are connected in series. Data to be encrypted is received at an input to the XOR circuit 211 where a mask operation is performed on the data using an address (addrl) associated with the data. The XOR circuit 212 performs a second mask operation on the output of the XOR circuit 211 using a key (key 1) obtained form the key scheduler 140. Although an exclusive OR logic operation is illustrated as the mask operations of blocks 211 and 212 in FIG. 3, it will be understood that the mask operation may comprise an exclusive OR operation, an addition operation, a subtraction operation, a multiplication operation, and/or a division operation, in which the addition, subtraction, multiplication, and division operations are performed with respect to a modulus.
The data register 213 holds the output of the XOR circuit 212 and provides a first portion of the output of the XOR circuit 212 to a first S-box circuit (51) 214 and a second portion of the output of the XOR circuit 212 to a second S-box circuit (S2) 215. An S-box is short for substitution box and is commonly used in cryptographic systems. In particular, S-boxes may be used to obscure the relationship between plaintext and cipher text. In operation, an S-box make take some number of input bits, m, and transform those input bits into some number of output bits, n, using, for example, a lookup table. FIG. 4 is an exemplary S-box table that may be used to implement S-box circuits 214 and 215. For example, if the input data is one byte having the value data = 1001 1010, addrl 0111 0011, and keyl 11000101, then the value stored in the data register is 0010 1100. The input to Si 214 is 0010 and the inputtoS22l5is 1100. RefeningtothetableofFlG.5,S1(2) 13=1101 and S2(12) = 9 1001. The input to the permutation circuit 216 is, therefore, 1101 1001.
The permutation circuit 216 is configured to perform a linear function on its input. The linear function may be a shift function or a linear transformation of bits.
In the example shown in FIG. 3, the permutation circuit 216 may be configured to performashiftoperationsuchthatPl(llOl 1001) 1011 0011.
The second round logic circuit 220 includes XOR logic circuits 221 and 222, a data register 223, S-box circuits 224 and 225, and a permutation circuit 226 that are connected in series. Operations of the second round logic circuit 220 are similar to those discussed above with respect to the first round logic circuit 210 with the exception that a second address (addr2) and a second key (key2) are used in the mask operations performed by the XOR logic circuits 221 and 222, respectively, instead of the first address (addrl) and the first key (key 1). Also, in the second round logic circuit 220, the S-box circuit Si operates on the lower nibble instead of the upper nibble and S-box circuit S2 operates on the upper nibble instead of the lower nibble.
The encrypted data that is output from the second round logic circuit 220 may be very difficult to decode. As a result, tempering attacks, such as those discussed above, on a smart card may not be successful in obtaining confidential data used in the smart card that has been encrypted in accordance with various embodiments of the present invention.
FIG. 5 is a block diagram that illustrates decryption logic circuitry that may be used in the decryption circuit 132 of FIG. 2. The decryption logic circuitry includes a first round logic circuit 310 and a second round logic circuit 320. The first round logic circuit 310 includes an inverse permutation circuit 311, inverse S-box circuits 312 and 313, a data register 314, and XOR logic circuits 315 and 316 connected in series. The first round logic circuit 310 is operable to undo the operations performed by the second round logic circuit 220 of FIG. 3. If the output of the first round logic circuit 210 of FIG. 3 is OP and represents a concatenation operation, then the inverse permutation circuit 311 generates an output given by the following equation P 2[P2(S2(OP XOR ADDR2 XOR KEY2) S1(OP XOR ADDR2 XOR 1(2))] = S2(OP XOR ADDR2 XOR KEY2) II S1(OP XOR ADDR2 XOR K2). The inverse S-box circuits 312 and 313 perform the following operations: S2 (S2(OP XOR ADDR2 XOR KEY2)) = OP XOR ADDR2 XOR KEY2 and S' (SI (OP XOR ADDR2 XOR KEY2)) OP XOR ADDR2 XOR KEY2. The first XOR logic circuit 315 performs the following operation: OP XOR ADDR2 XOR KEY2 XOR ADDR2 = OP XOR KEY2. Finally, the second XOR logic circuit 316 performs the following operation: OP XOR KEY2 XOR KEY2 = OP. Thus, the first round logic circuit 310 recovers the output of the first round logic circuit 210 of the encryption circuit 131 at an output thereof.
The second round logic circuit 320 includes an inverse permutation circuit 321, inverse S-box circuits 322 and 323, a data register 324, and XOR logic circuits 325 and 326 connected in series. The second round logic circuit 320 is operable to undo the operations performed by the first round logic circuit 210 of FIG. 3.
Operations of the second round logic circuit 320 are similar to those discussed above with respect to the first round logic circuit 310. That is, the second round logic circuit 320 receives at its input the output of the first round logic circuit 210 of the encryption circuit 131 of FIG. 3 and generates the original unencrypted data at its output.
Returning to FIG. 2, the smart card 100 may advantageously transmit encrypted data over the bus 150 to the memory 120 in accordance with the various embodiments described above with respect to FIGS. 3 and 4. The encrypted data may be difficult to decode through power analysis techniques because of the mask operations, S-box operations, andlor the permutation operations performed by the encryption circuitry. Embodiments may also be scaled in accordance with the level of protection desired. For example, the encryption and decryption circuitry described above with respect to FIGS. 3 5 incorporate two rounds of encryptionldecryption operations. Fewer or more rounds of encryptionldecryption operations may be used.
In the examples described above with respect to FIGS. 3 -5, the input data was one byte. It may be desirable, however, to perform the cryptographic operations described above on other data sizes depending on the bus width. Thus, the operations described above with respect to FIGS. 3 -5 may be performed in parallel to support, for example, 16 bit, 32 bit, 64 bit, or other bus widths.
FIG. 6 is a block diagram that illustrates a cryptographic system. Referring to FIG. 6, a smart card 100', includes a CPU 110', an encryption circuit 131', a decryption circuit 132', a key scheduler 140', and a memory 120' that are configured as shown. The memory 120' is coupled to the CPU 110' by a data bus 150'.
Operations of the encryption circuit 131' and the decryption circuit 132' are similar to the operations of the encryption circuit 131 and the decryption circuit 132 of FIG. 2 discussed above. A difference between the smart card 100' of FIG. 6 and the smart card 100 of FIG. 2 is that the encryption logic in the smart card 100' is integrated with the CPU 110' so as to form a single logic unit, whereas the cryptographic circuit 130 of FIG. 2 is configured as a co-processor to the CPU 110 of FIG. 2.
FIG. 7 is a block diagram that illustrates an error detection circuit in accordance with some embodiments of the present invention, Referring to FIG. 7, the error detection circuit includes a CPU 410, three logic circuits 430, 440, and 450, and a memory 420 that are configured as shown. The data bus coupled to the CPU 410 is connected in parallel to the logic circuits 430 and 440. The XOR logic circuit 431 performs a mask operation on the data using a first pattern MASK 1 (Ml) and stores the output in a register 432. Similarly, the XOR logic circuit 441 performs a mask operation on the data using a second pattern MASK2 (M2) and stores the output in a register 442. Although an exclusive OR logic operation is illustrated as the mask operations of blocks 431 and 441 in FIG. 7, it will be understood that the mask operation may comprise an exclusive OR operation, an addition operation, a -subtraction operation, a multiplication operation, and/or a division operation, in which the addition, subtraction, multiplication, and division operations are performed with respect to a modulus, in accordance with various embodiments of the present invention.
The logic circuit 430 provides input data XOR Ml at the output 460 and the logic circuit 440 provides input data XOR M2 at the output 470. These outputs are respectively provided to registers 451 and 452 of the logic circuit 450. The logic circuit 450 further includes XOR logic circuits 453 and 454. The XOR logic circuit 453 is used to recover the original input data by performing a mask operation on the contents of the register 451 using the first pattern MASK1 (Ml). The output of the XOR logic circuit 453 is given by the following equation: input data XOR Ml XOR Ml = input data. Thus, the input data is stored in the memory 420.
The XOR logic circuit 454 performs a mask operation on the contents of the register 452 using the contents of register 451. The output of the XOR logic circuit 454 is given by the following equation: input data XOR Ml XOR input data XOR M2 = Ml XOR M2. An error detector circuit 455 can compare the output of the XOR logic circuit 454 with the known result of Ml XOR M2. If the output of the XOR logic circuit 454 is not MI XOR M2, then the input data on at least one branch of the dual data bus has been corrupted and an error is recognized.
FIG, 8 is a block diagram that illustrates an error detection circuit in accordance with an embodiment of the present invention. The error detection circuit of FIG. 8 includes the same components as the error detection circuit of FIG. 7 with like components being denoted by the same reference numbers, but including a trailing apostrophe at the end of the number. Instead of dual data bus embodiments as illustrated in FIG. 7, however, FIG. 8 illustrates dual address bus embodiments.
Operations of the error detection circuit of FIG. 8 are similar to those of the error detection circuit of FIG. 7 with the exception that they are applied to address information carried on a dual address bus.
In accordance with further embodiments of the present invention, the cryptographic system embodiments of FIGS. 2 -6 may be combined with the error detection circuit embodiments of FIGS. 7 and 8. Referring to FIG. 9, a cryptographic system that includes an error detection circuit, in accordance with some embodiments of the present invention, is illustrated. The cryptographic system of FIG. 9, in accordance with some embodiments of the present invention, includes a CPU 510, a cryptographic circuit 530, a key scheduler 540, an error detection circuit 550, and a memory 520 that are configured as shown. The cryptographic circuit 530 may be embodied as a co-processor to the CPU 510. The CPU 510 and the cryptographic circuit 530 may communicate data and address information therebetween. In other embodiments, the CPU 510 and cryptographic circuit 530 may be embodied in a single logical unit, such as that illustrated in FIG. 6 discussed above. The architecture and operations of the encryption circuits 531 and 532 are substantially similar to the architecture and operations of the encryption circuit 131 of FIG. 2 with the exception being the design of the S-box circuit. Similarly, the architecture and operations of the decryption circuit 533 is substantially similar to the architecture and operations of the decryption circuit 532 of FIG. 2 with the exception being the design of the inverse 5-box circuit.
As shown in FIG. 9, the cryptographic circuit 530 generates encrypted data XOR MASK 1 (Ml) at output 560 and encrypted data XOR MASK. 2 (M2) at output 570. The architecture and operations of the error detection circuit 550 is the same as the logic circuits 450 and 450' of the error detection circuits of FIGS. 7 and 8, respectively.
Referring to FIG. 10, encryption logic circuitry that may be used in the encryption circuits 531 and/or 532 of FIG. 9, in accordance with some embodiments of the present invention, will be described. For purposes of illustration, the encryption logic circuitry of FIG. 10 will be described with respect to an implementation of the encryption circuit 531. The first and second round logic circuits 610 and 620 are substantially the same as the first and second round logic circuits 210 and 220 discussed above with respect to FIG. 3. The sub-components of the first and second round logic circuits 610 and 620 are numbered in corresponding fashion to the sub-components of the first and second round logic circuits 210 and 220. In contrast to the encryption logic circuitry of FIG. 3, however, the S-box circuits 614, 615, 624, and 625 are different from the corresponding S-box circuits of FIG. 3. This is because the input to the first round logic circuit 610 is not merely input data, but is input data on which the XOR logic circuit 605 has applied a mask operation using the pattern MASK1 (Ml).
A goal is to generate at the output of the encryption circuit 531 encrypted data XOR Ml. This allows the pattern MASK1 (Ml) to be removed by a simple XOR mask operation and then the decryption circuit 533 can decrypt the encrypted data using the encryption logic, including the S-box table of FIG. 4, to recover the original input data. To ensure that the output of the encryption circuit 531 is the encrypted data XOR Ml, the new SI circuit 614, 624 satisfies the following equation: S1'(D XOR Ml XOR A XOR K) = S1(D XOR A XOR K) XOR W'(Ml); where D is the input data, Ml is the first pattern, A is the at least a portion of the address (addrl), K is the key (keyl), P is an inverse of the permutation performed by the permutation circuit 616, Sl() is the Sli transformation function, and SlO is another S-box transformation used in a decryption operation. Similarly, the new S2 circuit 615, 625 satisfies the following equation: ST(D XOR Ml XOR A XOR K) = S2(D XOR A XOR K) XOR W1(M1); where D is the input data, Ml is the first pattern, A is the at least a portion of the address (addrl), K is the key (keyl), P1 is an inverse of the permutation performed by the permutation circuit 616, Sl'() is the S2 transformation function, and S2() is another S-box transformation used in a decryption operation.
If i = D XOR Al XOR K 1, then the foregoing equations for the new Si circuit 614, 624 and the new S2 circuit 615, 625 can be written as follows: Sl'(i XOR Ml) = S 1(i) XOR W'(Ml); and S2!(i XOR Ml) = S2(i) XOR P'(Ml).
The output of the first round logic circuit 610 is given by the following equations: P(S1'(i XOR Ml) II S2'(i XOR Ml)) Which can be rewritten as follows: P(Sl(i) XOR W1(Ml) II S2(i) XOR P1(M1)) = P((Sl(i) S2(i)) XOR P' (Ml)) Which can be rewritten as follows: P(Sl(i) II S2(i)) XOR P(P'(Ml)) P(S1(i) II S2(i)) XOR Ml Thus, the output of the first round logic circuit 610 is: ED1XORMI.
It will be appreciated that the functionality of any or all of the modules of the encryption circuit 131 and decryption circuit 132 of FIG. 2, the encryption circuit 131' and decryption circuit 132' of FIG. 6 may be implemented using discrete hardware components, one or more application specific integrated circuits (ASICs), or a programmed digital signal processor or microcontroller. Computer code for carrying out operations of cryptographic systems and/or error detection circuits discussed above may be written in a high-level programming language, such as Java (RTM), C, and/or C++, for development convenience. In addition, computer code for carrying out operations of the present invention may also be written in other programming languages, such as, but not limited to, interpreted languages. Some modules or routines may be written in assembly language or even micro-code to enhance perfonnance and/or memory usage.
In concluding the detailed description, it should be noted that many variations and modifications can be made to the embodiments without substantially departing from the principles of the present invention. All such variations and modifications are intended to be included herein within the scope of the present invention, as set forth in the following claims.

Claims (38)

  1. CLAIMS: 1. An error detection circuit, comprising: a first logic circuit that is configured to perform a logic operation on input information and a first pattern so as to generate a first output; a second logic circuit that is configured to perform a logic operation on the input information and a second pattern so as to generate a second output; a third logic circuit that is configured to perform a logic operation on the first output and the second output to generate a third output; and a detector circuit that is configured to compare the third output with a value corresponding to a logical combination of the first pattern with the second pattern and to recognize an error if the value does not equal the third output.
  2. 2. The error detection circuit of Claim 1, wherein the first logic circuit is configured to perform a mask operation, the second logic circuit is configured to perform the mask operation, and the third logic circuit is configured to perform the mask operation.
  3. 3. The error detection circuit of Claim 2, wherein the mask operation comprises an exclusive OR operation, an addition operation, a subtraction operation, a multiplication operation, and/or a division operation, wherein the addition, subtraction, multiplication, and division operations are performed with respect to a modulus.
  4. 4. The error detection circuit of Claim 1, further comprising: a first bus that couples the first logic circuit to the third logic circuit; and a second bus that couples the second logic circuit to the third logic circuit.
  5. 5. The error detection circuit of Claim 1, wherein the input information comprises input data.
  6. 6. The error detection circuit of Claim 1, wherein the input information comprises an input address.
  7. 7. The error detection circuit of Claim 1, further comprising: a fourth logic circuit that is configured to perform a mask operation on the first output and the first pattern to obtain the input information.
  8. 8. A method of operating an error detection circuit, comprising: performing a first logic operation on input information and a first pattern so as to generate a first output; performing a second logic operation on the input information and a second pattern so as to generate a second output; performing a third logic operation on the first output and the second output to generate a third output; comparing the third output with a value corresponding to a logical combination of the first pattern with the second pattern; and recognizing an error if the value does not equal the third output.
  9. 9. The method of Claim 8, wherein the input information comprises input data.
  10. 10. The method of Claim 8, wherein the input information comprises an input address.
  11. 11. A computer program product comprising computer-readable program code embodied on a computer-readable medium, the computer readable program code being configured to carry out the method of Claim 8.
  12. 12. A cryptographic system, comprising: a first encryption circuit that is configured to generate, responsive to input data, a first output corresponding to encrypted input data having a mask operation performed thereon using a first pattern; a second encryption circuit that is configured to generate, responsive to the input data, a second output corresponding to the encrypted input data having the mask operation performed thereon using a second pattern; a detector input logic circuit that is configured to perform the mask operation on the first output and the second output to generate a third output; and a detector circuit that is configured to compare the third output with a value corresponding to the first pattern having the mask operation performed thereon using the second pattern, and to recognize an error if the value does not equal the third output.
  13. 13. The cryptographic system of Claim 12, wherein the first encryption circuit, comprises: encryption logic that is configured to encrypt the input data by performing the mask operation on the input data using an address associated with the input data.
  14. 14. The cryptographic system of Claim 13, wherein the encryption logic comprises: a first logic circuit that is configured to perform the mask operation on the input data using the first pattern so as to generate a first logic circuit output; a second logic circuit that is configured to perform the mask operation on the first logic circuit output using at least a portion of the address so as to generate a second logic circuit output; and a third logic circuit that is configured to perform the mask operation on the second logic circuit output using a key to generate a third logic circuit output.
  15. 15. The cryptographic system of Claim 14, wherein the mask operation comprises an exclusive OR operation, an addition operation, a subtraction operation, a multiplication operation, andior a division operation, wherein the addition, subtraction, multiplication, and division operations are performed with respect to a modulus.
  16. 16. The cryptographic system of Claim 15, further comprising: an S-box circuit that is configured to transform the third logic circuit output; and a permutation circuit that is configured to permute the transformed third logic circuit output so as to generate the first output corresponding to the encrypted input data having the mask operation performed thereon using the first pattern.
  17. 17. The cryptographic system of Claim 16, wherein the S'-box circuit satisfies the following equation: S'(D XOR Ml XOR A XOR K) = S(D XOR A XOR K) XOR P-l(M1); where D is the input data, Ml is the first pattern, A is the at least a portion of the address, K is the key, P-i is an inverse of the permutation performed by the permutation circuit, S'() is the S'-box transformation function, and SO is another S-box transformation used in a decryption operation.
  18. 18. The cryptographic system of Claim 16, wherein the input data comprises at least a byte of data, and wherein the S'-box circuit comprises a first S'-box circuit and a second S'-box circuit that are configured to transform a first nibble of the third logic circuit output and a second nibble of the third logic circuit output, respectively.
  19. 19. The cryptographic system of Claim 13, wherein the encryption logic comprises: a first round logic circuit that is configured to generate a first round logic circuit output responsive to the input data, the first pattern, at least a first portion of an address, and a first key; a first round S'-box circuit that is configured to transform the first round logic circuit output; and a first round permutation circuit that is configured to permute the transformed first round logic circuit output so as to generate a first round output; a second round logic circuit that is configured to generate a second round logic circuit output responsive to the first round output, at least a second portion of the address, and a second key; a second round S-box circuit that is configured to transform the second round logic circuit output; and a second round permutation circuit that is configured to permute the transformed second round logic circuit output so as to generate the first output corresponding to the encrypted input data having the mask operation performed thereon using the first pattern.
  20. 20. The cryptographic system of Claim 19, wherein the first and second round S'-box circuits satisfy the following equation: S'(D XOR Ml XOR A XOR K) = S(D XOR A XOR K) XOR P-1(M1); where D is the input data, Ml is the first pattern, A is the at least a portion of the address, K is the key, P-i is an inverse of the permutation performed by the permutation circuit, S'() is the S'-box transformation function, and SQ is another S-box transformation used in a decryption operation.
  21. 21. The cryptographic system of Claim 20, wherein the input data comprises at least a byte of data, and wherein the first round S-box circuit comprises a first S'-box circuit and a second S'-box circuit that are configured to transform an upper bit nibble of the first round logic circuit output and a lower bit nibble of the first round logic circuit output, respectively, and wherein the second round S'-box circuit comprises a third S-box circuit and a fourth S'-box circuit corresponding to the first S'-box circuit and the second S'-box circuit, respectively, that are configured to transform a lower bit nibble of the second round logic circuit output and an upper bit nibble of the second round logic circuit output, respectively.
  22. 22. The cryptographic system of Claim 12, wherein the second encryption circuit, comprises: encryption logic that is configured to encrypt the input data by performing the mask operation on the input data using an address associated with the input data.
  23. 23. The cryptographic system of Claim 22, wherein the encryption logic comprises: a first logic circuit that is configured to perform the mask operation on the input data using the second pattern so as to generate a first logic circuit output; a second logic circuit that is configured to perform the mask operation on the first logic circuit output using at least a portion of the address so as to generate a second logic circuit output; and a third logic circuit that is configured to perform the mask operation on the second logic circuit output using a key to generate a third logic circuit output.
  24. 24. The cryptographic system of Claim 23, wherein the mask operation comprises an exclusive OR operation, an addition operation, a subtraction operation, a multiplication operation, andlor a division operation, wherein the addition, subtraction, multiplication, and division operations are performed with respect to a modulus.
  25. 25. The cryptographic system of Claim 24, further comprising: an S'-box circuit that is configured to transform the third logic circuit output; and a permutation circuit that is configured to permute the transformed third logic circuit output so as to generate the second output corresponding to the encrypted input data having the mask operation performed thereon using the second pattern.
  26. 26. The cryptographic system of Claim 25, wherein the S'-box circuit satisfies the following equation: S'(D XOR M2 XOR A XOR K) = S(D XOR A XOR K) XOR P-1(M2); where D is the input data, M2 is the second pattern, A is the at least a portion of the address, K is the key, P-i is an inverse of the permutation performed by the permutation circuit, S'() is the S'-box transformation function, and SO is another S-box transformation used in a decryption operation.
  27. 27. The cryptographic system of Claim 25, wherein the input data comprises at least a byte of data, and wherein the S'-box circuit comprises a first S'-box circuit and a second S'-box circuit that are configured to transform a first nibble of the third logic circuit output and a second nibble of the third logic circuit output, respectively.
  28. 28. The cryptographic system of Claim 22, wherein the encryption logic comprises: a first round logic circuit that is configured to generate a first round logic circuit output responsive to the input data, the second pattern, at least a first portion of an address, and a first key; a first round S'-box circuit that is configured to transform the first round logic circuit output; and a first round pennutation circuit that is configured to permute the transformed first round logic circuit output so as to generate a first round output; a second round logic circuit that is configured to generate a second round logic circuit output responsive to the first round output, at least a second portion of the address, and a second key; a second round St-box circuit that is configured to transform the second round logic circuit output; and a second round permutation circuit that is configured to permute the transformed second round logic circuit output so as to generate the second output corresponding to the encrypted input data having the mask operation performed thereon using the second pattern.
  29. 29. The cryptographic system of Claim 28, wherein the first and second round S'-box circuits satisfy the following equation: S'(D XOR M2 XOR A XOR K) = S(D XOR A XOR K) XOR P-l(M2); where D is the input data, M2 is the second pattern, A is the at least a portion of the address, K is the key, P-i is an inverse of the permutation performed by the permutation circuit, S'() is the S'-box transformation function, and SO is another S-box transformation used in a decryption operation.
  30. 30. The cryptographic system of Claim 29, wherein the input data comprises at least a byte of data, and wherein the first round S-box circuit comprises a first S'-box circuit and a second S'-box circuit that are configured to transform an upper bit nibble of the first round logic circuit output and a lower bit nibble of the first round logic circuit output, respectively, and wherein the second round S'-box circuit comprises a third S'-box circuit and a fourth S'-box circuit corresponding to the first S'-box circuit and the second S'-box circuit, respectively, that are configured to transform a lower bit nibble of the second round logic circuit output and an upper bit nibble of the second round logic circuit output, respectively.
  31. 31. The cryptographic system of Claim 12, wherein the input data comprises at least a byte of data.
  32. 32. A method of operating a cryptographic system, comprising: generating, responsive to input data, a first output corresponding to encrypted input data having a mask operation performed thereon using a first pattern; generating, responsive to the input data, a second output corresponding to the encrypted input data having the mask operation performed thereon using a second pattern; performing the mask operation on the first output and the second output to generate a third output; comparing the third output with a value corresponding to the first pattern having the mask operation performed thereon using the second pattern; and recognizing an error if the value does not equal the third output.
  33. 33. The method of Claim.32, wherein generating the first output, comprises: encrypting the input data by performing the mask operation on the input data using an address associated with the input data.
  34. 34. The method of Claim 33, wherein encrypting the input data comprises: performing the mask operation on the input data using the first pattern so as to generate a first logic output; performing the mask operation on the first logic output using at least a portion of the address so as to generate a second logic output; and performing the mask operation on the second logic output using a key to generate a third logic output.
  35. 35. The method of Claim 34, wherein the mask operation comprises an exclusive OR operation, an addition operation, a subtraction operation, a multiplication operation, andJor a division operation, wherein the addition, subtraction, multiplication, and division operations are performed with respect to a modulus.
  36. 53. The method of Claim 35, further comprising: transforming the third logic output using an S-box circuit; and permuting the transformed third logic output so as to generate the first output corresponding to the encrypted input data having the mask operation performed thereon using the first pattern.
  37. 37. The method of Claim 36, wherein the S'-box circuit satisfies the following equation: S'(D XOR Ml XOR A XOR K) = S(D XOR A XOR K) XOR P-l(M1); where D is the input data, Ml is the first pattern, A is the at least a portion of the address, K is the key, P-i is an inverse of the permutation performed by the permutation circuit, S'() is the S'-box transformation function, and SO is another S-box transformation used in a decryption operation.
  38. 38. A computer program product comprising computer-readable program code embodied on a computer-readable medium, the computer readable program code being configured to carry out.the method of Claim 32.
GB1006763A 2006-06-07 2007-06-07 Cyrptographic systems for encrypting input data, error detection circuits, and methods of operating the same Active GB2468419B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
KR1020060051033A KR100837270B1 (en) 2006-06-07 2006-06-07 Smart card and its data security method
US11/785,281 US8332634B2 (en) 2006-06-07 2007-04-16 Cryptographic systems for encrypting input data using an address associated with the input data, error detection circuits, and methods of operating the same
GB0710989A GB2438972B (en) 2006-06-07 2007-06-07 Cryptographic systems for encrypting input data using an address associated with the input data and methods of operating the same

Publications (3)

Publication Number Publication Date
GB201006763D0 GB201006763D0 (en) 2010-06-09
GB2468419A true GB2468419A (en) 2010-09-08
GB2468419B GB2468419B (en) 2011-01-05

Family

ID=42557244

Family Applications (1)

Application Number Title Priority Date Filing Date
GB1006763A Active GB2468419B (en) 2006-06-07 2007-06-07 Cyrptographic systems for encrypting input data, error detection circuits, and methods of operating the same

Country Status (1)

Country Link
GB (1) GB2468419B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113408012A (en) * 2020-03-16 2021-09-17 意法半导体(鲁塞)公司 Fault detection
WO2024173079A1 (en) * 2023-02-14 2024-08-22 Qualcomm Incorporated Fault attack countermeasure using unified mask logic

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004006074A2 (en) * 2002-07-09 2004-01-15 Axalto Sa Method for protecting an electronic circuit against fault-based attacks
EP1571522A1 (en) * 2004-03-02 2005-09-07 STMicroelectronics S.A. Device for protecting against error injection in an asynchronous logical block from an elementary logical module
US20070019805A1 (en) * 2005-06-28 2007-01-25 Trustees Of Boston University System employing systematic robust error detection coding to protect system element against errors with unknown probability distributions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004006074A2 (en) * 2002-07-09 2004-01-15 Axalto Sa Method for protecting an electronic circuit against fault-based attacks
EP1571522A1 (en) * 2004-03-02 2005-09-07 STMicroelectronics S.A. Device for protecting against error injection in an asynchronous logical block from an elementary logical module
US20070019805A1 (en) * 2005-06-28 2007-01-25 Trustees Of Boston University System employing systematic robust error detection coding to protect system element against errors with unknown probability distributions

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113408012A (en) * 2020-03-16 2021-09-17 意法半导体(鲁塞)公司 Fault detection
FR3108225A1 (en) * 2020-03-16 2021-09-17 Stmicroelectronics (Rousset) Sas Fault detection by an electronic circuit
EP3882895A1 (en) * 2020-03-16 2021-09-22 STMicroelectronics (Rousset) SAS Detection of faults by an electronic circuit
US11625504B2 (en) * 2020-03-16 2023-04-11 Stmicroelectronics (Rousset) Sas Fault detection
CN113408012B (en) * 2020-03-16 2024-11-12 意法半导体(鲁塞)公司 Method for fault detection and corresponding electronic equipment and electronic system
WO2024173079A1 (en) * 2023-02-14 2024-08-22 Qualcomm Incorporated Fault attack countermeasure using unified mask logic

Also Published As

Publication number Publication date
GB201006763D0 (en) 2010-06-09
GB2468419B (en) 2011-01-05

Similar Documents

Publication Publication Date Title
US8332634B2 (en) Cryptographic systems for encrypting input data using an address associated with the input data, error detection circuits, and methods of operating the same
EP2290872B1 (en) Device for generating a message authentication code for authenticating a message
US6278783B1 (en) Des and other cryptographic, processes with leak minimization for smartcards and other cryptosystems
US7949883B2 (en) Cryptographic CPU architecture with random instruction masking to thwart differential power analysis
Elbaz et al. Tec-tree: A low-cost, parallelizable tree for efficient defense against memory replay attacks
CN100356342C (en) Information processing unit
JP2005510095A (en) Apparatus and method for reducing information leakage
US20130028412A1 (en) Method of counter-measuring against side-channel attacks
CN105406957B (en) Encryption device confrontation is protected to realize attack
Dobraunig et al. Fault attacks on nonce-based authenticated encryption: Application to keyak and ketje
GB2438972A (en) Encrypting data using an address associated with the data
CN109726565B (en) Using white boxes in anti-leakage primitives
US20140301553A1 (en) Cryptographic method for protecting a key hardware register against fault attacks
KR100358705B1 (en) An apparatus for information protection using Universal Serial Bus(USB) security module and crypto-chip based on PC
JP4386766B2 (en) Error detection in data processing equipment.
GB2468419A (en) Circuit for detecting data or address errors in a smart card
KR101203474B1 (en) Process of security of a unit electronic unit with cryptoprocessor
EP3642820B1 (en) Computing device processing expanded data
Yu et al. A compact ASIC implementation of the advanced encryption standard with concurrent error detection
Shoufan A fault attack on a hardware-based implementation of the secure hash algorithm SHA-512
JP4634788B2 (en) Cryptographic operation circuit, information processing apparatus and IC card having the cryptographic operation circuit
Yu et al. A hybrid approach to concurrent error detection for a compact ASIC implementation of the advanced encryption standard
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载