FR2991796A1 - METHOD OF SAVING DATA OUTSIDE A SECURE MICROCIRCUIT - Google Patents

METHOD OF SAVING DATA OUTSIDE A SECURE MICROCIRCUIT Download PDF

Info

Publication number
FR2991796A1
FR2991796A1 FR1201677A FR1201677A FR2991796A1 FR 2991796 A1 FR2991796 A1 FR 2991796A1 FR 1201677 A FR1201677 A FR 1201677A FR 1201677 A FR1201677 A FR 1201677A FR 2991796 A1 FR2991796 A1 FR 2991796A1
Authority
FR
France
Prior art keywords
signature
data
microcircuit
block
key
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.)
Withdrawn
Application number
FR1201677A
Other languages
French (fr)
Inventor
Vincent Dupaquis
Alexandre Venelli
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.)
Rambus Inc
Original Assignee
Inside Secure SA
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
Application filed by Inside Secure SA filed Critical Inside Secure SA
Priority to FR1201677A priority Critical patent/FR2991796A1/en
Priority to US14/396,428 priority patent/US20150113243A1/en
Priority to CN201380031025.1A priority patent/CN104380305A/en
Priority to PCT/FR2013/051004 priority patent/WO2013186451A1/en
Priority to EP13727261.3A priority patent/EP2859497B1/en
Publication of FR2991796A1 publication Critical patent/FR2991796A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1458Protection against unauthorised use of memory or access to memory by checking the subject access rights
    • G06F12/1466Key-lock mechanism
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/572Secure firmware programming, e.g. of basic input output system [BIOS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/77Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information in smart cards
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09CCIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
    • G09C1/00Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0866Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
    • 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/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • 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/80Wireless
    • H04L2209/805Lightweight hardware, e.g. radio-frequency identification [RFID] or sensor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)

Abstract

L'invention concerne un procédé de gestion de la mémoire d'un microcircuit sécurisé (SE), comprenant des étapes exécutées par le microcircuit consistant à : former un bloc de données (BLi) avec du code exécutable et/ou des données mémorisées dans une mémoire volatile (MEM2) du microcircuit, et à sauvegarder à l'extérieur du microcircuit, calculer une signature (SGi) du bloc de données à l'aide d'une première clé de signature, insérer la signature calculée du bloc de données dans un bloc de signatures (BLS), obtenir une valeur courante d'un compteur non volatile (CNT) interne au microcircuit, calculer une signature (SGG) du bloc de signatures associé à la valeur courante du compteur interne, à l'aide d'une seconde clé de signature, et transmettre à l'extérieur du microcircuit, le bloc de données, le bloc de signatures et la signature du bloc de signatures.The invention relates to a method for managing the memory of a secure microcircuit (SE), comprising steps performed by the microcircuit consisting of: forming a data block (BLi) with executable code and / or data stored in a memory volatile memory (MEM2) of the microcircuit, and to save on the outside of the microcircuit, calculate a signature (SGi) of the data block with the aid of a first signature key, insert the calculated signature of the data block into a block of signatures (BLS), obtain a current value of a non-volatile counter (CNT) internal to the microcircuit, calculate a signature (SGG) of the signature block associated with the current value of the internal counter, using a second signature key, and transmit outside the microcircuit, the data block, the signature block and the signature block signature.

Description

PROCEDE DE SAUVEGARDE DE DONNEES A L'EXTERIEUR D'UN MICROCIRCUIT SECURISE La présente invention concerne généralement les microcircuits sécurisés tels que ceux qui sont intégrés dans des cartes à puce, et les objets portables tels que les téléphones mobiles, les tablettes et les ordinateurs portables, intégrant de telles cartes à puce.BACKGROUND OF THE INVENTION The present invention generally relates to secure microcircuits such as those integrated in smart cards, and portable objects such as mobile phones, tablets and laptops. , integrating such smart cards.

La présente invention s'applique notamment aux cartes à puces permettant de sécuriser des transactions sensibles telles que des transactions de paiement ou d'accès à un service, à contact ou à distance, par exemple à champ proche NFC (Near Field Communication) ou Bluetooth. Les microcircuits comprennent généralement un processeur et une 10 mémoire non volatile réinscriptible pour mémoriser notamment le programme exécuté par le processeur et des données à conserver entre deux transactions. Cette mémoire non volatile, généralement de type EEPROM ou Flash, est relativement coûteuse à fabriquer, comparativement au processeur, et occupe une surface importante du microcircuit ou fait 15 intervenir des techniques de fabrication spécifiques. Il peut donc être souhaitable de proposer un microcircuit sans mémoire non volatile réinscriptible ou avec une telle mémoire non volatile, mais de faible capacité, c'est-à-dire insuffisante pour y mémoriser le programme d'exploitation ("operating system") exécuté par le processeur du 20 microcircuit, et des données devant être conservées lorsque le microcircuit est mis hors tension. Les programmes et données devant être conservés peuvent être stockés à l'extérieur du microcircuit, par exemple dans une mémoire non volatile du dispositif dans lequel est intégré le microcircuit. A la mise sous tension du microcircuit, les programmes et données stockés à 25 l'extérieur du microcircuit peuvent être chargés dans une mémoire volatile du microcircuit. Cependant, la sauvegarde de programmes et de données à l'extérieur du microcircuit soulève des difficultés, notamment des problèmes de sécurité. En effet, les microcircuits de carte à puce peuvent mémoriser des 30 données secrètes telles que des identifiants et des clés de chiffrement. Par ailleurs, dans certaines applications sensibles comme les applications de paiement ou de contrôle d'accès à un service payant, les programmes exécutés par ces microcircuits sont généralement certifiés par des organismes agréés. La mémoire externe où seraient stockés les programmes et données à sauvegarder n'étant pas nécessairement sécurisée, ni reliée au microcircuit par une liaison sécurisée, il peut donc être nécessaire d'assurer la confidentialité et/ou l'intégrité des données et des programmes sauvegardés à l'extérieur du microcircuit. A cet effet, il peut être prévu de chiffrer et/ou de signer les programmes et les données à sauvegarder avant de les transmettre à l'extérieur du microcircuit. Le processeur doit donc disposer d'une clé de chiffrement secrète. En l'absence de mémoire non volatile, cette clé secrète ne peut pas être conservée par le microcircuit si celui-ci est mis hors tension, pour pouvoir déchiffrer des programmes et données reçus ou vérifier des signatures. Cette solution soulève également des problèmes de sécurité, lorsqu'il s'agit notamment de contrôler ou limiter un nombre d'opérations autorisées à être exécutées par le microcircuit. Ce problème se pose lorsque le microcircuit ne doit pouvoir exécuter qu'un nombre limité de transactions par exemple dans le cadre d'applications de paiement ou de contrôle d'accès à un lieu ou un service (par exemple de téléchargement de jeux ou de musique). En effet, si les données de transactions sont stockées à l'extérieur du microcircuit, même sous forme chiffrée, une attaque dite par "rejeu" peut consister à remplacer un dernier bloc de données chiffrées par un bloc de données chiffrées plus ancien, transmis par le microcircuit. En l'absence de mémoire non volatile réinscriptible, le microcircuit ne peut pas déterminer si un bloc de données chiffrées reçu correspond au dernier bloc de données qu'il a émis pour être sauvegardé dans une mémoire non volatile externe, ou à un bloc plus ancien. Par ailleurs, les mémoires volatiles prévues dans les microcircuits peuvent présenter une grande capacité. La sauvegarde de toute la mémoire volatile peut donc nécessiter l'immobilisation du microcircuit pendant une durée non négligeable. Cette durée peut être encore augmentée si la sauvegarde est interrompue avant son terme et doit être exécutée à nouveau. Cette durée peut également affecter le confort d'utilisation du microcircuit. Il peut donc être difficilement envisageable de sauvegarder toute la mémoire volatile avant chaque mise hors tension du microcircuit ou pire encore, à chaque changement du contenu de cette mémoire. Il peut donc être souhaitable de proposer un microcircuit dans lequel la mémoire non volatile réinscriptible, qui peut être notamment de type Flash, EEPROM, MRAM (Magnetic RAM), et RAM sauvegardée par batterie, est supprimée et remplacée par une mémoire non volatile programmable une seule fois OTP (One Time Programmable), ou bien est limitée à une faible capacité, insuffisante pour y stocker le ou les programmes exécutés par le microcircuit et des données à conserver entre deux sessions d'utilisation du microcircuit. Il peut être également souhaitable que cette suppression ou limitation de la mémoire non volatile réinscriptible n'affecte pas la sécurité du microcircuit. Il peut également être souhaitable de ne pas à avoir à sauvegarder à l'extérieur du microcircuit systématiquement la totalité du contenu de la mémoire volatile en une fois.The present invention applies in particular to smart cards for securing sensitive transactions such as payment transactions or access to a service, contact or remote, for example Near Field Communication (NFC) or Bluetooth . Microcircuits generally comprise a processor and a non-volatile rewritable memory for storing in particular the program executed by the processor and data to be kept between two transactions. This non-volatile memory, generally of the EEPROM or Flash type, is relatively expensive to manufacture compared to the processor and occupies a large area of the microcircuit or involves specific manufacturing techniques. It may therefore be desirable to propose a microcircuit without a rewritable non-volatile memory or with such a nonvolatile memory, but of low capacity, that is to say insufficient to store therein the operating system executed. by the microcircuit processor, and data to be retained when the microcircuit is de-energized. The programs and data to be stored can be stored outside the microcircuit, for example in a non-volatile memory of the device in which the microcircuit is integrated. When the microcircuit is powered up, the programs and data stored outside the microcircuit can be loaded into a volatile memory of the microcircuit. However, backing up programs and data outside the microcircuit raises issues, including security issues. Indeed, smart card microcircuits can memorize secret data such as identifiers and encryption keys. Moreover, in certain sensitive applications such as payment applications or access control applications for a paid service, the programs executed by these microcircuits are generally certified by approved organizations. The external memory where the programs and data to be backed up would be stored not being necessarily secured or connected to the microcircuit via a secure link, it may therefore be necessary to ensure the confidentiality and / or integrity of the data and programs saved. outside the microcircuit. For this purpose, it may be provided to encrypt and / or sign programs and data to be saved before transmitting them outside the microcircuit. The processor must therefore have a secret encryption key. In the absence of nonvolatile memory, this secret key can not be kept by the microcircuit if it is turned off, in order to decrypt programs and data received or verify signatures. This solution also raises security problems, especially when it involves controlling or limiting a number of operations authorized to be executed by the microcircuit. This problem arises when the microcircuit should only be able to execute a limited number of transactions for example in the context of payment applications or access control to a place or a service (for example downloading games or music ). Indeed, if the transaction data are stored outside the microcircuit, even in encrypted form, a so-called "replay" attack may consist in replacing a last block of encrypted data with an older block of encrypted data transmitted by the microcircuit. In the absence of rewritable nonvolatile memory, the microcircuit can not determine if a received block of encrypted data corresponds to the last block of data that it has sent to be saved in external nonvolatile memory, or to an older block . Moreover, the volatile memories provided in the microcircuits may have a large capacity. The backup of all volatile memory may therefore require the immobilization of the microcircuit for a significant period. This duration can be further increased if the backup is interrupted before it finishes and must be run again. This duration can also affect the comfort of use of the microcircuit. It can therefore hardly be possible to save all the volatile memory before each power off of the microcircuit or worse, each time the content of this memory is changed. It may therefore be desirable to propose a microcircuit in which the rewritable non-volatile memory, which may notably be of Flash, EEPROM, MRAM (Magnetic RAM) type, and battery-backed RAM, is deleted and replaced by a programmable nonvolatile memory. only one time (OTP One Time Programmable), or is limited to a low capacity, insufficient to store the program or programs executed by the microcircuit and data to be kept between two sessions of use of the microcircuit. It may also be desirable that this deletion or limitation of the rewritable non-volatile memory does not affect the security of the microcircuit. It may also be desirable not to have to save the entire contents of the volatile memory at one time to the outside of the microcircuit.

