Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD OF AUTHENTICATION AND ELECTRONIC DEVICE FOR PERFORMING THE AUTHENTICATION
Document Type and Number:
WIPO Patent Application WO/2008/152533
Kind Code:
A3
Abstract:
An authentication method (100) for a secure data transmission is provided, the method comprising performing a first authentication protocol (101) by using a first cipher and performing a second authentication protocol (102) by using a second cipher. Possible inputs for the first authentication protocol (101) may be one shared key or several keys, and one or two random numbers.

Inventors:
NEUMANN HEIKE (DE)
HUBMER PAUL (AT)
THUERINGER PETER (AT)
Application Number:
PCT/IB2008/051635
Publication Date:
March 19, 2009
Filing Date:
April 28, 2008
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NXP BV (NL)
NEUMANN HEIKE (DE)
HUBMER PAUL (AT)
THUERINGER PETER (AT)
International Classes:
H04L9/32; G06F21/44
Domestic Patent References:
WO2006120617A12006-11-16
Foreign References:
US20020066018A12002-05-30
US20020059518A12002-05-16
US6094485A2000-07-25
US6915426B12005-07-05
US20040077335A12004-04-22
US20050216736A12005-09-29
Attorney, Agent or Firm:
PETERS, Carl-Heinrich et al. (Intellectual Property DepartmentStresemannallee 101, Hamburg, DE)
Download PDF:
Claims:

CLAIMS

1. An authentication method (100) for a secure data transmission, the method comprising: performing a first authentication protocol (101) by using a first cipher, and performing a second authentication protocol (102) by using a second cipher.

2. The method (100) according to claim 1, wherein the first cipher is a high security cipher.

3. The method (100) according to claim 1, further comprising: outputting a first seed (210) by the first cipher.

4. The method (100) according to claim 3, further comprising: generating a first session key (211) based on the first seed (210).

5. The method (100) according to claim 4, wherein an input for the second authentication protocol (102) is the first session key.

6. The method (100) according to claim 1, further comprising: outputting a second seed (320) by the second cipher.

7. The method (100) according to claim 6, further comprising: generating a second session key (321) based on the second seed (320).

8. The method (100) according to claim 1, wherein the second cipher is a high performance cipher.

9. The method (100) according claim 1, further comprising: re-performing the first authentication protocol (101), and re-performing the second authentication protocol (102).

10. The method (100) according to claim 9, wherein the first authentication protocol (101) uses a first key (204, 205) as an input, and wherein in the re-performing the first authentication protocol (101) uses a second key as an input.

11. The method (100) according to claim 9, wherein the first authentication protocol (101) uses a first key (204, 205) and a first random number (206, 207) as an input, and wherein in the re-performing the first authentication protocol (101) uses the first key (204, 205) and a second random number as an input.

12. The method (100) according to claim 9, wherein the first authentication protocol (101) generates a first session key, and wherein in the re-performing the second authentication protocol (102) uses a second key as an input.

13. The method (100) according to claim 9, wherein the first authentication protocol (101) uses a first random number (206, 207) as an input and generates (211) a first session key (212, 213), and wherein in the re-performing the second authentication protocol (102) uses the first session key (212, 213) and a second random number as an input.

14. A method (100) for secure data transmission, the method comprising: a method of authentication according to claim 1,

transmitting data using the second cipher (103).

15. The method (100) according to claim 14, wherein in the transmitting of the data a first session key (212, 213) is used generated by using the first cipher.

16. The method (100) according to claim 14, wherein in the transmitting of the data a second session key (322, 323) is used generated by using the second cipher.

17. A method (100) of generating session keys for an encrypted communication, the method comprising: generating a first session key (211) by using a first cipher, and generating a second session key (321) based on the first session key by using a second cipher.

18. An electronic device (401, 402) comprising: a processor (403, 404), wherein the processor is adapted to perform a method according claim 1.

