EP1493242A1 - Method for making secure an electronic entity with encrypted access - Google Patents
Method for making secure an electronic entity with encrypted accessInfo
- Publication number
- EP1493242A1 EP1493242A1 EP03740554A EP03740554A EP1493242A1 EP 1493242 A1 EP1493242 A1 EP 1493242A1 EP 03740554 A EP03740554 A EP 03740554A EP 03740554 A EP03740554 A EP 03740554A EP 1493242 A1 EP1493242 A1 EP 1493242A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- result
- key
- subkey
- iterative process
- sub
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/002—Countermeasures against attacks on cryptographic mechanisms
- H04L9/004—Countermeasures against attacks on cryptographic mechanisms for fault attacks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic 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/0618—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/24—Key scheduling, i.e. generating round keys or sub-keys for block encryption
Definitions
- the invention relates to a. method for securing an electronic entity with encrypted access, such as for example a microcircuit card, the improvement more particularly aimed at detecting attacks known by the abbreviation DFA (Differential Fault Analysis, in English).
- DFA Different Fault Analysis, in English
- the invention is particularly aimed at securing known algorithms such as AES or DES.
- Certain electronic entities with encrypted access are vulnerable to so-called DFA attacks consisting in disturbing the progress of the cryptographic algorithm so as to change the value of an intermediate result, to process the difference obtained between the message encrypted normally and the message encrypted with error and to deduce therefrom information on the secret key of the electronic entity.
- Errors are very easy to produce on a microcircuit card, by intervening on the external environment, for example by causing a voltage peak, by subjecting the card to a light flash (in particular using a laser beam) , by suddenly varying the frequency of the external clock, etc ...
- the invention offers a simple and effective defense against this type of attack.
- the invention relates to a method for securing an electronic entity with encrypted access, which comprises means for executing a cryptographic algorithm consisting in applying to a input message a succession of groups of so-called "round" operations making intervene a series of respective sub-keys, successively elaborated by an iterative process implemented from an initial key, characterized in that it consists in memorizing the result of a step of said iterative process, in redoing at least one part of the steps of said iterative process until the recalculation of a result corresponding to that which has been memorized, to compare the value of said memorized result with the value of the corresponding recalculated result and to prohibit the broadcasting of an encrypted message resulting from the setting implementation of said algorithm if these two values are different.
- a stored result can be one of the steps in the process known as key diversification process consisting in applying a non-linear function F to the result of the previous analogous step.
- FIG. 1 is a diagram of an electronic entity such as a microcircuit card, capable of implementing the method of the invention
- FIG. 2 is a flowchart illustrating the so-called AES algorithm
- FIG. 3 is a flowchart illustrating the implementation of the invention as a complement in the execution of the AES.
- FIG. 4 is a flowchart illustrating the DES algorithm to which the invention can also be applied.
- an electronic entity 11 is shown, here forming a microcircuit card with its essential components, namely a set of contact pads 12, metallic, making it possible to connect the microcircuit 13 contained in the card to a reader. card, server or the like with which said microcircuit card will be able to exchange information after an authentication phase implementing a known secret key algorithm, for example the AES algorithm or the DES algorithm.
- the microcircuit 13 is broken down into a microprocessor 14, some of whose accesses are connected to the contact pads, and a memory M coupled to the microprocessor.
- an authentication phase is implemented in the card. This process is programmed in microcircuit 13 and part of the memory
- the authentication phase implements an AES algorithm, the operation of which will be recalled with reference to FIG. 2.
- the AES algorithm operates on the basis of an input message ME transmitted in clear by the outdoor unit to which the electronic entity is coupled.
- the entity 11 also has a secret key K, stored, and the algorithm consists in transforming the message ME until obtaining an encrypted message MC following a certain number of transformations performed with the intervention of a certain number of subkeys Ko, KL K 2 , ..., K n - ⁇ , K n .
- each sub-key is created from one or two successive results elaborated during the process of key extension by the function F.
- the key K is coded on 192 bits. Consequently, the subkey Ko is extracted from the first two thirds of the key K, the subkey Ki is extracted from the other third of the key K and from the first thirds of the intermediate result Ri of the first transformation of this key by the function F, the subkey K 2 is extracted from the last two thirds of the intermediate result Ri, and so on until the elaboration of the last subkey K n .
- the key K has been coded on 192 bits and the attack which has been described in broad outline above does not make it possible to find the key since the result R m is not entirely known. We cannot therefore "go back" to the key K from this incompletely known result.
- security has been considerably weakened since partial information on the key is available, which makes other attacks (for example of the DPA type) known per se more effective.
- the counter to this type of attack consists in memorizing an intermediate result Rj, for example R m , or a subkey, for example here the last subkey K n , to redo at least one part of the stages of elaboration of the succession of said sub-keys, that is to say essentially the process of extension of the key by the function F, until the recalculation of a result corresponding to that which has been stored.
- Rj intermediate result
- K n for example here the last subkey K n
- FIG. 3 where the AES algorithm is completed (according to one embodiment) by redoing all of the steps for developing the succession of said sub-keys and more particularly of the process of extending the key K.
- the AES algorithm described with reference to FIG. 2 is executed for the first time, the result is an encrypted message MC.
- the last subkey K n is stored.
- the previously stored value and the new value are compared (equality test). If the two values are equal, the output of the message MC is authorized. If the two values do not coincide, the MC value is not retransmitted to the outside and an error message can be issued.
- the whole process of extending the key is repeated until the new calculation of the last subkey K n is obtained.
- the invention is not limited to securing the AES algorithm.
- the DES algorithm also known, is described in FIG. 4. Briefly, in this algorithm, the process of extending the key K is as follows. The key K (64 bits) is subjected to a P1 permutation on the bits and reduced to 56 bits. The result is a word 20 split into two 28-bit parts. Each of them is subjected to a permutation R (circular rotation on the bits) of 1 or 2 bits depending on the case.
- the two results are combined to form a new word 21 of 56 bits subjected to a new permutation P2 and concatenated to 48 bits to give a subkey Ki.
- the 56-bit word 21 is processed so as to undergo two circular rotations R to result in a new word 22, again subjected to the permutation P2 to generate a subkey K2 and so on until K16.
- the 64-bit ME input message undergoes the following transformations. It is first subjected to a P3 permutation on the bits and the result is subjected to functions constituting the ROUND 1 involving the subkey K1.
- the invention also relates to any electronic entity, in particular any microcircuit card, comprising means for implementing the method described above.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
FR0204341A FR2838262B1 (en) | 2002-04-08 | 2002-04-08 | METHOD FOR SECURING ELECTRONICS WITH ENCRYPTED ACCESS |
FR0204341 | 2002-04-08 | ||
PCT/FR2003/001032 WO2003085881A1 (en) | 2002-04-08 | 2003-04-02 | Method for making secure an electronic entity with encrypted access |
Publications (1)
Publication Number | Publication Date |
---|---|
EP1493242A1 true EP1493242A1 (en) | 2005-01-05 |
Family
ID=28052188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP03740554A Ceased EP1493242A1 (en) | 2002-04-08 | 2003-04-02 | Method for making secure an electronic entity with encrypted access |
Country Status (7)
Country | Link |
---|---|
US (2) | US7796750B2 (en) |
EP (1) | EP1493242A1 (en) |
JP (2) | JP2005522912A (en) |
AU (1) | AU2003260714A1 (en) |
CA (1) | CA2480896C (en) |
FR (1) | FR2838262B1 (en) |
WO (1) | WO2003085881A1 (en) |
Families Citing this family (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2838262B1 (en) * | 2002-04-08 | 2004-07-30 | Oberthur Card Syst Sa | METHOD FOR SECURING ELECTRONICS WITH ENCRYPTED ACCESS |
DE10328860B4 (en) * | 2003-06-26 | 2008-08-07 | Infineon Technologies Ag | Device and method for encrypting data |
US7937595B1 (en) * | 2003-06-27 | 2011-05-03 | Zoran Corporation | Integrated encryption/decryption functionality in a digital TV/PVR system-on-chip |
KR100546375B1 (en) * | 2003-08-29 | 2006-01-26 | 삼성전자주식회사 | Interdependent parallel processing hardware cryptographic engine providing for enhanced self fault-detecting and hardware encryption processing method thereof |
DE102004008901A1 (en) * | 2004-02-24 | 2005-09-15 | Giesecke & Devrient Gmbh | Safe result calculation |
FR2867635B1 (en) * | 2004-03-11 | 2006-09-22 | Oberthur Card Syst Sa | SECURE DATA PROCESSING METHOD, BASED IN PARTICULAR ON A CRYPTOGRAPHIC ALGORITHM |
FR2875657B1 (en) * | 2004-09-22 | 2006-12-15 | Trusted Logic Sa | METHOD OF SECURING CRYPTOGRAPHIC TREATMENTS THROUGH LURES. |
EP1646174A1 (en) * | 2004-10-07 | 2006-04-12 | Axalto SA | Method and apparatus for generating cryptographic sets of instructions automatically and code generation |
KR100817048B1 (en) | 2005-03-05 | 2008-03-26 | 삼성전자주식회사 | Method and apparatus of Different Faults AnalysisDFA countermeasure based on different point representation for Elliptic Curve CryptographyECC |
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 |
KR100850202B1 (en) | 2006-03-04 | 2008-08-04 | 삼성전자주식회사 | Cryptographic method for countering DFA using ECC fast Montgomery power ladder algorithm |
WO2008043647A2 (en) * | 2006-10-12 | 2008-04-17 | International Business Machines Corporation | Defending smart cards against attacks by redundant processing |
EP1998488A1 (en) * | 2007-05-26 | 2008-12-03 | DSI Informationstechnik GmbH | Personalised AES encryption |
ES2366753T3 (en) * | 2007-12-13 | 2011-10-25 | Oberthur Technologies | METHOD OF CRYPTOGRAPHIC DATA PROCESSING, IN PARTICULAR WITH THE HELP OF AN S BOX, DEVICE AND ASSOCIATED PROGRAMS. |
JP5483838B2 (en) * | 2008-07-08 | 2014-05-07 | ルネサスエレクトロニクス株式会社 | Data processing device |
JP5387144B2 (en) | 2009-06-01 | 2014-01-15 | ソニー株式会社 | Malfunction occurrence attack detection circuit and integrated circuit |
FR2949010A1 (en) * | 2009-08-05 | 2011-02-11 | St Microelectronics Rousset | COUNTERMEASURE PROCESS FOR PROTECTING STORED DATA |
WO2011036745A1 (en) * | 2009-09-24 | 2011-03-31 | 株式会社東芝 | Key scheduling apparatus and method |
EP2367316B1 (en) * | 2010-03-12 | 2017-07-05 | STMicroelectronics (Rousset) SAS | Method and circuitry for detecting a fault attack |
JP5776927B2 (en) * | 2011-03-28 | 2015-09-09 | ソニー株式会社 | Information processing apparatus and method, and program |
US8897440B2 (en) * | 2012-06-28 | 2014-11-25 | Steven W. Cooke | Cryptographic system of symmetric-key encryption using large permutation vector keys |
US9152801B2 (en) | 2012-06-28 | 2015-10-06 | Steven W. Cooke | Cryptographic system of symmetric-key encryption using large permutation vector keys |
US9594769B2 (en) * | 2012-12-21 | 2017-03-14 | Koninklijke Philips N.V. | Computing device configured with a table network |
JP7063628B2 (en) * | 2018-01-11 | 2022-05-09 | Necプラットフォームズ株式会社 | Cryptographic devices, encryption methods and programs |
US12034831B2 (en) * | 2022-06-21 | 2024-07-09 | Silicon Laboratories Inc. | Hardware countermeasures against DFA attacks on AES operations |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10154976A (en) * | 1996-11-22 | 1998-06-09 | Toshiba Corp | Tamper-free system |
AU6319098A (en) * | 1997-02-07 | 1998-08-26 | Bell Communications Research, Inc. | A method of using transient faults to verify the security of a cryptosystem |
US5991415A (en) * | 1997-05-12 | 1999-11-23 | Yeda Research And Development Co. Ltd. At The Weizmann Institute Of Science | Method and apparatus for protecting public key schemes from timing and fault attacks |
US6182216B1 (en) * | 1997-09-17 | 2001-01-30 | Frank C. Luyster | Block cipher method |
US6108419A (en) * | 1998-01-27 | 2000-08-22 | Motorola, Inc. | Differential fault analysis hardening apparatus and evaluation method |
US6219420B1 (en) * | 1998-09-02 | 2001-04-17 | Motorola, Inc. | High assurance encryption system and method |
US6985581B1 (en) * | 1999-05-06 | 2006-01-10 | Intel Corporation | Method and apparatus to verify circuit operating conditions |
FR2829331B1 (en) * | 2001-09-04 | 2004-09-10 | St Microelectronics Sa | METHOD FOR SECURING A SECRET QUANTITY |
FR2838262B1 (en) * | 2002-04-08 | 2004-07-30 | Oberthur Card Syst Sa | METHOD FOR SECURING ELECTRONICS WITH ENCRYPTED ACCESS |
TW574660B (en) * | 2002-05-16 | 2004-02-01 | Ind Tech Res Inst | Method targeting at range search and for information search complying with specified rule |
JP2005527853A (en) * | 2002-05-23 | 2005-09-15 | アトメル・コーポレイション | Advanced Encryption Standard (AES) hardware cryptography engine |
US7190791B2 (en) * | 2002-11-20 | 2007-03-13 | Stephen Laurence Boren | Method of encryption using multi-key process to create a variable-length key |
US7340053B2 (en) * | 2003-07-18 | 2008-03-04 | National Institute Of Information And Communications Technology | Cipher strength estimating device |
US8065532B2 (en) * | 2004-06-08 | 2011-11-22 | Hrl Laboratories, Llc | Cryptographic architecture with random instruction masking to thwart differential power analysis |
DE102004062825B4 (en) * | 2004-12-27 | 2006-11-23 | Infineon Technologies Ag | Cryptographic unit and method for operating a cryptographic unit |
US20080298642A1 (en) * | 2006-11-03 | 2008-12-04 | Snowflake Technologies Corporation | Method and apparatus for extraction and matching of biometric detail |
CN100495961C (en) * | 2007-11-19 | 2009-06-03 | 西安西电捷通无线网络通信有限公司 | Packet cipher algorithm based encryption processing method |
JP4748227B2 (en) * | 2009-02-10 | 2011-08-17 | ソニー株式会社 | Data modulation apparatus and method |
-
2002
- 2002-04-08 FR FR0204341A patent/FR2838262B1/en not_active Expired - Lifetime
-
2003
- 2003-04-02 CA CA2480896A patent/CA2480896C/en not_active Expired - Lifetime
- 2003-04-02 EP EP03740554A patent/EP1493242A1/en not_active Ceased
- 2003-04-02 WO PCT/FR2003/001032 patent/WO2003085881A1/en active Application Filing
- 2003-04-02 AU AU2003260714A patent/AU2003260714A1/en not_active Abandoned
- 2003-04-02 JP JP2003582947A patent/JP2005522912A/en active Pending
- 2003-04-02 US US10/510,284 patent/US7796750B2/en active Active
-
2010
- 2010-08-09 US US12/852,637 patent/US8180046B2/en not_active Expired - Fee Related
-
2011
- 2011-01-04 JP JP2011000207A patent/JP2011103686A/en active Pending
Non-Patent Citations (3)
Title |
---|
BIHAM E ET AL: "DIFFERENTIAL FAULT ANALYSIS OF SECRET KEY CRYPTOSYSTEMS", ADVANCES IN CRYPTOLOGY - CRYPTO '97. SANTA BARBARA, AUG. 17 - 21, 1997; [PROCEEDINGS OF THE ANNUAL INTERNATIONAL CRYPTOLOGY CONFERENCE (CRYPTO)], BERLIN, SPRINGER, DE, vol. CONF. 17, 17 August 1997 (1997-08-17), pages 513 - 526, XP001060384, ISBN: 978-3-540-63384-6 * |
DAEMEN J ET AL: "Specification of Rijndael", 1 January 2002, THE DESIGN OF RIJNDAEL. AES - THE ADVANCED ENCRYPTION STANDARD, SPRINGER, PAGE(S) 31 - 51, ISBN: 978-3-540-42580-9, XP007919936 * |
See also references of WO03085881A1 * |
Also Published As
Publication number | Publication date |
---|---|
CA2480896C (en) | 2012-10-30 |
US20100322421A1 (en) | 2010-12-23 |
US7796750B2 (en) | 2010-09-14 |
CA2480896A1 (en) | 2003-10-16 |
US20060104438A1 (en) | 2006-05-18 |
WO2003085881A1 (en) | 2003-10-16 |
JP2005522912A (en) | 2005-07-28 |
FR2838262A1 (en) | 2003-10-10 |
AU2003260714A1 (en) | 2003-10-20 |
US8180046B2 (en) | 2012-05-15 |
JP2011103686A (en) | 2011-05-26 |
FR2838262B1 (en) | 2004-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2480896C (en) | Method for making secure an electronic entity with encrypted access | |
EP1064752B1 (en) | Method for data securement using a cryptographic algorithm | |
EP1358733A1 (en) | Secure method for secret key cryptographic calculation and component using said method | |
WO2003024017A2 (en) | Method for making secure a secret quantity | |
FR3018934A1 (en) | METHOD OF INPUTTING DATA IN A BASE FOR THE PROTECTION OF THESE DATA | |
EP0346180B1 (en) | Apparatus for protected data communication | |
EP2166696A1 (en) | Protection of encrypted data integrity using an intermediate cipher state to generate a signature | |
EP1122909B1 (en) | Method for performing a cryptographic protocol between two electronic units | |
EP1159797A1 (en) | Countermeasure method in an electronic component using a secret key cryptographic algorithm | |
EP1198921B1 (en) | Method for countermeasure in an electronic component using a secret key algorithm | |
EP1119940B1 (en) | Countermeasure method in an electronic component using a secret key cryptographic algorithm | |
EP1387519A2 (en) | Method for protecting an electronic circuit against fault-based attacks | |
WO2000024155A1 (en) | Countermeasure method in an electronic component using a secret key cryptographic algorithm | |
EP1180260B1 (en) | Countermeasure method in an electronic component using a dynamic secret key cryptographic algorithm | |
EP1591866B1 (en) | Control of execution of an algorithm by an integrated circuit | |
EP0566512A1 (en) | Method of controlling access to a function within a module with the aid of a password | |
FR2566155A1 (en) | METHOD AND SYSTEM FOR ENCRYPTING AND DESCRIBING INFORMATION TRANSMITTED BETWEEN A TRANSCEIVER DEVICE AND A RECEIVER DEVICE | |
EP1199628B1 (en) | Calculation unit for determining the inverse of an integer modulo of a big number | |
FR2807245A1 (en) | METHOD FOR PROTECTING AN ELECTRONIC CHIP AGAINST FRAUD | |
FR3133251A1 (en) | Method for cryptographic signing of data, electronic device and associated computer program | |
WO2001039466A1 (en) | Computer device for making secure messages at a network layer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 20041018 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LI LU MC NL PT RO SE SI SK TR |
|
AX | Request for extension of the european patent |
Extension state: AL LT LV MK |
|
17Q | First examination report despatched |
Effective date: 20100901 |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R003 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED |
|
18R | Application refused |
Effective date: 20121127 |