Des modes de réalisation concernent un procédé de gestion de la mémoire d'un microcircuit sécurisé, comprenant des étapes exécutées par le microcircuit consistant à : former un bloc de données avec du code exécutable et/ou des données mémorisées dans une mémoire du microcircuit, et à sauvegarder à l'extérieur du microcircuit, calculer une signature du bloc de données à l'aide d'une première clé de signature, insérer la signature calculée du bloc de données dans un bloc de signatures, obtenir une valeur courante d'un compteur non volatile interne au microcircuit, calculer une signature du bloc de signatures associé à la valeur courante du compteur interne, à l'aide d'une seconde clé de signature, et transmettre à l'extérieur du microcircuit, le bloc de données, le bloc de signatures et la signature du bloc de signatures. Selon un mode de réalisation, le procédé comprend des étapes exécutées par le microcircuit consistant à : émettre une requête d'un bloc de signatures, recevoir en réponse un bloc de signatures accompagné d'une signature, calculer une signature du bloc de signatures associé à la valeur courante du compteur interne, à l'aide de la seconde clé de signature, et si la signature calculée correspond à la signature reçue : former un bloc de données avec du code exécutable et/ou des données mémorisées dans la mémoire volatile du microcircuit, et à sauvegarder à l'extérieur du microcircuit, calculer une signature du bloc de données, à l'aide de la première clé de signature, insérer la signature calculée du bloc de données dans le bloc de signatures, modifier la valeur courante du compteur interne, calculer une nouvelle signature du bloc de signatures associé à la nouvelle valeur du compteur interne, à l'aide de la seconde clé de signature, et transmettre à l'extérieur du microcircuit, le bloc de données, le bloc de signatures et la nouvelle signature du bloc de signatures. Selon un mode de réalisation, le procédé comprend des étapes consistant à: si la signature calculée du bloc de signatures correspond à la signature reçue : émettre une requête d'un bloc de données sauvegardé à l'extérieur du microcircuit, recevoir en réponse le bloc de données requis, calculer une signature du bloc de données reçu, à l'aide de la première clé de signature, et si la signature calculée du bloc de données correspond à une signature du bloc de donnée se trouvant dans le bloc de signatures, charger le bloc de données dans la mémoire volatile du microcircuit.Embodiments relate to a method for managing the memory of a secure microcircuit, comprising steps performed by the microcircuit consisting in: forming a data block with executable code and / or data stored in a memory of the microcircuit, and to save on the outside of the microcircuit, to calculate a signature of the data block with the aid of a first signature key, to insert the calculated signature of the data block into a signature block, to obtain a current value of a counter non-volatile internal microcircuit, calculate a signature of the signature block associated with the current value of the internal counter, using a second signature key, and transmit outside the microcircuit, the data block, the block of signatures and signature of the signature block. According to one embodiment, the method comprises steps performed by the microcircuit consisting in: issuing a request for a block of signatures, receiving in response a block of signatures accompanied by a signature, calculating a signature of the block of signatures associated with the current value of the internal counter, using the second signature key, and if the calculated signature corresponds to the received signature: forming a data block with executable code and / or data stored in the volatile memory of the microcircuit , and to save outside the microcircuit, calculate a signature of the data block, using the first signature key, insert the calculated signature of the data block into the signature block, modify the current value of the counter internally, calculate a new signature of the signature block associated with the new value of the internal counter, using the second signature key, and transmit to the outside of the microcircuit, the block of data, the block of signatures and the new signature of the block of signatures. According to one embodiment, the method comprises the steps of: if the computed signature of the signature block corresponds to the received signature: sending a request for a block of data saved outside the microcircuit, receiving in response the block required data, calculate a signature of the received data block, using the first signature key, and if the calculated signature of the data block corresponds to a signature of the data block in the signature block, load the data block in the volatile memory of the microcircuit.

Selon un mode de réalisation, le procédé comprend une étape de découpage de la mémoire volatile du microcircuit en blocs de données pouvant être sauvegardés à l'extérieur du microcircuit, en association avec une signature du bloc de données, sauvegardée dans le bloc de signatures. Selon un mode de réalisation, les première et seconde clés de signature sont lues dans une mémoire non volatile du microcircuit ou régénérées à partir d'une donnée secrète fournie par un circuit du microcircuit. Selon un mode de réalisation, les premières et secondes clés de signature sont identiques.According to one embodiment, the method comprises a step of cutting the volatile memory of the microcircuit into data blocks that can be saved outside the microcircuit, in association with a signature of the data block, saved in the signature block. According to one embodiment, the first and second signature keys are read from a nonvolatile memory of the microcircuit or regenerated from a secret datum provided by a circuit of the microcircuit. According to one embodiment, the first and second signature keys are identical.

Selon un mode de réalisation, le procédé comprend une étape de chiffrement d'un bloc de données ou du bloc de signature, à l'aide d'une clé de chiffrement, avant de l'émettre à l'extérieur du microcircuit. Selon un mode de réalisation, la clé de chiffrement est identique à la première ou la seconde clé de signature.According to one embodiment, the method comprises a step of encrypting a block of data or the signature block, using an encryption key, before issuing it outside the microcircuit. According to one embodiment, the encryption key is identical to the first or the second signature key.

Selon un mode de réalisation, chaque bloc est signé et/ou chiffré avec une clé de signature ou de chiffrement distincte des clés de signatures et/ou de chiffrement utilisées pour les autres blocs. Selon un mode de réalisation, chaque clé de signature est générée à partir d'une donnée secrète obtenue par une fonction non reproductible, sensiblement déterministe, non inversible et caractéristique du microcircuit, qui combinée à une fonction de correction d'erreur ou une fonction de moyennage, fournit toujours la même donnée secrète. Selon un mode de réalisation, la génération de chaque clé de signature comprend des étapes consistant à: générer une donnée aléatoire et une donnée de correction d'erreur à partir de la donnée aléatoire, générer la clé de signature à partir de la donnée aléatoire, obtenir une première donnée secrète à partir d'une fonction non reproductible, sensiblement déterministe, non inversible et caractéristique du microcircuit, et combiner par une première fonction logique inversible la première donnée secrète et la 10 donnée aléatoire, pour obtenir une donnée exportable à l'extérieur du microcircuit, la régénération de chaque clé de signature comprenant des étapes consistant à : obtenir une seconde donnée secrète à partir de la fonction caractéristique du microcircuit, et combiner par une seconde fonction logique inverse de la première fonction logique, la seconde donnée 15 secrète et la donnée exportable, appliquer au résultat de la seconde fonction logique un traitement de correction d'erreur utilisant la donnée de correction d'erreur, pour obtenir la donnée aléatoire, et générer la clé de signature à partir de la donnée aléatoire. Selon un mode de réalisation, la génération de chaque clé de 20 signature comprend des étapes consistant à: obtenir une troisième donnée secrète à partir de la fonction caractéristique du microcircuit, et combiner par la première fonction logique, la troisième donnée secrète et la donnée de correction d'erreur, pour obtenir une seconde donnée exportable, la régénération de chaque clé de signature comprenant des étapes consistant 25 à: obtenir une quatrième donnée secrète à partir de la fonction caractéristique du microcircuit, et combiner par la seconde fonction logique, la quatrième donnée secrète et la seconde donnée exportable, pour obtenir une donnée de correction d'erreur qui est utilisée par le traitement de correction d'erreur, pour obtenir la donnée aléatoire. 30 Selon un mode de réalisation, le procédé comprend une étape de modification de bits dans les données secrètes fournies par la fonction caractéristique du microcircuit, par insertion de bits aléatoires ou inversion de bits dans les données secrètes, les modifications de bits dans les données secrètes ayant une étendue telle qu'elles peuvent être corrigées par la 35 fonction de correction d'erreur.According to one embodiment, each block is signed and / or encrypted with a signature or encryption key distinct from the signature and / or encryption keys used for the other blocks. According to one embodiment, each signature key is generated from a secret data obtained by a non-reproducible, substantially deterministic, non-invertible and characteristic function of the microcircuit, which combined with an error correction function or a function of averaging, always provides the same secret data. According to one embodiment, the generation of each signature key comprises the steps of: generating random data and error correction data from the random data, generating the signature key from the random data, obtain a first secret datum from a non-reproducible, substantially deterministic, non-invertible and characteristic function of the microcircuit, and combine by a first invertible logic function the first secret datum and the random datum, to obtain an exportable datum to the external of the microcircuit, the regeneration of each signature key comprising steps of: obtaining a second secret data from the characteristic function of the microcircuit, and combining by a second inverse logic function of the first logic function, the second secret data item 15 and the exportable data, apply to the result of the second form logic a error correction process using the error correction data, to obtain the random data, and generate the signature key from the random data. According to one embodiment, the generation of each signature key comprises the steps of: obtaining a third secret datum from the characteristic function of the microcircuit, and combining by the first logical function, the third secret datum and the datum of error correction, to obtain a second exportable data, the regeneration of each signature key comprising the steps of: obtaining a fourth secret data from the characteristic function of the microcircuit, and combining by the second logical function, the fourth secret data and the second exportable data, to obtain an error correction data which is used by the error correction processing, to obtain the random data. According to one embodiment, the method comprises a step of modifying bits in the secret data provided by the characteristic function of the microcircuit, by insertion of random bits or inversion of bits in the secret data, bit changes in the secret data. having a range such that they can be corrected by the error correction function.

Des modes de réalisation concernent également un microcircuit comprenant un processeur et une mémoire volatile dans lequel est mémorisé un programme exécuté par le processeur, le microcircuit étant configuré pour mettre en oeuvre le procédé tel que précédemment défini.Embodiments also relate to a microcircuit comprising a processor and a volatile memory in which a program executed by the processor is stored, the microcircuit being configured to implement the method as previously defined.

Selon un mode de réalisation, le microcircuit comprend une capacité de mémorisation non volatile réinscriptible insuffisante pour mémoriser les programmes ou le système d'exploitation exécutés par le microcircuit. Selon un mode de réalisation, le microcircuit comprend un circuit mettant en oeuvre une fonction non reproductible, sensiblement déterministe, non inversible et caractéristique du microcircuit. Des exemples de réalisation de l'invention seront décrits dans ce qui suit, à titre non limitatif en relation avec les figures jointes parmi lesquelles : la figure 1 représente schématiquement un dispositif portable comprenant un microcircuit sécurisé, les figures 2 et 3 représentent schématiquement des circuits du microcircuit sécurisé, selon des modes de réalisation, la figure 4 représente une structure de données, selon un mode de réalisation, les figures 5 et 6 représentent des étapes exécutées durant l'exécution d'un programme par le microcircuit sécurisé, et à la mise sous tension du microcircuit, selon des modes de réalisation, les figures 7 et 8 représentent schématiquement des circuits pour générer une même donnée secrète qui peut servir de clé cryptographique ou 25 de clé maître pour générer des clés cryptographiques, la figure 9 représente schématiquement un circuit du microcircuit selon un mode de réalisation. La figure 1 représente un dispositif portable HD, tel qu'un téléphone mobile équipé d'une interface de communication à champ proche. Le 30 dispositif HD comprend par exemple un processeur principal BBP, également appelé processeur en "bande de base" ("Base-Band Processor"), un circuit de radiocommunication RCT connecté au processeur BBP, et un microcircuit sécurisé SE relié au processeur BBP. Le microcircuit SE peut être de type UICC ("Universal Integrated Circuit Card"), par exemple de type mini-SIM, 35 micro-SIM ou micro-SD.According to one embodiment, the microcircuit comprises a non-volatile rewritable storage capacity that is insufficient to store the programs or the operating system executed by the microcircuit. According to one embodiment, the microcircuit comprises a circuit implementing a non-reproducible function, substantially deterministic, non-invertible and characteristic of the microcircuit. Exemplary embodiments of the invention will be described in the following, without limitation in connection with the accompanying figures in which: Figure 1 shows schematically a portable device comprising a secure microcircuit, Figures 2 and 3 schematically show circuits FIG. 4 represents a data structure, according to one embodiment, FIGS. 5 and 6 represent steps executed during the execution of a program by the secure microcircuit, and FIG. switching on the microcircuit, according to embodiments, FIGS. 7 and 8 schematically represent circuits for generating the same secret data that can serve as a cryptographic key or as a master key for generating cryptographic keys, FIG. circuit of the microcircuit according to one embodiment. FIG. 1 represents a portable device HD, such as a mobile phone equipped with a near-field communication interface. The HD device comprises, for example, a main processor BBP, also called a "baseband processor", a RCT radio circuit connected to the BBP processor, and a secure microcircuit SE connected to the processor BBP. The chip SE can be UICC type ("Universal Integrated Circuit Card"), for example mini-SIM type, 35 micro-SIM or micro-SD.