19. The electronic device (401, 402) according to claim 18, wherein the electronic device is a security token or a reader device.

20. A system (400) comprising: two electronic devices (401, 402) according to claim 18.

21. A program element, which, when being executed by a processor, is adapted to control or carry out a method of authentication according claim 1.

22. A computer-readable medium, in which a computer program is stored which, when being executed by a processor, is adapted to control or carry out a method of authentication according claim 1.

Description:

METHOD OF AUTHENTICATION AND ELECTRONIC DEVICE FOR PERFORMING THE AUTHENTICATION

FIELD OF THE INVENTION

The invention relates to method of authentication.

The invention further relates to a method for secure data transmission.

Further, the invention relates to an electronic device for performing an authentication. In addition, the invention relates to a method of generating session keys for an encrypted communication.

Moreover, the invention relates to a program element.

Furthermore, the invention relates to a computer-readable medium.

BACKGROUND OF THE INVENTION

For many applications such as electronic ticketing, transport or digital access control systems security tokens are used to store relevant or security information. Typically, this information has to be protected with respect to confidentiality, authenticity and integrity. This protection does not only have to be maintained while the data is stored in the security token but also when transmitted to the back office system that processes the data after reading it out. In order to implement secure communication between a security token and a reader device, the two entities perform a mutual authentication from which session keys are derived that can be used for subsequent secure messaging between the communication partners.

A typical requirement for the beginning of secure messaging is that the communication partners perform a handshake protocol, which is often part of the mutual authentication protocol. A reason for mandating a handshake protocol is that the communication partners ensure that the authentication actually succeeded and that the key they agreed upon is indeed known by both parties.

Security tokens as used today, often use high performance authentication protocols or mechanisms which have a medium or even low security level.

OBJECT AND SUMMARY OF THE INVENTION

It may be an object of the present invention to provide an alternative method of authentication and an electronic device for performing an authentication. In order to achieve the object defined above, a method of authentication, a method for secure data transmission, an electronic device for performing an authentication, a method of generating session keys for an encrypted communication, a program element, and a computer-readable medium according to the independent claims are provided.

According to an exemplary embodiment an authentication method for a secure data transmission is provided, the method comprising performing a first authentication protocol by applying a first cipher and performing a second authentication protocol by applying a second cipher. Possible inputs for the first authentication protocol may be one shared key or several keys, and one or two random numbers.

According to an exemplary embodiment a method for secure data transmission is provided, wherein the method comprises a method of authentication according to an exemplary embodiment, and transmitting data using the second cipher.

According to an exemplary embodiment a method of generating session keys for an encrypted communication is provided, wherein the method comprises generating a first session key by using a first cipher and generating a second session key based on the first session key by using a second cipher.

According to an exemplary embodiment an electronic device is provided which comprises a processor, wherein the processor is adapted to perform a method according to an exemplary embodiment. In particular, the electronic device may be a security token or a reader device. According to an exemplary embodiment a communication system is provided which comprises two electronic devices according to an exemplary embodiment. In particular, one electronic device may be a security token while the other one may be a reader device. In

particular, the two electronic devices may be adapted to perform an authentication method according to an exemplary embodiment.

According to an exemplary embodiment a program element is provided, which, when being executed by a processor, is adapted to control or carry out a method of authentication according to an exemplary embodiment.

According to an exemplary embodiment a computer-readable medium is provided, in which a computer program is stored which, when being executed by a processor, is adapted to control or carry out a method of authentication according to an exemplary embodiment. In this application the term "authentication protocol" may particularly denote an abstract or concrete protocol that performs an authentication related function and may also apply cryptographic methods. A protocol may describe how an algorithm should be used. A sufficiently detailed protocol may include details about data structures and representations, at which point it can be used to implement multiple, interoperable versions of a program. Authentication protocols, in particular together with cryptographic protocols, are widely used for secure application-level data transport. In particular, an authentication protocol may be used to assure that the partners of a communication are the intended partners and may end with a generation of a session key.

