Claims
- 1. Secure method of managing a memory (13-15) in which:files (44) in the memory are allocated file descriptors (41), said file descriptors include information (47-49) on security modes needed to apply processing functions (50) to data stored in the files, and the security of the files in the memory is managed (40) in accordance with the content of said file descriptors, characterised in that: the security modes are divided into M different types (19-21) and the functions are divided into N different types (22-28), a first group (47-49) of M mode memory words is created in the descriptor of each file, the length in bits of the mode memory words being at least equal to the number N of different types of functions, the functions are stored in a particular order (G1-G7), the positions (52-54) of the bits in the mode memory words conforming to that order, and the bits of the mode memory words are rendered active or inactive according to whether a security mode (47) must or must not be applied on application of a function (G1) to a file to which a descriptor relates.
- 2. Method according to claim 1 characterised in that:a second group (50) of function memory words, the number of which varies, is created in the descriptor of each file, the variable number of function memory words being equal to the number of active bits in the mode memory words, and the function memory words include a reference of a key (ref CS G1) to be used in the security mode concerned to apply the function to the data of the file to which the descriptor relates.
- 3. Method according to claim 2 characterised in that a reference is identified in the function memory words associated with a mode by the correspondence between the place (52) of the active mode bits in the mode memory words and the place (51) of the function memory word in the function memory words.
- 4. Method according to claim 1 characterised in that a fault bit (68) is placed in a mode memory word to determine the protection mode of all the functions for which no bits is in the active state in a mode memory word.
- 5. Method according to claim 1 characterised in that a validation bit (69) is stored in the function memory words to authroise or not application of the security mode determined to the file concerned.
- 6. Method according to claim 1 characterised in that:a descriptor is searched (71) for an active mode bit for an envisaged function, if there is no active mode bit for an envisaged function, the value of the fault bit is tested (72) and execution of the function is authorised (73) or not (33) according to the value of the fault bit, if there is an active mode bit for an envisaged function, the value of the validation bit of the key reference contained in the function memory word is tested (74), and depending on the value of the validation bit, either the security mode is applied (74) beforehand to the application (73) of the function to the file to which the descriptor relates or the projected application is rejected (33).
- 7. Method according to claim 1 characterised in that the memory words are bytes.
- 8. Method according to claim 1 characterised in that the security modes include:a mode (47) entailing sending a secret code, encrypted or not, between a smart card and a smart card reader, a mode (48) entailing first sending a random number, encrypted or not, between a smart card and a smart card reader, followed by sending a secret code, encrypted or not, between the smart card reader and the card, and a mode (49) entailing sending a message, encrypted or not, between a smart card and a smart card reader, part of which message is transmitted unenciphered and in a form enciphered by means of a secret key.
Priority Claims (1)
| Number |
Date |
Country |
Kind |
| 97/14054 |
Nov 1997 |
FR |
|
Parent Case Info
This is a continuation of International Application No. PCT/FR98/02336, filed Nov. 2, 1998, and claims priority from French Patent Application No. 97/14054, filed Nov. 7, 1997, the contents of which are incorporated herein by reference.
US Referenced Citations (4)
| Number |
Name |
Date |
Kind |
|
4734568 |
Watanabe |
Mar 1988 |
A |
|
4858117 |
DiChiara et al. |
Aug 1989 |
A |
|
5282247 |
McLean et al. |
Jan 1994 |
A |
|
6243796 |
Otsuka |
Jun 2001 |
B1 |
Foreign Referenced Citations (3)
| Number |
Date |
Country |
| 0152024 |
Aug 1985 |
EP |
| WO 8809019 |
Nov 1988 |
EP |
| 2628555 |
Sep 1989 |
FR |
Continuations (1)
|
Number |
Date |
Country |
| Parent |
PCT/FR98/02336 |
Nov 1998 |
US |
| Child |
09/567062 |
|
US |