Le dispositif portable HD peut être par exemple de type à champ proche NFC, équipé d'une interface de communication à champ proche. Ainsi, le dispositif portable peut comprendre également un contrôleur NFC, référencé NFCC, qui est relié au processeur BBP par une liaison B2, un 5 circuit d'antenne AC1 connecté au contrôleur NFCC. Le microcircuit SE peut être relié au contrôleur NFCC par une liaison B3. Le microcircuit SE peut être configuré pour effectuer des transactions NFC avec un terminal de transaction (non représenté) par l'intermédiaire du contrôleur NFCC. Le contrôleur NFCC comprend une interface de communication sans contact 10 CLF connectée au circuit d'antenne AC1. Le contrôleur NFCC peut se présenter sous la forme d'un circuit intégré, tel que MicroRead0 commercialisé par le Déposant. Le dispositif HD peut également comprendre un autre processeur sécurisé, par exemple intégré dans une carte SIM ("Subscriber Identity 15 Module"), ainsi qu'une carte mémoire non volatile, telle qu'une carte Micro SD ("Micro Secure Digital card"). Le microcircuit SE qui est par exemple intégré dans une carte, peut être relié au processeur BBP par une liaison B1. La figure 2 représente des circuits du microcircuit SE. Le microcircuit SE comprend un processeur PRC, ainsi que des mémoires MEM1, MEM2 et 20 des circuits de calcul cryptographiques CRYC, connectés au processeur PRC. La mémoire MEM1 est par exemple de type ROM ("Read-Only Memory") ou de type programmable une seule fois OTP ("One Time Programmable") et la mémoire MEM2 est volatile, par exemple de type RAM ("Random Access Memory"). 25 Selon un mode de réalisation, le microcircuit SE comprend une mémoire non volatile MEM3 de faible capacité, par exemple de quelques dizaines d'octets, qui peut être réinscriptible, ou bien une mémoire programmable une seule fois (OTP). Les mémoires OTP peuvent être fabriquées à moindre coût par comparaison avec une mémoire de type Flash 30 ou EEPROM, en faisant appel uniquement à des étapes de fabrication de circuits CMOS. La mémoire MEM3 peut également être une mémoire RAM de faible capacité, alimentée par une batterie miniaturisée dédiée, lorsque le microcircuit n'est plus alimenté par une source de tension d'alimentation externe, par exemple celle du dispositif HD. La batterie est rechargée lorsque 35 le microcircuit est relié à une source de tension d'alimentation externe. Ici "faible capacité" signifie de capacité insuffisante pour sauvegarder le programme ou le système d'exploitation exécuté par le processeur PRC. La mémoire MEM3 est utilisée pour sauvegarder la valeur d'un compteur. La figure 3 représente un microcircuit SE1 selon un autre mode de réalisation. Le microcircuit SE1 diffère du microcircuit SE en ce qu'il ne comprend pas de mémoire non volatile, mais un compteur réalisé par un circuit en logique câblée CNC et un circuit IFC permettant de générer une même donnée secrète à chaque mise sous tension du microcircuit SE1. Cette donnée secrète peut être utilisée comme clé de chiffrement ou pour 10 générer une telle clé. Le circuit CNC peut être alimenté par une batterie miniature dédiée BT. La batterie BT est rechargée lorsque le microcircuit est relié à une source de tension d'alimentation externe. Bien entendu, le microcircuit SE (figure 2) peut aussi comprendre un circuit tel que le circuit IFC pour générer une donnée secrète susceptible 15 d'être utilisée en tant que une clé de chiffrement ou pour générer une telle clé de chiffrement. Selon un mode de réalisation, un ou plusieurs programmes exécutés par le microcircuit SE, SE1 et des données manipulées par ces programmes, se trouvant dans la mémoire MEM2 sont sauvegardées dans une mémoire 20 externe non volatile, par exemple une mémoire LM connectée au processeur BBP. La figure 4 représente une structure de données dans la mémoire LM dans laquelle sont sauvegardées les programmes et données mémorisés dans la mémoire MEM2 du microcircuit SE, SE1 . Sur la figure 4, la structure de données comprend des blocs BL1, BL2, BLn et BLS et une signature 25 SGG du bloc BLS. Le bloc BLS comprend une signature SG1, SG2, SGn de chacun des blocs BL1-BLn. La figure 5 représente des étapes exécutées par le microcircuit sécurisé SE, SE1, préalablement mis en communication avec une mémoire de stockage externe, par exemple la mémoire LM accessible par l'intermédiaire du processeur BBP. Ces étapes 30 sont exécutées par le microcircuit SE, SE1 pour sauvegarder dans la mémoire LM, un bloc BLi se trouvant dans la mémoire MEM2. A une étape S1, le microcircuit SE, SE1 émet une requête de lecture du bloc BLS et de la signature SGG du bloc BLS, à destination du processeur BBP. A une étape S2, le processeur BBP lit les informations requises dans la mémoire LM. A 35 une étape S3, le processeur BBP transmet au microcircuit SE, SE1, le bloc BLS et la signature SGG se trouvant dans la mémoire LM. A une étape S4, le microcircuit SE, SE1 calcule une signature du bloc BLS reçu, concaténé à la valeur du compteur CNT lue dans la mémoire MEM3 ou fournie par le circuit CNC. Cette signature est calculée à l'aide d'une clé secrète K, par exemple mémorisée dans la mémoire MEM3 du microcircuit SE, ou générée à l'aide du circuit IFC du microcircuit SE1. A une étape S5, le microcircuit SE, SE1 compare la signature SGG' obtenue à l'étape S4 avec la signature SGG reçue à l'étape S3. Le microcircuit SE, SE1 exécute ensuite des étapes S6 à S10 seulement si la signature SGG' correspond à la signature SGG. A l'étape S6, le microcircuit SE, SE1 calcule à l'aide de la clé K une signature SGi du bloc BLi à sauvegarder. A l'étape S7, le microcircuit SE, SE1 met à jour le bloc BLS en y insérant la signature SGi obtenue à l'emplacement de la signature du bloc BLi. A l'étape S8, le microcircuit incrémente la valeur du compteur CNT mémorisée dans la mémoire MEM3 ou par le circuit CNC. A l'étape S9, le microcircuit SE, SE1 calcule la signature SGG du bloc BLS appliquée au bloc BLS tel que mis à jour à l'étape S7, concaténé à la nouvelle valeur du compteur CNT obtenue à l'étape S8. A l'étape S10, le microcircuit SE, SE1 transmet les blocs BLi et BLS et la signature SGG au processeur BBP. A l'étape S11, le processeur BBP reçoit ces données et les sauvegarde dans la mémoire LM, éventuellement en remplacement des blocs BLi, BLS et de la signature SGG qui y étaient mémorisés. Lors d'une première sauvegarde d'un premier bloc BLi dans la mémoire LM, seules les étapes S6, S7 et S9 à S11 sont exécutées. La valeur du compteur CNT peut être nulle si le microcircuit exécute pour la première fois l'étape S8. De cette manière, le microcircuit SE, SE1 peut exploiter de la mémoire externe non volatile, comme celle d'un téléphone mobile, qui est parfois de grande capacité et en grande partie inutilisée. Il est à noter que le microcircuit SE, SE1 peut avoir un accès direct à une mémoire non volatile externe au microcircuit. Dans ce cas, les étapes Si et 59 consistent en l'émission de requêtes de lecture et d'écriture de cette mémoire externe. Selon un mode de réalisation, la taille des blocs BLi est définie en fonction de l'organisation physique ou logique de la mémoire LM ou de la mémoire MEM2. Ainsi la taille de chaque bloc BLi peut correspondre à la taille d'une page ou d'un secteur physique ou logique de la mémoire LM ou MEM2. Selon un autre mode de réalisation, la taille des blocs BLi est définie en fonction de l'organisation des programmes et données dans la mémoire 5 MEM2. Ainsi, un bloc BLi peut comprendre tout ou partie du programme et des données d'une application installée dans le microcircuit. Le découpage en blocs BU des programmes et données mémorisés dans la mémoire MEM2 peut également être déterminé afin de réduire autant que possible les opérations de sauvegarde et de restauration d'un bloc dans la mémoire 10 MEM2 à partir de la mémoire LM. La figure 6 représente des étapes exécutées par le microcircuit SE, SE1 pour charger dans la mémoire MEM2, un bloc de donnée BLi stocké dans la mémoire externe LM. Ces étapes sont exécutées par exemple à la mise sous tension POR du microcircuit, ou lorsqu'une application stockée 15 dans le bloc BLi doit être exécutée. En effet, il peut être prévu qu'à sa mise sous tension, le microcircuit SE, SE1 émette une requête de chargement du premier bloc BL1 qui contient le système d'exploitation du processeur PRO ou une première partie de ce système d'exploitation, et que le programme se trouvant dans le bloc BL1 permette de déterminer quel bloc BLi doit être 20 également chargé, en fonction d'une application à exécuter. A une étape S21, le microcircuit SE, SE1 régénère la clé K à l'aide du circuit IFC ou lit celle-ci dans la mémoire MEM3. A une étape S22, le microcircuit SE, SE1 émet une requête de lecture du bloc BLS et de la signature SGG. A une étape S23, cette requête est reçue et exécutée par le 25 processeur BBP qui lit le bloc requis dans la mémoire LM. A une étape S24, le processeur BBP transmet en réponse le bloc BLS et la signature SGG. Ces données sont reçues par le microcircuit SE, SE1 à une étape S25. A une étape S26, le microcircuit SE, SE1 calcule à l'aide de la clé K une signature SGG' du bloc BLS concaténé avec la valeur courante d'un 30 compteur ONT lue dans la mémoire MEM3 ou fournie par le circuit CNC. Si la mémoire MEM3 est de type OTP, le compteur ONT peut être mis en oeuvre en gérant cette mémoire à la manière d'un boulier, en changeant l'état d'un bit de la mémoire à chaque fois que la valeur du compteur ONT doit être modifiée. A une étape S27, le microcircuit SE, SE1 compare la signature 35 calculée SGG' avec la signature SGG reçue à l'étape S24. Le microcircuit SE, SE1 exécute ensuite des étapes S28 à S33 seulement si la signature SGG' correspond à la signature SGG. A l'étape S28, le microcircuit SE, SE1 émet une requête d'un bloc BLi. A une étape S29, cette requête est reçue et exécutée par le processeur BBP qui lit le bloc requis dans la mémoire LM. A l'étape S30, le processeur BBP transmet en réponse le bloc BLi. A l'étape S31, le microcircuit SE, SE1 reçoit le bloc BLi et calcule une signature SGi' du bloc BLi à l'aide de la clé K. A l'étape S32, le microcircuit SE, SE1 compare la signature calculée SGi' avec la signature SGi du bloc BLi figurant dans le bloc BLS. Le microcircuit SE, SE1 exécute ensuite l'étape S33 seulement si les signatures SGi et SGi' correspondent. A l'étape S33, le microcircuit SE, SE1 charge dans la mémoire MEM2. Si le bloc BLi ainsi chargé comporte un programme Pgm, le microcircuit SE, SE1 exécute ce programme. Si d'autres blocs BL1-BLn sont nécessaires, le microcircuit peut répéter les étapes S28 et S31 à S32 pour charger les blocs manquants dans la mémoire MEM2 avant d'exécuter l'étape S33. De cette manière, si un bloc BLi est remplacé par une ancienne version de ce bloc, sa signature ne correspondra pas à celle qui figure dans le bloc BLS. Par ailleurs, si le bloc BLS est modifié en y insérant la signature de l'ancien bloc BLi, il n'est pas possible de générer la signature SGG correspondant au bloc BLS ainsi modifié sans connaître la clé K et avoir le contrôle total sur la valeur du compteur ONT. Il suffit donc d'empêcher que la clé K soit accessible de l'extérieur du microcircuit, ou que le compteur puisse être forcé à une valeur précédente, pour protéger le microcircuit contre ce que l'on appelle le "rejeu" d'un ancien bloc de programme et/ou de données BLi qui est authentique mais qui n'est pas le dernier bloc sauvegardé par le microcircuit SE. Il est à noter que les différentes valeurs de compteur ONT utilisées pour calculer la signature SGG ne sont pas nécessairement consécutives, ni croissantes ni décroissantes. Il importe simplement que la valeur ONT soit 30 changée à chaque fois qu'une nouvelle signature SGG est calculée. La clé K utilisée pour calculer la signature SGG du bloc BLS peut être différente de celle utilisée pour calculer les signatures SG1-SGn des blocs BL1-BLn. De même, chacun des blocs BL1-BLn peut être signé avec une clé différente de celles utilisées pour signer les autres blocs BL1-BLn. Par 35 ailleurs, les blocs BL1-BLn et BLS peuvent être chiffrés avant d'être transmis en dehors du microcircuit SE, SE1. Les blocs BL1-BLn et BLS reçus par le microcircuit sont alors déchiffrés par ce dernier avant que les programmes et données qu'ils contiennent soient installés dans la mémoire MEM2. La clé utilisée pour chiffrer les blocs BL1-BLn et BLS peut être différente de celle(s) utilisée(s) pour calculer les signatures SGG, SG1-SGn. De même chaque bloc BLi peut être chiffré avec une clé qui lui est propre. Les calculs de signature et les chiffrements peuvent être effectués à l'aide du circuit CRYC. La mémoire MEM2 peut être divisée en blocs BLi, chaque bloc étant associé à un indicateur de modification spécifiant si le bloc a été modifié 10 depuis la dernière sauvegarde du bloc dans la mémoire LM, ou depuis le dernier chargement du bloc à partir de la mémoire LM. Les indicateurs de modification des blocs BLi sont mis à jour à chaque écriture dans la mémoire MEM2. A certaines étapes, par exemple à fin de l'exécution d'une application par le microcircuit, ce dernier lit successivement les indicateurs de 15 modification et exécute les étapes S1 à S11 pour chaque bloc BLi associé à un indicateur de modification indiquant que le bloc a été modifié. La clé K peut être générée à partir d'une fonction irréversible H appliquée à un premier nombre mémorisé dans la mémoire MEM1 ou MEM3. Ce nombre peut être par exemple un identifiant du microcircuit, tel qu'un 20 numéro de série. La clé K peut être générée lors de l'exécution du programme mémorisé dans la mémoire MEM1. La fonction irréversible peut être une fonction de hachage tel que MD5, SHA1 ou SHA256. Si plusieurs clés sont nécessaires, par exemple pour signer le bloc BLS d'une part et d'autre part, chacun des blocs BL1-BLn, ou pour chiffrer 25 ces blocs, chaque clé Ki peut être générée en appliquant l'une ou l'autre des formules suivantes : Ki = H(k/i), ou (1) Ki = H((Ki-1)/i), (2) dans lesquelles H est une fonction irréversible telle qu'une fonction de 30 hachage ou une fonction PUF, i est un nombre qui est modifié, par exemple incrémenté, à chaque génération de clé à partir d'une valeur initiale prédéfinie, k/i représente un premier nombre k concaténé au nombre i, et Ki-1 est une clé générée à partir du nombre i-1, la clé K1 étant égale à H(k/1). Le premier nombre k peut être choisi égal au nombre RND dans les 35 figures 7 et 8.The portable device HD may for example be of the NFC near field type, equipped with a near-field communication interface. Thus, the portable device may also comprise an NFC controller, referenced NFCC, which is connected to the processor BBP by a link B2, an antenna circuit AC1 connected to the controller NFCC. The chip SE can be connected to the controller NFCC by a link B3. The chip SE may be configured to perform NFC transactions with a transaction terminal (not shown) via the NFCC controller. The NFCC controller comprises a contactless communication interface 10 CLF connected to the antenna circuit AC1. The controller NFCC can be in the form of an integrated circuit, such as MicroRead0 marketed by the Applicant. The HD device may also comprise another secure processor, for example integrated in a SIM card ("Subscriber Identity Module"), as well as a non-volatile memory card, such as a Micro SD card ("Micro Secure Digital Card" ). The chip SE which is for example integrated in a card, can be connected to the processor BBP by a link B1. Figure 2 shows circuits of the chip SE. The chip SE comprises a PRC processor, as well as memories MEM1, MEM2 and cryptographic calculation circuits CRYC connected to the processor PRC. The memory MEM1 is for example ROM type ("Read-Only Memory") or one-time programmable type OTP ("One Time Programmable") and the memory MEM2 is volatile, for example RAM ("Random Access Memory" type) ). According to one embodiment, the chip SE comprises a non-volatile memory MEM3 of small capacity, for example a few tens of bytes, which can be rewritable, or a programmable memory once (OTP). The OTP memories can be manufactured at a lower cost compared with a Flash 30 or EEPROM type memory, using only steps for manufacturing CMOS circuits. The memory MEM3 can also be a low-capacity RAM, powered by a dedicated miniaturized battery, when the microcircuit is no longer powered by an external supply voltage source, for example that of the device HD. The battery is recharged when the microcircuit is connected to an external supply voltage source. Here "low capacity" means insufficient capacity to back up the program or the operating system executed by the PRC processor. Memory MEM3 is used to save the value of a counter. FIG. 3 represents a chip SE1 according to another embodiment. The microcircuit SE1 differs from the microcircuit SE in that it does not include nonvolatile memory, but a counter realized by a CNC wired logic circuit and an IFC circuit for generating the same secret data each time the chip SE1 is powered up. . This secret data may be used as an encryption key or to generate such a key. The CNC circuit can be powered by a dedicated miniature battery BT. The BT battery is recharged when the microcircuit is connected to an external supply voltage source. Of course, the chip SE (FIG. 2) may also comprise a circuit such as the IFC circuit for generating secret data that may be used as an encryption key or to generate such an encryption key. According to one embodiment, one or more programs executed by the microcircuit SE, SE1 and data manipulated by these programs, stored in the memory MEM2, are saved in a non-volatile external memory, for example an LM memory connected to the processor BBP. . FIG. 4 represents a data structure in the memory LM in which the programs and data stored in the memory MEM2 of the microcircuit SE, SE1 are saved. In Fig. 4, the data structure comprises BL1, BL2, BLn and BLS blocks and a SGG signature of the BLS block. The block BLS includes a signature SG1, SG2, SGn of each of the blocks BL1-BLn. FIG. 5 represents steps executed by the secure microcircuit SE, SE1, previously put into communication with an external storage memory, for example the memory LM accessible via the processor BBP. These steps 30 are executed by the chip SE, SE1 to save in the memory LM, a block BLi being in the memory MEM2. At a step S1, the chip SE, SE1 sends a read request from the block BLS and the signature SGG of the block BLS, to the processor BBP. In a step S2, the processor BBP reads the required information into the memory LM. At step S3, the processor BBP transmits to the chip SE, SE1, the block BLS and the signature SGG in the memory LM. At a step S4, the microcircuit SE, SE1 calculates a signature of the BLS block received, concatenated with the value of the counter CNT read in the memory MEM3 or supplied by the CNC circuit. This signature is calculated using a secret key K, for example stored in the memory MEM3 of the chip SE, or generated using the IFC circuit of the chip SE1. At a step S5, the microcircuit SE, SE1 compares the signature SGG 'obtained in step S4 with the signature SGG received in step S3. The microcircuit SE, SE1 then executes steps S6 to S10 only if the signature SGG 'corresponds to the signature SGG. In step S6, the chip SE, SE1 calculates with the key K a signature SGi block BLi to save. In step S7, the microcircuit SE, SE1 updates the block BLS by inserting the signature SGi obtained at the location of the signature of the block BLi. In step S8, the microcircuit increments the value of the counter CNT stored in the memory MEM3 or by the CNC circuit. In step S9, the microcircuit SE, SE1 calculates the SGG signature of the BLS block applied to the BLS block as updated in step S7, concatenated with the new value of the counter CNT obtained in step S8. In step S10, the microcircuit SE, SE1 transmits the blocks BLi and BLS and the signature SGG to the processor BBP. In step S11, the processor BBP receives this data and saves it in the memory LM, possibly replacing the blocks BLi, BLS and signature SGG that were stored therein. During a first backup of a first block BLi in the memory LM, only steps S6, S7 and S9 to S11 are executed. The value of the counter CNT may be zero if the microcircuit executes for the first time step S8. In this way, the chip SE, SE1 can exploit nonvolatile external memory, such as that of a mobile phone, which is sometimes large capacity and largely unused. It should be noted that the microcircuit SE, SE1 can have direct access to a non-volatile memory external to the microcircuit. In this case, the steps S1 and 59 consist in the transmission of read and write requests from this external memory. According to one embodiment, the size of the BLi blocks is defined according to the physical or logical organization of the memory LM or the memory MEM2. Thus the size of each block BLi can correspond to the size of a page or a physical or logical sector of the memory LM or MEM2. According to another embodiment, the size of the BLi blocks is defined according to the organization of the programs and data in the memory MEM2. Thus, a BLi block may comprise all or part of the program and data of an application installed in the microcircuit. The division into BU blocks of the programs and data stored in the memory MEM2 can also be determined in order to reduce as much as possible the operations of saving and restoring a block in the memory 10 MEM2 from the memory LM. FIG. 6 represents steps executed by the chip SE, SE1 for loading in the memory MEM2, a block of data BLi stored in the external memory LM. These steps are executed for example when the microcircuit is turned on, or when an application stored in the block BLi must be executed. Indeed, it can be expected that upon power up, the chip SE, SE1 sends a load request of the first block BL1 which contains the operating system of the PRO processor or a first part of this operating system, and that the program in block BL1 makes it possible to determine which block BLi must also be loaded, according to an application to be executed. At a step S21, the chip SE, SE1 regenerates the key K using the IFC circuit or reads it in the memory MEM3. At a step S22, the chip SE, SE1 sends a read request of the block BLS and the signature SGG. At a step S23, this request is received and executed by the BBP processor which reads the required block into the memory LM. At a step S24, the processor BBP transmits in response the block BLS and the signature SGG. These data are received by the chip SE, SE1 at a step S25. In a step S26, the chip SE, SE1 calculates, using the key K, a signature SGG 'of the block BLS concatenated with the current value of a counter ONT read in the memory MEM3 or supplied by the CNC circuit. If the memory MEM3 is of OTP type, the ONT counter can be implemented by managing this memory in the manner of an abacus, by changing the state of a bit of the memory each time the value of the counter ONT must be modified. In a step S27, the chip SE, SE1 compares the calculated signature SGG 'with the signature SGG received in step S24. The microcircuit SE, SE1 then executes steps S28 to S33 only if the signature SGG 'corresponds to the signature SGG. In step S28, the chip SE, SE1 sends a request for a block BLi. At a step S29, this request is received and executed by the processor BBP which reads the required block in the memory LM. In step S30, the processor BBP transmits in response the block BLi. In step S31, the chip SE, SE1 receives the block BLi and calculates a signature SGi 'of the block BLi using the key K. In step S32, the chip SE, SE1 compares the calculated signature SGi' with the SGi signature of the BLi block in the BLS block. The chip SE, SE1 then executes step S33 only if the signatures SGi and SGi 'correspond. In step S33, the chip SE, SE1 loads in the memory MEM2. If the block BLi thus loaded comprises a program Pgm, the chip SE, SE1 executes this program. If other blocks BL1-BLn are required, the microcircuit can repeat steps S28 and S31 to S32 to load the missing blocks into memory MEM2 before executing step S33. In this way, if a block BLi is replaced by an old version of this block, its signature will not correspond to that which appears in the block BLS. On the other hand, if the block BLS is modified by inserting the signature of the old block BLi, it is not possible to generate the signature SGG corresponding to the block BLS thus modified without knowing the key K and having total control over the ONT counter value. It is therefore sufficient to prevent the key K from being accessible from outside the microcircuit, or the counter can be forced to a previous value, to protect the microcircuit against what is called the "replay" of an old BLi program and / or data block that is authentic but is not the last block saved by the chip SE. It should be noted that the different ONT counter values used to calculate the SGG signature are not necessarily consecutive, neither increasing nor decreasing. It is simply important that the ONT value be changed each time a new SGG signature is computed. The key K used to calculate the SGG signature of the block BLS may be different from that used to calculate the signatures SG1-SGn blocks BL1-BLn. Similarly, each block BL1-BLn can be signed with a different key from those used to sign the other blocks BL1-BLn. Moreover, blocks BL1-BLn and BLS can be encrypted before being transmitted outside the chip SE, SE1. The blocks BL1-BLn and BLS received by the microcircuit are then decrypted by the latter before the programs and data they contain are installed in the memory MEM2. The key used to encrypt blocks BL1-BLn and BLS may be different than the key (s) used to calculate SGG signatures, SG1-SGn. Likewise, each block BLi can be encrypted with a key of its own. Signature calculations and ciphers can be done using the CRYC circuit. The memory MEM2 can be divided into blocks BLi, each block being associated with a modification indicator specifying whether the block has been modified since the last block was saved in the memory LM, or since the last loading of the block from the memory LM. The modification indicators of the BLi blocks are updated each time they are written in the memory MEM2. At certain stages, for example at the end of the execution of an application by the microcircuit, the latter successively reads the modification indicators and executes the steps S1 to S11 for each block BLi associated with a modification indicator indicating that the block was modified. The key K can be generated from an irreversible function H applied to a first number stored in the memory MEM1 or MEM3. This number may be for example an identifier of the microcircuit, such as a serial number. The key K can be generated during the execution of the program stored in the memory MEM1. The irreversible function can be a hash function such as MD5, SHA1 or SHA256. If several keys are needed, for example to sign the block BLS on the one hand and on the other hand, each block BL1-BLn, or to encrypt these blocks, each key Ki can be generated by applying one or the other other of the following formulas: Ki = H (k / i), or (1) Ki = H ((Ki-1) / i), (2) in which H is an irreversible function such as a hash function or a function PUF, i is a number which is modified, for example incremented, at each key generation from a predefined initial value, k / i represents a first number k concatenated with the number i, and Ki-1 is a key generated from the number i-1, the key K1 being equal to H (k / 1). The first number k can be chosen equal to the number RND in FIGS. 7 and 8.