In this application the term "cipher" may particularly denote an algorithm for performing encryption and decryption, e.g. a series of well-defined steps that can be followed as a procedure. In most cases, that process may be varied depending on a key and/or a random number which changes the detailed operation of the algorithm. Furthermore, in cryptography the original text is known as plaintext and the encrypted form as ciphertext.

In this application the term "key" may particularly denote a piece of information that controls the operation of a cryptography algorithm or cipher. In encryption a key may specify the particular transformation of plaintext into ciphertext, or vice versa during decryption. Keys may also be used in other cryptographic algorithms or ciphers, such as digital signature schemes and keyed-hash functions.

By using two times an authentication protocol, e.g. two times the same protocol or a different one for each time, it may be possible to use two different ciphers, leading to the fact that each of the two ciphers may be tailored to specific needs. For example, the first cipher may be tailored to be a high security cipher, ensuring the security of the communication, while the second cipher may be tailored to be a high performance cipher, possibly enabling a fast communication between partners of a cryptographic communication.

Such a method may be called cascade authentication, since two times an authentication protocol is performed, which may significantly strengthens the security level of the authentication method or mechanism. By using two different tailored ciphers for the performing of the authentication protocol the overall performance may be almost as good as in a medium secure system, i.e. in a system using a medium secure cipher for the authentication and a handshake protocol instead of the second authentication protocol according to the exemplary embodiment, and orders of magnitudes better than in standardized solutions. Furthermore, it may be possible to stick with an existing architecture and infrastructure for the bulk part of the communication between two electronic devices, e.g. a security token and a reader device. Thus, only minor changes may be necessary compared to standardized solutions. In this context the term "handshake protocol" may particularly denote a protocol which may be applied after an "authentication protocol", e.g. after a session key is generated. Such a handshake protocol may involve the exchange of "meaningless" information or data, i.e. data which are not related to the data actually intended to be transmitted and may in particular be used in order to assure that the partners have the same session key.

A gist of an exemplary embodiment may be the replacing of a handshake protocol as a second step of an authentication method by a second classical authentication protocol. That is, two authentication protocols may be used after each other, wherein the second one may replace the common handshake protocol. In particular, the second authentication protocol may ensure that the authentication actually succeeded and that the key agreed upon is indeed known by both partners. Although the partners would notice non-match keys during the secure messaging part of the communication anyway, the use of a dedicated

protocol, e.g. an authentication protocol, may ensure that only meaningless messages are exchanged, which may imply that in case the partners do not have the same key no additional starting points for an attack may be exposed.

Next, further exemplary embodiments of the method of authentication are described. However, these embodiments also apply to the method for secure data transmission, the electronic device for performing an authentication, the method of generating session keys for an encrypted communication, the program element, and the computer- readable medium.

According to another exemplary embodiment of the method the first cipher is a high security cipher.

The use of a high security cipher may be a suitable measure to ensure that a communication performed after the authentication may have a high security level. In particular, the high security cipher or high secure cipher may be used at essential points of the communication, e.g. at the beginning, i.e. the authentication step, of the communication, while for the bulk communication another cipher may be used which may be tailored to another need of the communication, e.g. a high performance cipher may optionally be used.

According to another exemplary embodiment the method further comprises outputting a first seed by the first cipher. A possible another output may be a first status indicator, which may be used to indicate whether the first authentication protocol was successfully performed. That is, the first status indicator may form a flag having two states,

"failed" and "succeeded". In particular, a first session key may be generated based on the first seed. In case a high security cipher is used as the first cipher, a high security first session key may be generated, i.e. a key having a high entropy which may be used for the secure messaging part of the communication between two electronic devices, like a security token or smart cart and an appropriate reader device. In many cases the first session may be generated by a first key derivation function.

