EP0962850A2

A method for protecting embedded system software and embedded system

Abstract

The invention pertains to a software protection method that finds particular utility in embedded systems. The protection is based on authentication carried out entirely by means of hardware. A system includes a security circuit integrated on the same microcircuit with a processor. As the system is started, the security circuit reads (404) from the program memory certain portions of the program code and calculates (405) in accordance with a certain algorithm one or more identifiers. Secret code stored in the security circuit is used as operands in the calculation. The identifiers calculated are compared (406) to correct ones and system use is enabled (408) only if the identifiers match. For further protection it is possible to use a program memory circuit which has a component-specific identification code and to check (403) and use as operand (405) said identification code. The security circuit may also be used to decrypt an entirely encrypted program. The method makes the misuse of embedded system software considerably more difficult than in known systems. In addition, compared to software-based authentication, the protection uses less system resources.

EP0962850A2, drawing sheet 1
Sheet 1 of 4

Term

Term ended

Projected expiry passed 24 May 2019, 7.3 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

11 claims: 3 independent, 8 dependent

  1. 1
    A method for protecting an operating program in an embedded system, wherein it is calculated on the basis of the operating program code located in the program memory at least one identifier in accordance with a certain algorithm using secret code as operands, and the identifier obtained is compared to a correct identifier, characterized in that said secret code is stored in hardware and said identifier calculation and comparison (404-406) are carried out substantially entirely by means of hardware.
  2. 2
    A method for protecting an operating program in an embedded system, wherein the system's operating program code is at least partly encrypted, characterized in that while the program is being executed, the decryption (505-511) of said encryption is carried out substantially entirely by means of hardware.
  3. 6
    An embedded system (30) comprising a program memory (32) and processor (311) and being arranged so as to protect an operating program in the program memory by means of an algorithm, characterized in that said system (30) also comprises a security circuit (312) which contains secret logic and where secret code (SC) has been stored, said security circuit being arranged so as to perform, in hardware, calculations according to said algorithm.