Une série de clés peut ainsi être générée de manière déterministe, si le premier nombre choisi k est toujours le même, par exemple la clé K, et si la série des nombres i choisie est toujours la même pour un microcircuit donné. Des séries de clés dérivées peuvent également être générées à partir d'une clé Ki, et en réutilisant la série des nombres i, en appliquant la fonction irréversible à chacun des nombres de la série de nombres i, concaténé avec la clé Ki. Selon un autre mode de réalisation, des clés secrètes peuvent également être générées en appliquant à un premier nombre une première fonction irréversible H1 pour obtenir un nombre racine de clé, et en appliquant à ce nombre, une seconde fonction irréversible H2. Plusieurs clés secrètes peuvent être générées en appliquant successivement la fonction H1 à chaque résultat précédemment fourni par cette fonction pour obtenir une série de nombres racines de clé dérivés, et en appliquant la fonction H2 à chaque nombre racine de clé dérivé ainsi obtenu. Ici encore le premier nombre choisi k peut être toujours le même, comme la clé K, pour toujours générer la même série de clés Ki. Ainsi, une série de clés Ki peut être générée en appliquant les équations suivantes : Si = H1(Si-1), et (3) Ki = H2(Si) (4) avec S1 = H1(k), S1 et Si étant respectivement les nombres racine des clés K1 et Ki. L'une et/ou l'autre des fonctions H1 et H2 peut être une fonction PUF mise en oeuvre par le circuit IFC. Le premier nombre Si peut être choisi égal au nombre RND dans les figures 7 et 8 ou au résultat de la fonction H1 appliqué au nombre RND. Selon un mode de réalisation, le circuit IFC comprend un circuit physiquement non reproductible, mettant en oeuvre une fonction irréversible physiquement non reproductible PUF ("Physically Unclonable Function") dont le fonctionnement est essentiellement imprédictible et non déterminable. Une telle fonction peut donc être utilisée à des fins d'identification de microcircuit ou pour générer une donnée secrète qui peut être utilisée comme clé K ou pour générer la clé K. Les fonctions PUF sont par exemple réalisées par un circuit sensible aux conditions de fabrication du circuit, de sorte que les fonctions PUF respectives de deux microcircuits ont une probabilité très faible de fournir un résultat identique, même si les deux microcircuits sont issus d'une même chaine de fabrication. La fonction PUF est donc une fonction à sens unique équivalente à une fonction de hachage telle que SHA1, mais caractéristique de chaque microcircuit. Le circuit IFC est utilisé pour générer une ou plusieurs clés de signature ou de chiffrement. La figure 7 représente le circuit IFC, selon un mode de réalisation. Le circuit IFC comprend des circuits PUC, IFC1 et IFC2. Le circuit PUC met en oeuvre une fonction irréversible physiquement non reproductible PUF ("Physically Unclonable Function") dont le fonctionnement est essentiellement imprédictible et non déterminable. Le circuit PUC présente la particularité d'être physiquement non reproductible. Le circuit IFC1 est activé lors de la mise en service du microcircuit et à chaque fois que le circuit doit être réinitialisé notamment pour générer une nouvelle clé K à utiliser pour signer les blocs BLi, BLS. Le circuit IFC2 est activé à chaque fois que le microcircuit est mis sous tension pour regénérer la clé K qui a été précédemment utilisée pour signer les blocs BU, BLS sauvegardés dans la mémoire LM. Le circuit IFC1 comprend un opérateur logique de type OU Exclusif XG1 et un circuit de génération d'une donnée de correction d'erreur ECC1.A series of keys can thus be generated deterministically, if the first number chosen k is always the same, for example the key K, and if the series of numbers i chosen is always the same for a given microcircuit. Sets of derived keys can also be generated from a key Ki, and by reusing the series of numbers i, by applying the irreversible function to each of the numbers of the series of numbers i, concatenated with the key Ki. According to another embodiment, secret keys can also be generated by applying to a first number a first irreversible function H1 to obtain a key root number, and by applying to this number, a second irreversible function H2. Several secret keys can be generated by successively applying the function H1 to each result previously provided by this function to obtain a series of derived key root numbers, and applying the function H2 to each derived key root number thus obtained. Here again the first selected number k can always be the same, as the key K, to always generate the same set of keys Ki. Thus, a series of keys Ki can be generated by applying the following equations: Si = H1 (Si-1), and (3) Ki = H2 (Si) (4) with S1 = H1 (k), S1 and Si being respectively the root numbers of keys K1 and Ki. One and / or the other of the functions H1 and H2 may be a PUF function implemented by the IFC circuit. The first number Si can be chosen equal to the number RND in FIGS. 7 and 8 or to the result of the function H1 applied to the number RND. According to one embodiment, the IFC circuit comprises a circuit that is physically non-reproducible, implementing a physically irretrievable, irreversible function PUF ("Physically Unclonable Function") whose operation is essentially unpredictable and non-determinable. Such a function can therefore be used for microcircuit identification purposes or to generate secret data that can be used as a key K or to generate the key K. The PUF functions are for example made by a circuit responsive to the manufacturing conditions. of the circuit, so that the PUF respective functions of two microcircuits have a very low probability of providing an identical result, even if the two microcircuits are from the same production line. The PUF function is therefore a one-way function equivalent to a hash function such as SHA1, but characteristic of each microcircuit. The IFC circuit is used to generate one or more signing or encryption keys. Figure 7 shows the IFC circuit, according to one embodiment. The IFC circuit includes PUC, IFC1 and IFC2 circuits. The circuit PUC implements an irreversible function physically non-reproducible PUF ("Physically Unclonable Function") whose operation is essentially unpredictable and not determinable. The PUC circuit has the particularity of being physically non-reproducible. The IFC1 circuit is activated during commissioning of the microcircuit and whenever the circuit must be reset in particular to generate a new key K to be used to sign blocks BLi, BLS. The IFC2 circuit is activated each time the microcircuit is powered up to regenerate the key K which was previously used to sign the BU blocks, BLS saved in the memory LM. The IFC1 circuit comprises an exclusive OR XG1 logic operator and a ECC1 error correction data generation circuit.