According to another exemplary embodiment of the method an input for the second authentication protocol is the first session key. Possible further inputs for the second

authentication protocol may be one shared key or several keys, and one or two random numbers.

According to another exemplary embodiment the method further comprises outputting a second seed by the second cipher. A possible another output may be a second status indicator, which may be used to indicate that the second authentication protocol was successfully performed. That is, the second status indicator may form a flag having two states, "failed" and "succeeded". In particular, a second session key may be generated based on the second seed. In many cases the second session key may be generated by a second key derivation function. In case a medium or low security cipher is used as the first cipher, a high security first session key may be generated. Thus, a second cipher having a lower security level than the first cipher may be used. Instead the second cipher may be tailored to have a higher performance, i.e. provides a faster data transmission. Although the second session key may have a low entropy and the second cipher may have a low security level the overall security level may not be corrupted since for parts essential for the security the first cipher and the first session key may be used potentially having a high security level and/or entropy. The second cipher may in particular be used for the bulk part of the communication which may mean that the overall performance may only be slightly decreased compared to conventional authentication and communication methods while the security level of a transmission using a authentication method according to an exemplary embodiment may be greatly increased. Since for the bulk part of the communication a high performance cipher may be used the power consumption of the sending electronic device, e.g. a security token, may not heavenly increased as it possibly would in case a high security cipher would be used in the bulk part of the communication or transmission as well. According to another exemplary embodiment the method further comprises re- performing the first authentication protocol, and re-performing the second authentication protocol. In particular, this embodiment may provide a method of re-authentication.

Such a re-authentication may be in particular suitable in case during a communication in which it is necessary to authenticate several times, e.g. for different sectors of a memory of a security token.

According to another exemplary embodiment of the method the first authentication protocol uses a first key as an input, and in the re-performing the first authentication protocol uses a second key as an input.

According to another exemplary embodiment of the method the first authentication protocol uses a first key and a first random number as an input, and in the re- performing the first authentication protocol uses the first key and a second random number as an input. That is, the same key is used for the first authentication protocol but different random numbers are used which may lead to the fact that a new first session key is generated by the re-performing of the first authentication protocol.

According to another exemplary embodiment of the method the first authentication protocol generates a first session key, and in the re-performing the second authentication protocol uses a second key as an input. In particular, the second key may be a so-called fixed key.

According to another exemplary embodiment of the method the first authentication protocol uses a first random number as an input and generates a first session key, and in the re-performing the second authentication protocol uses the first session key and a second random number as an input. That is, the same key is used for the first authentication protocol but different random numbers are used which may lead to the fact that a new second session key is generated by the re-performing of the second authentication protocol.

Next, further exemplary embodiments of the method for secure data transmission are described. However, these embodiments also apply to the method of authentication, the electronic device for performing an authentication, the method of generating session keys for an encrypted communication, the program element, and the computer-readable medium.

According to another exemplary embodiment of the method in the transmitting of the data a first session key is used which is generated by using the first cipher.

Alternatively, in the transmitting of the data a second session key may be used which is generated by using the second cipher.

In general the first session key may have a higher security level and a higher entropy, since the first cipher has a higher security level. A data transmission or secure messaging following the authentication method may use either of the session keys. Primarily the choice may be based on the security level required by the application.

Summarizing, a gist of an exemplary aspect of the present invention may be seen in a combination of a highly performant crypto mechanism with less performant but highly secure crypto primitives, thus leading to a combined authentication procedure keeping the high performance while strengthening the security properties of authentication of secure messaging methods. In particular, the highly secure crypto primitives may be used in parts of the messaging which are essential or crucial for maintaining the security level. For this part standardized strong crypto ciphers, e.g. DES or AES or triple DES, may be used which would have a performance which may not be good enough for a communication, e.g. between a security token and a respective reader device. These strong ciphers usually have a high power consumption which may in particular be higher than a power consumption of medium or low secure ciphers. For the bulk part a cipher, e.g. a block cipher or a stream cipher, having a rather short key and consequently a lower security level but having a higher performance, may be used. This combination of two ciphers may lead to the fact that the security level of the communication is substantially maintained, i.e. similar to a communication based on a highly security cipher, while the power consumption and the performance of the communication is substantially maintained, i.e. similar to a communication based on a medium or low security cipher having a high performance. Thus, although a rather short key may be used for the bulk part of the communication, the communication is not easily cracked or broken and the security of the whole system may not be compromised easily, since for the crucial messaging parts the high security cipher/key may be used.

