1. Field of the Invention
The present invention relates to cryptography in a cellular telecommunications system, and more particularly to generating asymmetric cryptographic keys.
2. Description of the Related Art
Ciphering is used in many data transmission systems to prevent the transmitted data from getting into the hands of an unauthorized user. Ciphering has become more significant in the recent years, particularly as wireless telecommunication has become more common. An example of such a wireless telecommunication system is the Universal mobile communications system (UMTS). In the UMTS a part of the network is implemented wirelessly, and the data transmission is carried out on the radio path. The radio path is an open resource and it involves security risks. In digital mobile communications systems various solutions have been developed to arrange data protection, for example ciphering methods and user identification, i.e. authentication, methods.
Ciphering means converting data into such a form from which it is possible to interpret the original content of the data only by using a related reverse method. The ciphering can be performed, for example, by encrypting the information to be transmitted in a transmitter, and by decrypting the information in a receiver. In the encryption means, the information to be transmitted, for example a bit stream, is multiplied by certain encryption bits, after which it is difficult to find out what the original bit stream was if the used encryption bit pattern is not known.
A ciphering key is a sequence of symbols or bits used for ciphering data according to a given cryptographic algorithm. Symmetric cryptography refers to ciphering where the same ciphering key is used both for encrypting and decrypting data. In symmetric cryptography the different network nodes share the same secret ciphering key, and the decrypting algorithm is the reverse function of the encrypting algorithm.
Asymmetric cryptography means ciphering where a different ciphering key is used for encrypting and decrypting data. In asymmetric encryption two related cryptographic keys, a public key and a private key, are used. A public key is an encryption key belonging to a user, and it is publicly available also to others than the user. A private key is a decryption key belonging to a user, and the user keeps it secret and in restricted use.
Public key infrastructure (PKI, also known as public key encryption or public key cryptography) is an example of a system for asymmetric cryptography where one ciphering key is a public key and the other a private key. In public key infrastructure a trusted third party or a certification authority provides the users with a set of ciphering keys, confirms them with an electronic signature, delivers them to the users, maintains a certificate file and a certificate revocation list. From the certificate file and the certificate revocation list anyone is able to check the certificate they have received and its validity. A public key certificate is an electronically signed data unity, which confirms that the identifier used in an electronic signature belongs to a specific person or organization and is still valid. In PKI, a public key is used for encrypting data and a private key for decrypting encryption. An example of PKI is RSA encryption, which is based on the cryptographic algorithm developed by Rivest, Shamir and Adleman. With RSA encryption, it is possible to cipher a message before transmitting it to the receiving party via an unreliable transmission channel. The transmitting party knows the public key of the receiving party and encrypts the message using the public key before transmitting it. The receiving party knows the private key and is able to decrypt the message by using the private key. Certification authority (CA) may refer to a public authority, or it may be a function of the network operator. Certification authority is responsible for issuing and managing user certificates. An issued certificate may comprise information of the issuer of the certificate, it may bind a public key to the identity of the user, or it can make a more specific statement, for example, that a user is authorized to get a certain service.
PKI may also be utilized in digital signatures. By means of a digital signature, the identity of the transmitting party and the integrity of the signed material can be ensured. A digital signature may be obtained using the private key as an encryption key and the public key as a decryption key. The obtained digital signature is then attached to the signed material before transmitting it.
Authentication and key agreement (AKA) is a mechanism of the mobile system, which enables authentication between the user and the serving network. AKA establishes a cipher key (CK) and an integrity key (IK) between the user and the serving network using the secret key (K). The IK is a data protection key used for ensuring that the data has not been altered during transmission, and the CK is a symmetric ciphering key.
In current systems, dynamic user certificates are provided to the users such that a public/private key pair is first created in the user terminal. After the creation of the public/private key pair, the user terminal sends a certificate request to the certification authority. As a response to receiving the certificate request, the certification authority issues the public key certificate and transmits an acknowledgement to the user. The public key certificate confirms that a cryptographic key, i.e. the public key, is valid and can be trusted.
A disadvantage in the arrangement described above is that the system has to carry a considerable amount of request and response messages between the user terminals and the certification authority. This causes load on the network, and, moreover, the authentication of these response or request messages one by one can be a problem.
The present invention comprises bootstrapping asymmetric keys from a symmetric key infrastructure. The idea of the invention is to derive the same public/private keys both on the user terminal side and on the network side. According to the invention, an initial value, referred herein as a “seed value”, is calculated in the system when a successful authentication of a user terminal has taken place. The seed value is calculated both on the user terminal side and on the network side of the system using the same algorithm, and the calculation is based, for example, on the values of the ciphering key (CK) and the integrity key (IK). As the seed values on the user terminal side and on the network side are calculated based on the same algorithm and same CK and IK, they are identical for a particular authentication transaction. On the basis of the calculated seed value, a public/private key pair is generated. Like the seed value, also the public/private key pair is created both on the user terminal side and on the network side, and both sides use the same application for key generation. Thus, the public/private key pairs created on the user terminal side and on the network side are identical for a particular authentication transaction. When the public key has been generated it has to be certified by the network side. According to the invention, the network automatically issues and stores a public key certificate.
One advantage of the invention is that there is no need for separate certificate requests (including authentication and proof-of-possession) by the users since the network automatically issues the user certificates as the network already knows the public key to be certified (and the corresponding private key). Moreover, there is no need to distribute the keys over the radio path since the same public/private key pair is created from the existing symmetric key material simultaneously both on the user terminal side and on the network side, upon successful authentication of the user.
Another advantage of the invention further includes the sufficient cryptographic strength of the private key. Certificate issuance by the CA is immediate. The invention also provides a convenient and secure method for private key backup, and automatic and configurable update of keys and certificates. Lifetime of the keys and certificates can be configured, so the need for revocation may be significantly reduced.
In the following the invention will be described in greater detail by means of preferred embodiments with reference to the accompanying drawings, in which
In the following, preferred embodiments of the invention will be described with reference to a third generation mobile communications system UMTS. This invention is not, however, meant to be restricted to these embodiments. Consequently, the invention may be applied in any mobile communications system providing services that require cryptographic keys. Such systems include, for instance, what are called the 3rd generation systems, such as UMTS, and systems based on GSM (Global system for mobile communication) or corresponding systems, such as GSM2+ systems and the future 4th generation systems. The specifications of mobile communications systems and particularly those of the UMTS advance rapidly. This may require additional changes to the invention. For this reason, the terminology and the expressions used should be interpreted in their broadest sense since they are meant to illustrate the invention and not to restrict it. The relevant inventive aspect is the functionality concerned, not the network element or equipment where it is executed.
The packet switched portion of the UMTS utilizes the general packet radio service (GPRS). The GRPS system comprises a serving GPRS support node (SGSN) and a gateway GPRS support node (GGSN). The SGSN handles the registration processes of the mobile stations MS, transmits data packets to and receives them from the mobile station MS, and maintains a register of the locations of the mobile stations MS. The GGSN connects the GPRS network of the operator to external systems, such as the GPRS systems of other operators, or data networks, such as the Internet.
Authentication center (AuC) is a network element, which is typically implemented as a part of the subscriber register HLR (Home location register). The authentication center stores subscriber related authentication data and authentication algorithms. AuC selects, on the basis of the subscriber's IMSI (International mobile subscriber identity), a secret user-specific authentication key K. The operation of the AuC/HLR according to the preferred embodiment of the invention is described below with reference to
The user authentication process involves also a Home environment sequence number (SQNHE) and a Mobile station sequence number (SQNMS). SQNHE is an individual counter of the home network for each user, and SQNMS comprises the highest sequence number the respective USIM has accepted. These counters are incremented upon a successful authentication. Home environment HE means the (network) environment responsible for enabling a user to obtain mobile services, regardless of the user's location or the terminal used.
The asymmetric key pairs (e.g. an RSA key pair) may be created by suitable key generator applications. The cryptographic strength of the resulting key pair is directly proportional to the quality of the “source of randomness”. The source of randomness in software implementation depends on a “seed value”, which is given as input to the key generator application. The seed length of 256 bits is usually considered sufficient for the usual key pairs of public key systems.
Referring to
CK=f3K(RAND) Equation I
and
IK=f4K(RAND) Equation II
seed=prf(CK,IK) Equation III
The signalling messages and steps shown in
The steps from 2-2 to 2-5 of
In the embodiment described above, symmetric (ciphering) keys, i.e. CK and IK, are utilized to create asymmetric key pairs. The created asymmetric key pairs comprise a public key and a corresponding private key. The created asymmetric key pairs may be used e.g. for ciphering data transmissions in the system or for producing digital signatures. (In case of utilizing the invention for digital signatures, the obtained public key is used as a decryption key, and the obtained private key is used as an encryption key. This means that a message may be signed using the private key, and the signature may be verified using the public key.)
According to another preferred embodiment of the invention, a convenient and secure method for private key backup is provided. This is carried out such that the private key is stored in the security module of the HLR in step 4-3 (see
According to yet another preferred embodiment of the invention, the public/private key pairs and/or the certificates are temporary, and the validity of them is based on a predetermined criteria, for example, on their lifetime. This reduces the need for revocations of the keys and the certificates in the network. The keys and the certificates may be automatically updated in the system without the need for separate update requests.
According to yet another preferred embodiment of the invention, the invention is utilized in 2G networks, such as the GSM. In this case, the CK and IK may be derived from the GSM cipher key Kc using the conversion function specified in 3GPP TS 33.102 V5.0.0, section 6.8.2.3. The seed value is then generated using the CK and IK as described above with reference to
The advantage of using CK and IK for obtaining a seed value is that existing parameters and functions can be utilized. However, the use of the CK and/or IK is not essential to this invention. It is only a practical way to generate the public/private key pairs through the seed values, but the proposed embodiments are not dependent on the parameters used.
The triggering of the public/private key pair generation is not necessarily based on incrementing the sequence numbers SQNMS or SQNHE, but the generation of the key pair and/or the seed value may be triggered by another event in the network, for example, the amount of transmitted data exceeding a certain level.
Existing key generator applications may be utilized in the invention. However, the existing key generator applications may need modifications, for example, in order to be implemented in the user terminals.
In addition to prior art devices, the system, network nodes or mobile stations implementing the operation according to the invention comprise means for generating identical seed values in the user terminal and in the network node, means for generating, on the basis of the seed value, identical public keys in the user terminal and in the network node, and means for generating, on the basis of the seed value, identical private keys in the user terminal and in the network node. The existing network nodes and mobile stations comprise processors and memory, which can be used in the functions according to the invention. All the modifications and configurations needed to implement the invention can be carried out by means of software routines that can be added or updated and/or routines contained in application specific integrated circuits (ASIC) and/or programmable circuits, such as an electrically programmable logic device (EPLD) or a field programmable gate array (FPGA).
It will be obvious to a person skilled in the art that, as technology advances, the inventive concept can be implemented in various ways. The invention and its embodiments are not limited to the examples described above but may vary within the scope of the claims.
This application claims priority of U.S. Provisional Patent Application Serial No. 60/443,569 entitled, “Generating Asymmetric Keys in a Telecommunications System,” filed Jan. 30, 2003, the entire contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5200999 | Matyas et al. | Apr 1993 | A |
5201000 | Matyas et al. | Apr 1993 | A |
5519778 | Leighton et al. | May 1996 | A |
5734720 | Salganicoff | Mar 1998 | A |
5892900 | Ginter et al. | Apr 1999 | A |
5910987 | Ginter et al. | Jun 1999 | A |
5915019 | Ginter et al. | Jun 1999 | A |
5917912 | Ginter et al. | Jun 1999 | A |
5949876 | Ginter et al. | Sep 1999 | A |
5982891 | Ginter et al. | Nov 1999 | A |
6058476 | Matsuzaki et al. | May 2000 | A |
6195433 | Vanstone et al. | Feb 2001 | B1 |
6230272 | Lockhart et al. | May 2001 | B1 |
6237786 | Ginter et al. | May 2001 | B1 |
6253193 | Ginter et al. | Jun 2001 | B1 |
6345098 | Matyas et al. | Feb 2002 | B1 |
6363488 | Ginter et al. | Mar 2002 | B1 |
6389402 | Ginter et al. | May 2002 | B1 |
6397307 | Ohran | May 2002 | B2 |
6427140 | Ginter et al. | Jul 2002 | B1 |
6445794 | Shefi | Sep 2002 | B1 |
6594759 | Wang | Jul 2003 | B1 |
6609183 | Ohran | Aug 2003 | B2 |
6640304 | Ginter et al. | Oct 2003 | B2 |
6760752 | Liu et al. | Jul 2004 | B1 |
6871276 | Simon | Mar 2005 | B1 |
6931128 | Roberts | Aug 2005 | B2 |
6948070 | Ginter et al. | Sep 2005 | B1 |
7051212 | Ginter et al. | May 2006 | B2 |
7069451 | Ginter et al. | Jun 2006 | B1 |
7076652 | Ginter et al. | Jul 2006 | B2 |
7089426 | Bagshaw | Aug 2006 | B1 |
7095854 | Ginter et al. | Aug 2006 | B1 |
7100199 | Ginter et al. | Aug 2006 | B2 |
7107418 | Ohran | Sep 2006 | B2 |
7120696 | Au et al. | Oct 2006 | B1 |
7120800 | Ginter et al. | Oct 2006 | B2 |
7124302 | Ginter et al. | Oct 2006 | B2 |
7133845 | Ginter et al. | Nov 2006 | B1 |
7149308 | Fruehauf et al. | Dec 2006 | B1 |
20060177056 | Rostin et al. | Aug 2006 | A1 |
Number | Date | Country |
---|---|---|
0 534 420 | Mar 1993 | EP |
WO 9925086 | May 1999 | WO |
Number | Date | Country | |
---|---|---|---|
20040151317 A1 | Aug 2004 | US |
Number | Date | Country | |
---|---|---|---|
60443569 | Jan 2003 | US |