L'opérateur XG1 est connecté en sortie du circuit PUC et d'un circuit de génération de nombres aléatoires RNGN et fournit une donnée EXT qui est donc égale à PN 0 RND, PN étant la donnée fournie par le circuit PUC, RND étant un nombre aléatoire fourni par le circuit RNGN et "e" représentant l'opérateur OU Exclusif. Les données RND et PN ont donc la même taille en nombre de bits. Le circuit ECC1 reçoit le nombre aléatoire RND et fournit une donnée de correction d'erreur ECW. Le circuit IFC2 comprend un opérateur logique de type OU Exclusif XG2 et un circuit de correction d'erreur ECC2. L'opérateur XG2 reçoit la donnée EXT qui a été transmise au microcircuit SE, ainsi qu'une donnée PN' 30 issue du circuit PUC. Compte tenu des propriétés du circuit PUC, la donnée PN' est censée être identique ou proche de la donnée PN qui a été produite lors de la mise en service du microcircuit SE. Ici "proche" signifie identique à un nombre bits près inférieur à la moitié du nombre de bits des données PN, PN'. L'opérateur XG2 fournit une donnée résultante RND' au circuit ECC2 35 qui reçoit par ailleurs la donnée ECW qui a été transmise au microcircuit SE.The operator XG1 is connected at the output of the circuit PUC and a random number generation circuit RNGN and provides an EXT data which is therefore equal to PN 0 RND, PN being the data supplied by the circuit PUC, RND being a number random provided by the RNGN circuit and "e" representing the exclusive OR operator. The RND and PN data are therefore the same size in number of bits. The circuit ECC1 receives the random number RND and provides ECW error correction data. The IFC2 circuit comprises an XG2 Exclusive OR logic operator and an ECC2 error correction circuit. The operator XG2 receives the data EXT which has been transmitted to the chip SE, as well as data PN '30 coming from the circuit PUC. Given the properties of the circuit PUC, the PN 'data is supposed to be identical or close to the PN data that was produced during commissioning of the chip SE. Here "near" means identical to a bit number less than half the number of bits of PN, PN 'data. The operator XG2 provides a resultant data RND 'to the ECC2 circuit 35 which furthermore receives the ECW data which has been transmitted to the microcircuit SE.

Ainsi, la donnée RND' est égale à PN' EXT. Le circuit ECC2 corrige la donnée RND' et ainsi restitue la donnée RND. A noter que si les données PN et PN' sont identiques, l'opérateur XG2 fournit directement la donnée RND, et le circuit ECC2 ne détecte aucune erreur à corriger et donc fournit également la donnée RND. Les circuits ECC1 et ECC2 peuvent mettre en oeuvre différents algorithmes de correction d'erreur tels que BCH, Reed Solomon, ou ceux basés sur l'utilisation des codes de Hamming ou de Gray. Dans l'exemple des figures 5 et 6, les données EXT et ECW sont sauvegardées dans la mémoire LM à la suite de leur génération, par exemple avec la signature SGG à l'étape S11. Les données EXT et ECW sont par ailleurs transmises aux étapes S3 et S24 au microcircuit pour permettre à ce dernier de régénérer la clé K, à partir de la donnée secrète RND.Thus, the data RND 'is equal to PN' EXT. The circuit ECC2 corrects the data RND 'and thus restores the data RND. Note that if the data PN and PN 'are identical, the operator XG2 directly supplies the RND data, and the ECC2 circuit detects no error to correct and therefore also provides the data RND. The ECC1 and ECC2 circuits can implement various error correction algorithms such as BCH, Reed Solomon, or those based on the use of the Hamming or Gray codes. In the example of FIGS. 5 and 6, the data EXT and ECW are saved in the memory LM as a result of their generation, for example with the signature SGG in step S11. The data EXT and ECW are also transmitted in steps S3 and S24 to the microcircuit to allow the latter to regenerate the key K, from the secret data RND.

Certains algorithmes de correction d'erreur utilisent une donnée de correction d'erreur qui peut être exploitée seule pour retrouver la valeur de la donnée à corriger. Or la donnée ECW est transmise en dehors du microcircuit SE1. Pour que la donnée RND soit conservée secrète quel que soit l'algorithme de correction d'erreur utilisé, le circuit IFC peut être modifié conformément à celui représenté sur la figure 8. Selon un autre mode de réalisation le circuit IFC' représenté sur la figure 8 diffère du circuit IFC en qu'il comprend des circuits IFC1', IFC2' différents des circuits IFC1 , IFC2. Le circuit IFC1' comprend des opérateurs logiques XG3, XG4 de type OU Exclusif et le circuit ECC1. L'opérateur XG3 reçoit une partie PN1 de la donnée PN générée par le circuit PUC et la donnée aléatoire RND, la partie PN1 étant de la taille de la donnée RND. L'opérateur XG3 fournit une donnée EXT1. Le circuit ECC1 fournit une donnée de correction d'erreur ECW à partir de la donnée RND. L'opérateur XG4 reçoit une autre partie PN2 de la donnée PN et la donnée ECW.Some error correction algorithms use error correction data which can be exploited alone to recover the value of the data to be corrected. However, the ECW data is transmitted outside the chip SE1. In order for the RND data to be kept secret regardless of the error correction algorithm used, the IFC circuit may be modified according to that shown in FIG. 8. According to another embodiment, the IFC circuit shown in FIG. 8 differs from the IFC circuit in that it includes IFC1 ', IFC2' circuits different from the IFC1, IFC2 circuits. The IFC1 'circuit includes exclusive OR XG3, XG4 logic operators and the ECC1 circuit. The operator XG3 receives a portion PN1 of the PN data generated by the circuit PUC and the random data RND, the portion PN1 being of the size of the data RND. The operator XG3 provides an EXT1 data. The circuit ECC1 provides ECW error correction data from the RND data. The operator XG4 receives another PN2 part of the PN data and the ECW data.

L'opérateur XG4 fournit une donnée EXT2 qui est concaténée avec la donnée EXT1 pour former la donnée EXT. Les données PN1, RND et EXT1 présentent donc une même taille en nombre de bits. De même, les données PN2 et ECW présentent une même taille. De cette manière, la donnée ECW est transformée en la donnée EXT2 avant d'être transmise à l'extérieur du microcircuit SE.The operator XG4 provides an EXT2 data which is concatenated with the data EXT1 to form the data EXT. The data PN1, RND and EXT1 therefore have the same size in number of bits. Similarly, the PN2 and ECW data have the same size. In this way, the ECW data is transformed into the data EXT2 before being transmitted outside the chip SE.