Thus, a cascade authentication may be formed which may increase significantly the security level of the authentication mechanism compared to similar performing standard authentication methods using an authentication protocol and a handshake

protocol. The cascade authentication method or mechanism may comprise at least three cryptographic protocols.

1. A first mutual authentication protocol with a strong first crypto cipher, preferably standarized. 2. A second mutual authentication protocol, as a replacement for a common handshake protocol, using a second crypto cipher that may be proprietary. In many cases the second crypto cipher is not as strong or secure as the first one but is of high performance.

3. Secure messaging using the second high performance crypto cipher or crypto algorithm with a session key generated either by the first mutual authentication protocol or by the second mutual authentication protocol.

A basic idea of the exemplary aspect may be that a double authentication with two different underlying ciphers may be functionally substantially the same as one authentication and a subsequent handshake protocol, i.e. the second authentication may replace the original handshake protocol. Since the handshake protocol may have almost the same functional requirements and properties as an authentication protocol, i.e. only random numbers may be exchanged as messages and the goal of the protocol is an assurance of the knowledge state of the communication partners, even a quite weak cipher may be used for the replacing the handshake protocol as long as the cipher does not allow for an easy key recovery attack.

An authentication method according to an exemplary embodiment may be used in the field of contactless chips, e.g. in so-called Milfare application systems.

The aspects and exemplary embodiments defined above and further aspects of the invention are apparent from the example of embodiment to be described hereinafter and are explained with reference to these examples of embodiment.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be described in more detail hereinafter with reference to examples of embodiment but to which the invention is not limited.

Fig. 1 schematically illustrates a cascade authentication mechanism according to an exemplary embodiment.

Fig. 2 schematically illustrates a first detail of the cascade authentication mechanism of Fig. 1. Fig. 3 schematically illustrates a second detail of the cascade authentication mechanism of Fig. 1.

Fig. 4 schematically illustrates a system for applying the cascade authentication mechanism.

DESCRIPTION OF EMBODIMENTS

The illustration in the drawing is schematically. In different drawings, similar or identical elements are provided with similar or identical reference signs.

In the following an authentication mechanism or authentication method 100 for a communication between two electronic devices, e.g. a security token and a respective reader device, according to an exemplary embodiment will described in more detail with reference to the Figs. 1 to 3.

Fig. 1 schematically illustrates a cascade authentication method or mechanism for a communication. In general the authentication mechanism 100 comprises a first mutual authentication protocol 101 using a highly secure cipher. This first mutual authentication protocol may be a classical authentication step using a strong standardized cipher like the Data Encryption Standard algorithm (DES) or the Advanced Encryption Standard algorithm (AES). Further, the authentication mechanism 100 comprises a second authentication protocol 102 using a high performance cipher. This second authentication protocol 102 may be a reused authentication protocol as commonly known with a medium or low security cipher. Furthermore, the authentication mechanism 100 comprises a secure messaging 103 using a high performance cipher. The combination of the above described three parts of the authentication mechanism 100 may allow for several optional configurations that may be used to tailor the protocols to the communication or application with respect to performance, security and implementation.

Fig. 2 schematically illustrates a first detail of the cascade authentication mechanism 100 of Fig. 1, i.e. the first mutual authentication protocol 101 using a high security cipher. The first mutual authentication protocol 101 performs the authentication according to a distributed algorithm or first cipher using values of four parameters as input. In particular, both of the electronic devices involved in the communication, e.g. the security token and the reader device, use two input parameters each. One of these parameters is a shared key and the other one is a random number recently and uniquely chosen for authentication purposes only. The four input parameters for the authentication algorithm/cipher are schematically depicted in Fig. 2 by the four arrows 204 and 205 for the shared key and 206 for the first random number and 207 for the second random number. An output of the first authentication algorithm or cipher is twofold. A first output is a status indicator which is distributed to both the security token and the reader device, wherein in Fig. 2 the distribution is schematically indicated by the arrows 208 and 209. The status indicator indicates whether the mutual authentication has been successful. A further output is a seed 210 for a first key derivation function 211 that derives a first session key from the values of the four input parameters, usually the random number, used in the authentication algorithm. The first session key is then distributed to the two devices which is schematically depicted in Fig. 2 by the arrows 212 and 213.

Fig. 3 schematically illustrates a second detail of the cascade authentication mechanism of Fig. 1, i.e. the second authentication protocol 102 using a second high performance cipher. In particular, a common authentication protocol may be applied using a medium or low security but high performance cipher. However, the second cipher is secure enough for the second part of the authentication, which replaces the handshake protocol as known in common authentication procedures, since the security requirements for a handshake protocol are lower. In case a common authentication protocol is used instead of a common handshake protocol the input parameters of the used second cipher are again a common shared key 314 and 315 used for each of the devices, which may be formed by the first session key derived by the first key derivation function 211. Optionally, an additional shared key may be used as an additional input parameter. In this case two keys are used for the

second cipher, which is not necessary from a security point of view, but may lead to a situation that the overall system architecture needs less changes compared to common authentication protocols.

Furthermore, in case a common authentication protocol is used for the second authentication protocol 102 the second cipher needs as well two random number as input. This input is also schematically shown in Fig. 3 by the arrows 316 and 317. These two random numbers are as well not necessary for the security, which make them optional for the second authentication protocol and the respective second cipher, however keeping them in the protocol might again lead to fewer changes in the overall system architecture. The second cipher also outputs a status indicator giving the result "succeeded" or "failed" which is then distributed to the security token and the reader device, wherein the distribution is again indicated by the arrows 318 and 319 in Fig. 3. Another output is a second seed 320 which can be used in a second key derivation function 321 to derive a second session key. The second session key may then be distributed to the security token and the reader device which is again indicated in Fig. 3 by the arrows 322 and 323.

Fig. 4 schematically illustrates a system 400 for applying the cascade authentication mechanism. The system 400 comprises a first electronic device 401, e.g. a security token or a smart card, and a second electronic device 402, e.g. a reader device. Each of the two electronic devices comprises a processing unit 403 and 404, respectively, wherein the processing units are adapted to carry an authentication method according to an exemplary embodiment. The two electronic devices may communicate with each other via a communication media 405 in several ways, e.g. in a contacless mode (by radio, infrared, optical etc.) or in a wired mode, i.e. the two electronic devices may be connected to each other by a connection line. It should be noted that the first session key may in general have a higher security level and a higher entropy since the first cipher is in general a high security cipher. The secure messaging 103 may use either of the session keys. The choice which one is used may be based on the security level required by the application.

Finally, it should be noted that the above-mentioned embodiments illustrate rather then limit the invention, and that those skilled in the art will be capable of designing many alternative embodiments without departing from the scope of the invention as defined by the appended claims. In the claims, any reference signs placed in parentheses shall not be construed as limiting the claims. The word "comprising" and "comprises", and the like, does not exclude the presence of elements or steps other than those listed in any claim or the specification as a whole. The singular reference of an element does not exclude the plural reference of such elements and vice-versa. In a device claim enumerating several means, several of these means may be embodied by one and the same item of software or hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.