Le circuit IFC2' diffère du circuit IFC2 en ce que l'opérateur XG2 fournit à la fois la donnée RND' et une donnée de correction d'erreur ECW' à partir de la donnée EXT et de la donnée PN' fournie par le circuit PUC. Comme dans le circuit IFC2, le circuit ECC2 fournit la donnée RND à partir 5 des données RND' et ECW'. Bien que les données ECW et ECW' peuvent être différentes, elles sont peu différentes compte tenu des propriétés de la fonction PUF mise en oeuvre par le circuit PUC. Il est donc probable que le nombre RND qui est fourni par le circuit ECC2 soit proche de celui qui a été généré lors de l'activation du circuit IFC1' à la mise en service du microcircuit 10 SE1, le terme "proche" ayant le sens précédemment défini. Il va également de soi que les fonctions mises en oeuvre par les circuits représentés sur les figures 7 et 8 peuvent être également mises en oeuvre sous forme logicielle, par une séquence d'instructions exécutables par le processeur PRO. Il va également de soi que toute autre fonction logique 15 inversible que la fonction OU Exclusif peut être employée. Ainsi tout couple de fonctions logiques (F1, F2) peut être employé à la place de la fonction OU Exclusif (pour F1 et F2), dès lors que sont satisfaites pour tout couple de de données (x,y) et pour toute donnée PN, les relations suivantes : y = F1(x,PN), et x = F2(y,PN). (5) 20 La clé K peut être choisie égale à la donnée RND ou être dérivée de cette dernière par exemple à l'aide d'une fonction irréversible telle qu'une fonction de hachage comme MD5 et SHA-1, ou en appliquant les équations (1), (2) ou (3) et (4). De cette manière, il n'est pas nécessaire de prévoir une mémoire non volatile dans le microcircuit pour stocker la clé K.The circuit IFC2 'differs from the circuit IFC2 in that the operator XG2 provides both the data RND' and an error correction data ECW 'from the data EXT and the data PN' supplied by the circuit PUC . As in the IFC2 circuit, the ECC2 provides the RND data from the RND 'and ECW' data. Although the ECW and ECW 'data may be different, they are not very different considering the properties of the PUF function implemented by the PUC circuit. It is therefore likely that the number RND which is provided by the circuit ECC2 is close to that which was generated during the activation of the circuit IFC1 'at the commissioning of the microcircuit 10 SE1, the term "close" having the meaning previously defined. It goes without saying that the functions implemented by the circuits shown in FIGS. 7 and 8 can also be implemented in software form by a sequence of instructions executable by the processor PRO. It is also obvious that any other invertible logic function than the Exclusive OR function can be employed. Thus any pair of logical functions (F1, F2) can be used in place of the Exclusive OR function (for F1 and F2), provided that any pair of data (x, y) and for any PN data are satisfied. , the following relations: y = F1 (x, PN), and x = F2 (y, PN). (5) The key K may be chosen equal to or derived from the RND data, for example using an irreversible function such as a hash function such as MD5 and SHA-1, or by applying the equations (1), (2) or (3) and (4). In this way, it is not necessary to provide a non-volatile memory in the microcircuit to store the key K.

25 Certains circuits non reproductibles mettant en oeuvre une fonction PUF peuvent être sensibles aux attaques par injection de faute. En effet, pour donner une certaine stabilité à la donnée fournie par un tel circuit, cette donnée peut être traitée par un circuit de correction d'erreur. En forçant un bit à 0 en sortie du circuit non reproductible par exemple à l'aide d'un faisceau 30 laser et en observant la réaction du circuit de correction d'erreur, il est possible de déterminer si une erreur a été corrigée ou si aucune erreur n'a été corrigée. Selon qu'une réaction est observée ou non, il est possible de déduire si le bit modifié par l'injection de faute doit être à 1 ou à O. Il est donc possible de déduire la donnée normalement fournie en sortie du circuit de 35 correction d'erreur, en injectant des fautes sur chacun des bits de sortie du circuit non reproductible. Pour assurer une certaine stabilité de la valeur des données qu'il fournit, le circuit non reproductible peut être maintenu dans des conditions, notamment de température, stables. La découverte de la donnée fournie par le circuit non reproductible peut permettre à l'attaquant de déterminer une donnée secrète telle qu'une clé de cryptographie utilisée par le microcircuit. Selon un mode de réalisation, le circuit PUC du circuit IFC représenté sur la figure 3, 7 ou 8 comprend des moyens pour modifier à chaque utilisation du circuit, quelques bits de la valeur fournie par la fonction PUF 10 mise en oeuvre par le circuit, ceci afin d'assurer que le circuit de correction d'erreur corrige systématiquement des erreurs dans chaque donnée fournie par le circuit non reproductible. Le nombre de bits modifiés de chaque donnée fournie est inférieur ou égal au nombre de bits erronés que le circuit de correction d'erreur est capable de corriger.Some non-reproducible circuits implementing a PUF function may be susceptible to fault injection attacks. Indeed, to give some stability to the data provided by such a circuit, this data can be processed by an error correction circuit. By forcing a bit at 0 at the output of the non-reproducible circuit, for example by means of a laser beam, and observing the reaction of the error correction circuit, it is possible to determine whether an error has been corrected or whether no errors have been corrected. Depending on whether a reaction is observed or not, it is possible to deduce whether the bit modified by the fault injection must be at 1 or at 0. It is therefore possible to deduce the data normally supplied at the output of the correction circuit. of error, by injecting faults on each of the output bits of the non-reproducible circuit. To ensure a certain stability of the value of the data it provides, the non-reproducible circuit can be maintained under stable conditions, in particular temperature. The discovery of the data provided by the non-reproducible circuit may allow the attacker to determine a secret datum such as a cryptography key used by the microcircuit. According to one embodiment, the circuit PUC of the IFC circuit shown in FIG. 3, 7 or 8 comprises means for modifying, with each use of the circuit, a few bits of the value provided by the function PUF 10 implemented by the circuit, this is to ensure that the error correction circuit systematically corrects errors in each data provided by the non-reproducible circuit. The number of modified bits of each data item provided is less than or equal to the number of erroneous bits that the error correction circuit is able to correct.

15 Les bits modifiés peuvent être des bits ajoutés aux bits fournis par la fonction PUF qui sont issus d'un générateur aléatoire. Les bits modifiés peuvent être des bits dont la polarité est inversée ou forcée à une certaine valeur. Les bits modifiés peuvent également être choisis de manière aléatoire. L'introduction de modifications de la donnée fournie par la fonction 20 PUF peut être effectuée une seule fois par exemple à la mise en service du microcircuit mettant en oeuvre la fonction PUF, ou bien à chaque fois que la fonction PUF est activée. La figure 9 représente le circuit PUC, et en particulier la fonction PUF implémentée par ce circuit et une sortie de bit OB du circuit PUC, selon un 25 mode de réalisation. Certaines des lignes de sortie de bit B de la fonction PUF sont reliées à une sortie de bit OB du circuit PUC par l'intermédiaire d'un inverseur INV et d'un multiplexeur MX1. Le multiplexeur MX1 reçoit en entrée le bit B et le bit B inversé par l'inverseur INV. Le multiplexeur MX1 est commandé par un bit aléatoire 11. Ainsi, le bit OB fourni en sortie du circuit 30 PUC correspond soit au bit B fourni par la fonction PUB, soit à ce bit inversé en fonction de la valeur du bit aléatoire 11. Dans l'exemple de la figure 9, si le bit 11 est à 0, le bit B est fourni en sortie du circuit PUB sans changement, si le bit 11 est à 1, le bit B est inversé. Selon un mode de réalisation, toutes les lignes de sortie de bit de la 35 fonction PUF sont reliées à une sortie de bit du circuit PUC par l'intermédiaire d'un tel circuit comportant un inverseur et un multiplexeur. Chaque multiplexeur MX1 est commandé par un bit respectif d'une donnée aléatoire RN1. Le nombre de bits à 1 (dans l'exemple de la figure 9) de la donnée RN1 est limité au nombre maximum de bits de la donnée issue de la fonction PUF, pouvant être modifiés, compte tenu des capacités de correction d'erreur du circuit de correction d'erreur relié en sortie du circuit PUC. Il apparaîtra clairement à l'homme de l'art que la présente invention est susceptible de diverses variantes de réalisation et diverses applications.The modified bits may be bits added to the bits provided by the PUF which are derived from a random generator. The modified bits may be bits whose polarity is inverted or forced to a certain value. The modified bits can also be randomly chosen. The introduction of modifications of the data provided by the PUF function can be done once for example at the commissioning of the microcircuit implementing the PUF function, or whenever the PUF function is activated. FIG. 9 represents the circuit PUC, and in particular the function PUF implemented by this circuit and a bit output OB of the circuit PUC, according to one embodiment. Some of the B bit output lines of the PUF function are connected to a bit OB output of the PUC circuit via an invertor INV and a multiplexer MX1. The multiplexer MX1 receives as input bit B and bit B inverted by inverter INV. The multiplexer MX1 is controlled by a random bit 11. Thus, the bit OB supplied at the output of the circuit 30 PUC corresponds either to the bit B supplied by the function PUB, or to this inverted bit as a function of the value of the random bit 11. In the example of Figure 9, if the bit 11 is 0, the B bit is output from the PUB circuit without change, if the bit 11 is 1, the B bit is reversed. According to one embodiment, all the bit output lines of the PUF function are connected to a bit output of the PUC circuit via such a circuit comprising an inverter and a multiplexer. Each multiplexer MX1 is controlled by a respective bit of a random datum RN1. The number of bits at 1 (in the example of FIG. 9) of the data RN1 is limited to the maximum number of bits of the data issuing from the function PUF, which can be modified, taking into account the error correction capabilities of the error correction circuit connected to the output of the PUC circuit. It will be apparent to those skilled in the art that the present invention is capable of various alternative embodiments and various applications.

10 En particulier, le procédé selon l'invention n'est pas limitée à la sauvegarde de données ou de programmes présents dans une mémoire volatile d'un microcircuit, mais peut également être appliqué à des données et/ou des programmes stockés dans une mémoire non volatile du microcircuit, notamment lorsque cette mémoire présente une capacité insuffisante.In particular, the method according to the invention is not limited to the backup of data or programs present in a volatile memory of a microcircuit, but can also be applied to data and / or programs stored in a memory non-volatile microcircuit, especially when this memory has insufficient capacity.

15 Il apparaîtra également clairement à l'homme de l'art que les différents modes de réalisation présentés précédemment sont susceptibles de diverses variantes de réalisation et diverses applications, et peuvent être mis en oeuvre indépendamment les uns des autres, ou combinés de diverses autres manières que celles présentées. En particulier, la présente invention n'est 20 pas limitée aux dispositifs NFC et aux microcircuits configurés pour conduire des transactions NFC, mais peut s'appliquer à tout microcircuit sécurisé. Par ailleurs, les modes de réalisation décrits en référence aux figures 7 et 8 peuvent être mis en oeuvre d'une manière indépendante des séquences d'étapes représentées sur les figures 5 et 6, dans tout circuit 25 utilisant une donnée secrète, et devant être capable de régénérer cette donnée à partir de données stockées dans une mémoire non sécurisée. Ainsi, la présente demande couvre également d'une manière indépendante, un procédé de génération et de régénération d'une clé maitre et un microcircuit mettant en oeuvre un tel procédé. Ce procédé comprend 30 des étapes consistant à: générer une donnée aléatoire RND et une donnée de correction d'erreur ECW à partir de la donnée aléatoire, générer une clé maitre K à partir de la donnée aléatoire, obtenir une première donnée secrète PN, PN1 à partir d'une fonction PUF, non reproductible, sensiblement déterministe, non inversible et caractéristique du microcircuit, et combiner par une première fonction logique inversible la première 5 donnée secrète et la donnée aléatoire, pour obtenir une donnée exportable EXT, EXT1 à l'extérieur du microcircuit. La régénération de la clé maitre comprend des étapes consistant à : obtenir une seconde donnée secrète PN' à partir de la fonction caractéristique du microcircuit, et 10 combiner par une seconde fonction logique inverse de la première fonction logique, la seconde donnée secrète et la donnée exportable, appliquer au résultat RND' de la seconde fonction logique un traitement de correction d'erreur ECC2 utilisant la donnée de correction d'erreur ECW, ECW', pour obtenir la donnée aléatoire, et 15 générer la clé de signature à partir de la donnée aléatoire. Selon un mode de réalisation, la génération de la clé maitre comprend des étapes consistant à : obtenir une troisième donnée secrète PN2 à partir de la fonction PUF caractéristique du microcircuit, et 20 combiner par la première fonction logique, la troisième donnée secrète et la donnée de correction d'erreur ECW, pour obtenir une seconde donnée exportable EXT2, la régénération de la clé maitre comprenant des étapes consistant à : obtenir une quatrième donnée secrète PN2' à partir de la fonction 25 caractéristique du microcircuit, et combiner par la seconde fonction logique, la quatrième donnée secrète et la seconde donnée exportable, pour obtenir une donnée de correction d'erreur qui est utilisée par le traitement de correction d'erreur ECC2, pour obtenir la donnée aléatoire RND.It will also be clear to one skilled in the art that the various embodiments presented above are capable of various alternative embodiments and applications, and may be implemented independently of one another, or combined in various other ways. than those presented. In particular, the present invention is not limited to NFC devices and microcircuits configured to conduct NFC transactions, but can be applied to any secure microcircuit. Furthermore, the embodiments described with reference to FIGS. 7 and 8 can be implemented independently of the sequences of steps shown in FIGS. 5 and 6, in any circuit 25 using secret data, and which must be able to regenerate this data from data stored in an unsecure memory. Thus, the present application also covers, independently, a method of generating and regenerating a master key and a microcircuit implementing such a method. This method comprises the steps of: generating a random data RND and an error correction data ECW from the random data, generating a master key K from the random data, obtaining a first secret data PN, PN1 from a PUF function, non-reproducible, substantially deterministic, non-invertible and characteristic of the microcircuit, and combining by a first invertible logic function the first secret datum and the random datum, to obtain an exportable data EXT, EXT1 to the outside the microcircuit. The regeneration of the master key comprises the steps of: obtaining a second secret data PN 'from the characteristic function of the microcircuit, and combining by a second inverse logic function of the first logical function, the second secret datum and the data exportable, apply to the result RND 'of the second logical function ECC2 error correction processing using the error correction data ECW, ECW', to obtain the random data, and generate the signature key from the random data. According to one embodiment, the generation of the master key comprises the steps of: obtaining a third secret data PN2 from the function PUF characteristic of the microcircuit, and combining by the first logical function, the third secret datum and the data ECW error correction, to obtain a second exportable data EXT2, regeneration of the master key comprising the steps of: obtaining a fourth secret data PN2 'from the characteristic function of the microcircuit, and combine by the second function logic, the fourth secret data and the second exportable data, to obtain error correction data that is used by the error correction processing ECC2, to obtain the random data RND.

30 Bien entendu, ces caractéristiques peuvent être combinées à d'autres caractéristiques précédemment décrites dans la présente description. De même, les modes de réalisation décrits notamment en référence à la figure 9 peuvent être mis en oeuvre indépendamment des modes de réalisation décrits en référence aux figures 7 et 8. En particulier, il peut être 35 prévu de modifier certains bits d'une donnée fournie par une fonction PUF dans tout circuit mettant en oeuvre une telle fonction, dès lors que cette dernière est couplée à une fonction de correction d'erreur. Inversement la fonction PUF implémentée dans le circuit PUC n'est pas nécessairement couplée à une fonction de correction d'erreur. D'autres méthodes peuvent en effet être mises en oeuvre afin de "stabiliser la ou les données fournies par la fonction PUF. En effet, il peut être prévu d'activer plusieurs fois la fonction PUF et de fournir en tant que donnée de sortie de cette fonction une valeur moyenne de toutes les données obtenues à la suite de ces activations. Ainsi, la présente demande couvre également d'une manière indépendante, un procédé de génération d'une donnée secrète de manière sensiblement déterministe, non inversible, dans un microcircuit, à l'aide d'un circuit non reproductible, caractéristique du microcircuit. Ce procédé comprend des étapes de génération d'une donnée secrète à l'aide d'une telle fonction, modification de bits dans la donnée secrète, par insertion de bits aléatoires ou inversion de bits dans la donnée secrète, et application à la donnée secrète d'une fonction de correction d'erreur, les modifications de bits dans la donnée secrète ayant une étendue telle qu'elles peuvent être corrigées par la fonction de correction d'erreur. Le rang des bits modifiés, la valeur des bits modifiés peuvent être 20 fixes ou choisis aléatoirement. Le nombre de bits modifiés peut également être fixe ou choisi aléatoirement dans la limite de la capacité de correction d'erreur de la fonction de correction d'erreur. Bien entendu, ces caractéristiques peuvent être combinées à d'autres caractéristiques précédemment décrites dans la présente description. 25Of course, these features can be combined with other features previously described in this specification. Likewise, the embodiments described in particular with reference to FIG. 9 may be implemented independently of the embodiments described with reference to FIGS. 7 and 8. In particular, it may be provided to modify certain bits of a data item. provided by a function PUF in any circuit implementing such a function, since the latter is coupled to an error correction function. Conversely, the PUF function implemented in the circuit PUC is not necessarily coupled to an error correction function. Other methods can indeed be implemented in order to "stabilize the data or data provided by the PUF function, because it can be planned to activate the PUF function several times and to provide as output data the this function is an average value of all the data obtained as a result of these activations Thus, the present application also covers, independently, a method of generating a secret data in a substantially deterministic, non-invertible manner, in a microcircuit using a non-reproducible circuit characteristic of the microcircuit This method comprises steps of generating a secret datum using such a function, bit modification in the secret datum, by inserting bits. random or inversion of bits in the secret data, and application to the secret data of an error correction function, the bit changes in the secret data having a endue as they can be corrected by the error correction function. The rank of the modified bits, the value of the modified bits can be fixed or randomly selected. The number of modified bits can also be fixed or randomly chosen within the error correction capacity of the error correction function. Of course, these characteristics can be combined with other features previously described in the present description. 25

Claims (16)

REVENDICATIONS1. Procédé de gestion de la mémoire d'un microcircuit sécurisé (SE, SE1), comprenant des étapes exécutées par le microcircuit consistant à: former un bloc de données (BLi) avec du code exécutable et/ou des données mémorisées dans une mémoire (MEM2, MEM3) du microcircuit, et à sauvegarder à l'extérieur du microcircuit, calculer une signature (SGi) du bloc de données à l'aide d'une première clé de signature, insérer la signature calculée du bloc de données dans un bloc de signatures (BLS), obtenir une valeur courante d'un compteur non volatile (CNT) interne au microcircuit, calculer une signature (SGG) du bloc de signatures associé à la valeur courante du compteur interne, à l'aide d'une seconde clé de signature, et transmettre à l'extérieur du microcircuit, le bloc de données, le bloc de signatures et la signature du bloc de signatures.REVENDICATIONS1. Method for managing the memory of a secure microcircuit (SE, SE1), comprising steps performed by the microcircuit consisting of: forming a data block (BLi) with executable code and / or data stored in a memory (MEM2 , MEM3) of the microcircuit, and to save on the outside of the microcircuit, calculate a signature (SGi) of the data block with the aid of a first signature key, insert the calculated signature of the data block into a block of data. signatures (BLS), obtain a current value of a non-volatile counter (CNT) internal to the microcircuit, calculate a signature (SGG) of the signature block associated with the current value of the internal counter, using a second key signature, and transmit outside the microcircuit, the data block, the signature block and the signature block signature. 2. Procédé selon la revendication 1, comprenant des étapes exécutées par le microcircuit consistant à : émettre une requête d'un bloc de signatures, recevoir en réponse un bloc de signatures (BLS) accompagné d'une signature (SGG), calculer une signature (SGG') du bloc de signatures associé à la valeur courante du compteur interne (CNT), à l'aide de la seconde clé de signature (K), et si la signature calculée correspond à la signature reçue : former un bloc de données (BLi) avec du code exécutable et/ou des données mémorisées dans la mémoire volatile (MEM2) du microcircuit, et à sauvegarder à l'extérieur du microcircuit, calculer une signature (SGi) du bloc de données, à l'aide de la première clé de signature, insérer la signature calculée du bloc de données dans le bloc de signatures,modifier la valeur courante du compteur interne, calculer une nouvelle signature du bloc de signatures associé à la nouvelle valeur du compteur interne, à l'aide de la seconde clé de signature, et transmettre à l'extérieur du microcircuit, le bloc de données, le bloc de signatures et la nouvelle signature du bloc de signatures.2. Method according to claim 1, comprising steps performed by the microcircuit consisting in: issuing a request for a signature block, receiving in response a signature block (BLS) accompanied by a signature (SGG), calculating a signature (SGG ') of the signature block associated with the current value of the internal counter (CNT), using the second signature key (K), and if the calculated signature corresponds to the received signature: forming a data block (BLi) with executable code and / or data stored in the volatile memory (MEM2) of the microcircuit, and to save on the outside of the microcircuit, calculate a signature (SGi) of the data block, using the first signature key, insert the calculated signature of the data block into the signature block, modify the current value of the internal counter, calculate a new signature of the signature block associated with the new value of the internal counter, using the s econde key signature, and transmit outside the microcircuit, the data block, the block of signatures and the new signature of the block of signatures. 3. Procédé selon la revendication 1 ou 2, comprenant des étapes consistant à: si la signature calculée (SGG') du bloc de signatures (BLS) correspond à la signature reçue (SGG) : émettre une requête d'un bloc de données (BLi) sauvegardé à l'extérieur du microcircuit, recevoir en réponse le bloc de données requis, calculer une signature (SGi) du bloc de données reçu, à l'aide de la première clé de signature, et si la signature calculée du bloc de données correspond à une signature du bloc de donnée se trouvant dans le bloc de signatures (BLS), charger le bloc de données dans la mémoire volatile (MEM2) du microcircuit.Method according to claim 1 or 2, comprising the steps of: if the calculated signature (SGG ') of the signature block (BLS) corresponds to the received signature (SGG): sending a request for a data block ( BLi) saved outside the microcircuit, receiving in response the required data block, calculating a signature (SGi) of the received data block, using the first signature key, and if the calculated signature of the block of data data corresponds to a signature of the data block in the signature block (BLS), load the data block into the volatile memory (MEM2) of the microcircuit. 4. Procédé selon l'une des revendications 1 à 3, comprenant une étape de découpage de la mémoire volatile (MEM2) du microcircuit en blocs de données (BL1-BLn) pouvant être sauvegardés à l'extérieur du microcircuit, en association avec une signature (SG1-SGn) du bloc de données, sauvegardée dans le bloc de signatures (BLS).4. Method according to one of claims 1 to 3, comprising a step of cutting the volatile memory (MEM2) of the data block microcircuit (BL1-BLn) can be saved outside the microcircuit, in association with a signature (SG1-SGn) of the data block, saved in the signature block (BLS). 5. Procédé selon l'une des revendications 1 à 4, dans lequel les première et seconde clés de signature (K) sont lues dans une mémoire non volatile (MEM3) du microcircuit ou régénérées à partir d'une donnée secrète fournie par un circuit (PUC, RNGN) du microcircuit.5. Method according to one of claims 1 to 4, wherein the first and second signature keys (K) are read in a non-volatile memory (MEM3) of the microcircuit or regenerated from a secret data provided by a circuit (PUC, RNGN) of the microcircuit. 6. Procédé selon l'une des revendications 1 à 5, dans lequel les premières et secondes clés de signature (K) sont identiques.356. Method according to one of claims 1 to 5, wherein the first and second signature keys (K) are identical. 7. Procédé selon l'une des revendications 1 à 6, comprenant une étape de chiffrement d'un bloc de données (BLi) ou du bloc de signature (BLS), à l'aide d'une clé de chiffrement, avant de l'émettre à l'extérieur du microcircuit.7. Method according to one of claims 1 to 6, comprising a step of encrypting a data block (BLi) or the signature block (BLS), using an encryption key, before the emit on the outside of the microcircuit. 8. Procédé selon la revendication 7, dans lequel la clé de chiffrement est identique à la première ou la seconde clé de signature.The method of claim 7, wherein the encryption key is the same as the first or second signature key. 9. Procédé selon l'une des revendications 1 à 8, dans lequel chaque bloc (BLi, BLS) est signé et/ou chiffré avec une clé de signature ou de chiffrement distincte des clés de signatures et/ou de chiffrement utilisées pour les autres blocs.9. Method according to one of claims 1 to 8, wherein each block (BLi, BLS) is signed and / or encrypted with a signature or encryption key distinct from the signature and / or encryption keys used for the others. blocks. 10. Procédé selon l'une des revendications 1 à 9, dans lequel chaque clé de signature (Ki) est générée à partir d'une donnée secrète obtenue par une fonction (PUF) non reproductible, sensiblement déterministe, non inversible et caractéristique du microcircuit, qui combinée à une fonction de correction d'erreur ou une fonction de moyennage, fournit toujours la même donnée secrète.10. Method according to one of claims 1 to 9, wherein each signature key (Ki) is generated from a secret data obtained by a function (PUF) non-reproducible, substantially deterministic, non-invertible and characteristic of the microcircuit , which combined with an error correction function or an averaging function, always provides the same secret data. 11. Procédé selon l'une des revendications 1 à 10, dans lequel la génération de chaque clé de signature comprend des étapes consistant à : générer une donnée aléatoire (RND) et une donnée de correction d'erreur (ECW) à partir de la donnée aléatoire, générer la clé de signature (K) à partir de la donnée aléatoire, obtenir une première donnée secrète (PN, PN1) à partir d'une fonction (PUF) non reproductible, sensiblement déterministe, non inversible et caractéristique du microcircuit, et combiner par une première fonction logique inversible la première 30 donnée secrète et la donnée aléatoire, pour obtenir une donnée exportable (EXT, EXT1) à l'extérieur du microcircuit, la régénération de chaque clé de signature comprenant des étapes consistant à : obtenir une seconde donnée secrète (PN') à partir de la fonction 35 caractéristique du microcircuit, etcombiner par une seconde fonction logique inverse de la première fonction logique, la seconde donnée secrète et la donnée exportable, appliquer au résultat (RND') de la seconde fonction logique un traitement de correction d'erreur (ECC2) utilisant la donnée de correction d'erreur (ECW, ECW'), pour obtenir la donnée aléatoire, et générer la clé de signature à partir de la donnée aléatoire.The method according to one of claims 1 to 10, wherein the generation of each signature key comprises steps of: generating random data (RND) and error correction data (ECW) from the random data, generating the signature key (K) from the random data, obtaining a first secret data (PN, PN1) from a non-reproducible, substantially deterministic, non-invertible function (PUF) characteristic of the microcircuit, and combining by a first invertible logic function the first secret data and the random data, to obtain an exportable data (EXT, EXT1) outside the microcircuit, the regeneration of each signature key comprising the steps of: obtaining a second secret data (PN ') from the characteristic function of the microcircuit, etcombinant by a second inverse logic function of the first logical function, the second e secret data and the exportable data, apply to the result (RND ') of the second logic function an error correction process (ECC2) using the error correction data (ECW, ECW'), to obtain the random data , and generate the signature key from the random data. 12. Procédé selon la revendication 11, dans lequel la génération de chaque clé de signature (K) comprend des étapes consistant à : obtenir une troisième donnée secrète (PN2) à partir de la fonction (PUF) caractéristique du microcircuit, et combiner par la première fonction logique, la troisième donnée secrète et la donnée de correction d'erreur (ECW), pour obtenir une seconde donnée exportable (EXT2), la régénération de chaque clé de signature comprenant des étapes consistant à: obtenir une quatrième donnée secrète (PN2') à partir de la fonction caractéristique du microcircuit, et combiner par la seconde fonction logique, la quatrième donnée 20 secrète et la seconde donnée exportable, pour obtenir une donnée de correction d'erreur qui est utilisée par le traitement de correction d'erreur (ECC2), pour obtenir la donnée aléatoire (RND).The method of claim 11, wherein the generation of each signature key (K) comprises the steps of: obtaining a third secret data (PN2) from the function (PUF) characteristic of the microcircuit, and combining by the first logical function, the third secret data and the error correction data (ECW), to obtain a second exportable data (EXT2), the regeneration of each signature key comprising the steps of: obtaining a fourth secret data (PN2) ') from the characteristic function of the microcircuit, and combine by the second logical function, the fourth secret data and the second exportable data, to obtain an error correction data which is used by the error correction process (ECC2), to obtain the random data (RND). 13. Procédé selon l'une des revendications 10 à 12, comprenant une 25 étape de modification de bits dans les données secrètes (PN, PN', PN1, PN1', PN2, PN2') fournies par la fonction (PUF) caractéristique du microcircuit, par insertion de bits aléatoires ou inversion de bits dans les données secrètes, les modifications de bits dans les données secrètes ayant une étendue telle qu'elles peuvent être corrigées par la fonction de correction 30 d'erreur.13. Method according to one of claims 10 to 12, comprising a step of changing bits in the secret data (PN, PN ', PN1, PN1', PN2, PN2 ') provided by the function (PUF) characteristic of the microcircuit, by inserting random bits or inverting bits in the secret data, the bit changes in the secret data having an extent such that they can be corrected by the error correction function. 14. Microcircuit comprenant un processeur (PRO) et une mémoire volatile (MEM2) dans lequel est mémorisé un programme exécuté par le processeur, le microcircuit étant configuré pour mettre en oeuvre le procédé 35 selon l'une des revendications 1 à 13.14. Microcircuit comprising a processor (PRO) and a volatile memory (MEM2) in which is stored a program executed by the processor, the microcircuit being configured to implement the method 35 according to one of claims 1 to 13. 15. Microcircuit selon la revendication 14, comprenant une capacité de mémorisation non volatile réinscriptible insuffisante pour mémoriser les programmes ou le système d'exploitation exécutés par le microcircuit.15. Microcircuit according to claim 14, comprising an insufficient rewritable non-volatile storage capacity for storing the programs or the operating system executed by the microcircuit. 16. Microcircuit selon la revendication 14 ou 15, comprenant un circuit (PUC) mettant en oeuvre une fonction (PUF) non reproductible, sensiblement déterministe, non inversible et caractéristique du microcircuit.16. Microcircuit according to claim 14 or 15, comprising a circuit (PUC) implementing a function (PUF) non-reproducible, substantially deterministic, non-invertible and characteristic of the microcircuit.
FR1201677A 2012-06-12 2012-06-12 METHOD OF SAVING DATA OUTSIDE A SECURE MICROCIRCUIT Withdrawn FR2991796A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
FR1201677A FR2991796A1 (en) 2012-06-12 2012-06-12 METHOD OF SAVING DATA OUTSIDE A SECURE MICROCIRCUIT
US14/396,428 US20150113243A1 (en) 2012-06-12 2013-05-06 Method for backing up data outside a secure microcircuit
CN201380031025.1A CN104380305A (en) 2012-06-12 2013-05-06 Method for backing-up data outside of a secure microcircuit
PCT/FR2013/051004 WO2013186451A1 (en) 2012-06-12 2013-05-06 Method for backing-up data outside of a secure microcircuit
EP13727261.3A EP2859497B1 (en) 2012-06-12 2013-05-06 Method for backing-up data outside of a secure microcircuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR1201677A FR2991796A1 (en) 2012-06-12 2012-06-12 METHOD OF SAVING DATA OUTSIDE A SECURE MICROCIRCUIT

Publications (1)

Publication Number Publication Date
FR2991796A1 true FR2991796A1 (en) 2013-12-13

Family

ID=47351721

Family Applications (1)

Application Number Title Priority Date Filing Date
FR1201677A Withdrawn FR2991796A1 (en) 2012-06-12 2012-06-12 METHOD OF SAVING DATA OUTSIDE A SECURE MICROCIRCUIT

Country Status (5)

Country Link
US (1) US20150113243A1 (en)
EP (1) EP2859497B1 (en)
CN (1) CN104380305A (en)
FR (1) FR2991796A1 (en)
WO (1) WO2013186451A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6401866B2 (en) * 2014-12-24 2018-10-10 華為技術有限公司Huawei Technologies Co.,Ltd. Transaction processing method and apparatus, and computer system
JP2017118229A (en) * 2015-12-22 2017-06-29 ソニー株式会社 Information processing device, information processing method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009156302A1 (en) * 2008-06-23 2009-12-30 Nxp B.V. Electronic device and method of software or firmware updating of an electronic device
EP2343662A1 (en) * 2009-12-18 2011-07-13 ST-Ericsson (France) SAS Method of and apparatus for storing data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2808360B1 (en) * 2000-04-28 2002-06-28 Gemplus Card Int COUNTER MEASUREMENT METHOD IN A MICROCIRCUIT IMPLEMENTING THE METHOD AND CHIP CARD COMPRISING SAID MICROCIRCUIT
FR2923305B1 (en) * 2007-11-02 2011-04-29 Inside Contactless METHOD AND DEVICES FOR PROTECTING A MICROCIRCUIT AGAINST ATTACKS TO DISCOVER SECRET DATA
US8504528B2 (en) * 2009-11-09 2013-08-06 Ca, Inc. Duplicate backup data identification and consolidation
US8452817B1 (en) * 2011-04-21 2013-05-28 Netapp, Inc. Update of data structure configured to store metadata associated with a database system
US8751736B2 (en) * 2011-08-02 2014-06-10 Oracle International Corporation Instructions to set and read memory version information
US9152793B2 (en) * 2012-09-28 2015-10-06 Intel Corporation Methods, systems and apparatus to self authorize platform code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009156302A1 (en) * 2008-06-23 2009-12-30 Nxp B.V. Electronic device and method of software or firmware updating of an electronic device
EP2343662A1 (en) * 2009-12-18 2011-07-13 ST-Ericsson (France) SAS Method of and apparatus for storing data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DRIES SCHELLEKENS ET AL: "Embedded Trusted Computing with Authenticated Non-volatile Memory", 11 March 2008, TRUSTED COMPUTING - CHALLENGES AND APPLICATIONS; [LECTURE NOTES IN COMPUTER SCIENCE], SPRINGER BERLIN HEIDELBERG, BERLIN, HEIDELBERG, PAGE(S) 60 - 74, ISBN: 978-3-540-68978-2, XP019089490 *

Also Published As

Publication number Publication date
EP2859497B1 (en) 2020-07-29
US20150113243A1 (en) 2015-04-23
CN104380305A (en) 2015-02-25
EP2859497A1 (en) 2015-04-15
WO2013186451A1 (en) 2013-12-19

Similar Documents

Publication Publication Date Title
TWI468943B (en) Methods and apparatus for access data recovery from a malfunctioning device
EP3152860B1 (en) Method for the authentication of a first electronic entity by a second electronic entity, and electronic entity implementing such a method
US9633210B2 (en) Keying infrastructure
CA2830283C (en) Interrogating an authentication device
EP3238474B1 (en) Method for securing contactless transactions
EP3010175A1 (en) Replay of a batch of secure commands in a secure channel
CN109474420A (en) A kind of private key backup method and relevant device
EP2795833B1 (en) Authentication method between a reader and a radio tag
FR2998075A1 (en) METHOD FOR MUTUAL AUTHENTICATION BETWEEN A RADIO LABEL AND A READER
EP3238200A1 (en) Secure electronic entity, electronic apparatus and method for verifying the integrity of data stored in such a secure electronic entity
FR2960328A1 (en) METHOD FOR MANAGING INTEGRATED CIRCUITS WITH INTERNAL GENERATION OF A PERSONAL AUTHENTICATION KEY
CA2888662A1 (en) System and method for securing data exchange, portable user object and remote device for downloading data
FR3046000A1 (en) METHOD FOR RECEIVING DATA WITHIN AN ELECTRONIC ENTITY AND ELECTRONIC ENTITY THEREFOR
EP2859497B1 (en) Method for backing-up data outside of a secure microcircuit
EP3185468A1 (en) Data-transmission method, data-receiving method, corresponding devices and programs
FR3075423A1 (en) TECHNIQUE FOR PROTECTING A CRYPTOGRAPHIC KEY USING A USER PASSWORD
WO2011003722A1 (en) Software security module using the encryption of the hash of a password concatenated with a seed
FR2991797B1 (en) SECURE PROCESSOR WITHOUT NON-VOLATILE MEMORY
EP3021515B1 (en) Enhancement of the authentic integrity of data using the last block encrypting said data in cbc mode
FR3114668A1 (en) System on a chip for cryptography applications including a monotonic counter and associated implementation method
EP3847566A1 (en) Method for securing the use of an apparatus operating with an accessory or a consumable
FR3111441A1 (en) Safe start of an electronic circuit
EP1959371A1 (en) Coupling of a computer program or data to an associated reference and verification system.
FR3025341A1 (en) SECURING ENCRYPTION KEYS FOR TRANSACTION ON A DEVICE WITHOUT SECURE MODULE
FR2924551A1 (en) Access controlling method for e.g. data coding function of smart card, involves comparing mark obtained from value to be verified of decoded word with mark of decoded word to verify integrity of value

Legal Events

Date Code Title Description
CA Change of address

Effective date: 20140220

PLFP Fee payment

Year of fee payment: 5

PLFP Fee payment

Year of fee payment: 6

PLFP Fee payment

Year of fee payment: 7

PLFP Fee payment

Year of fee payment: 8

CD Change of name or company name

Owner name: VERIMATRIX, FR

Effective date: 20191119

CA Change of address

Effective date: 20191209

TP Transmission of property

Owner name: RAMBUS INC., US

Effective date: 20200402

PLFP Fee payment

Year of fee payment: 9

ST Notification of lapse

Effective date: 20220205