USPatent applicationPatented

Method and system for regenerating a private key for a predetermined asymmetric cryptographic key pair

Granted 23 May 2006 · 2 office actions

Assignee: Infineon Technologies AG

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Gerhard Hoffmann, Klaus Lukas · Examiner: Gregory Morse · AU 2134 · TC 2100

Application· this page
9763271
filed 4 Aug 1999
Publication
Not published
not published
Patent
US 7,050,584
granted 23 May 2006

Life of the application

10 dated events
⤢ drag to zoom20002002200420062008201020122014201620182020ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

After a key pair with a public key and a corresponding private key has been determined on the basis of an initial value, the initial value is made available to a user. The private key can then be erased. When the user wishes to carry out a cryptographic operation based on the “Public-Key-Technology†, the user enters the initial value into a computer and, upon utilization of the initial value, a regenerated private key is formed, which corresponds to the private key that had been previously formed but was then erased.

Description

5 parts
›BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates to a method and an arrangement for forming a secret communication key for a predetermined asymmetric key pair.

2. Description of the Related Art

The formation of an asymmetric cryptographic key pair is known from C. Ruland, Informationssicherheit in Datennetzen, ISBN 3-89238-081-3, DATACOM-Verlag, page 79–85, 1993 (Ruland I), which discloses the RSA method for forming a cryptographic key pair, which comprises a secret (private) key and a corresponding public key. Only the user knows the private key, but the public key can be made known to all subscribers of a communication network. In this method, the user signs the data with his private key when a digital signature is prepared for protecting the authenticity and integrity of electronic data. The signed digital signature is verified upon utilization of the public key corresponding to the private key, so that the authenticity or integrity of the digital signature can be checked by all communication partners, who have access to the public key. The previously mentioned “Public-Key-Technology” is particularly applied in the digital communication within a computer network (a fixed number of computer units, which are connected to one another via a communication network). Given the method known from Ruland, the protection of the private key against unauthorized access of a third party is of critical importance for the security of the digital signature.

It is known from D. Longley and M. Shain, Data & Computer Security, Dictionary of standards concepts and terms, Stockton Press, ISBN 0-333-42935-4, page 317, 1987 (Longley) to store the private key on an external medium for storing data, for example, a chip card, a disk etc., or on a hard disk, where key data are protected in that a personal identification code (Personal Identification Number, PIN) or a password, with which the key data that are respectively deciphered is used. It is necessary, however, to access the local resources of a user when these external media are used. This is not desired especially with respect to a network-oriented infrastructure of network computers or Java applications. These are defined as follows. A network computer is a computer that is networked with other computers; and a Java application is a program containing programs that are written in the programming language Java. The method known from Longley is disadvantageous in that the private key must be stored on an external medium, so that it is very difficult to protect the private key against misuse.

An overview regarding hash functions can be found in C. Ruland, Informationssicherheit in Datennetzen, ISBN 3-89238-081-3, DATACOM-Verlag, page 68–73, 1993 (Ruland II). A hash function is a function in which it is possible to calculate a corresponding input value to a given function value. Furthermore, an output character string having a fixed length is allocated to an arbitrarily long input character string. Moreover, additional properties can be requested for the hash function, such as collision freedom, which precludes the possibility of finding two different input character strings resulting in the same output character string. Examples of a hash function are the method according to the MD-2 standard, the method according to the MD-5 standard, the Data Encryption Standard (DES), which is carried out without utilizing a key, or any other arbitrary hash function.

A method referred to as a “Miller-Rabin” can determine whether a number is prime or not. Such a method is known from A. J. Menezes, P. van Oorschot and S. Vanstone, Handbook of Applied Cryptography, CRC Press, ISBN 0-8493-8523-7, page 138–140, 1997 (Menezes).

›SUMMARY OF THE INVENTION

An object of the invention is to form a secret communication key for a predetermined asymmetric cryptographic key pair, where the private key of the asymmetric key pair must not be stored permanently.

The problem is solved by a method for forming a secret communication key for a predetermined asymmetric cryptographic key pair which comprises a private key and a corresponding public key, by a computer, comprising the steps of utilizing a prescribable initial value given a determination of the key pair; providing the initial value to a user; entering, by the user, the initial value into the computer; and forming the secret communication key upon utilization of the initial value, the secret communication key and the public key forming an asymmetric cryptographic communication key pair.

The problem is also solved by an arrangement comprising an input device configured for entering an initial value by a user; and a processor connected to the input device, the processor configured to implement the above method.

Given the method for forming a secret communication key for a predetermined asymmetric cryptographic key pair, which comprises a private key and a corresponding public key, a prescribable initial value (that is available to a user) is used with respect to the determination of the key pair. The user enters the initial value into the computer and the secret communication key is formed upon utilization of the initial value. The secret communication key and the public key form a communication key pair, which is not to be confused with the predetermined asymmetric cryptographic key pair.

The arrangement for forming a secret communication key for a predetermined asymmetric cryptographic key pair, which comprises a private key and a corresponding public key, has a processor, which is set up such that the following steps can be carried out:

a prescribed initial value is used for determining the key pair, the user enters the initial value into the computer, the secret communication key is formed upon utilization of the initial value,

where the secret communication key and the public key form a communication key pair.

Furthermore, an input device is provided for entering the initial value by the user.

As a result of the invention, it is possible to erase the private key without having to forego the intense cryptography of the “Public-Key-Technology”. Concretely, the initial value can be regarded as a personal identification code (Personal Identification Number—PIN) or as a password that is prescribed by the user or that is centrally prescribed and that is entered by the user into the computer. After the password or the PIN has been entered, the secret communication key, i.e., the key that is of the same name compared to the private key, is formed, which forms a communication key pair together with the public key (i.e., the communication key pair comprises the public key and the secret communication key), upon utilization of the password or of the PIN as an initial value.

In this way, a fusion of the password technology customary to the user of a conventional computer network or of a conventional computer with the intense cryptology is inventively achieved without considerable efforts being necessary in order to permanently store private key material.

Preferred embodiments of the method and associated apparatus for implementing the method are provided as follows. The inventive method may further is comprise the steps of: supplying the initial value to a hash function; and determining, using a hash function value formed by the hash function, the key pair and the communication key pair. The formation of the communication key pair may further include additional data characterizing the user. The method may further comprise the steps of: determining a prime number based on the initial value, where, in an iterative method, the following steps are performed: 1) checking the initial value or a previously checked number, producing a checked number, to determine whether the checked number is a prime number and (determination of primacy), and if the checked number is a prime, storing an index, which refers to a plurality of numbers, which have been checked with respect to their property of being prime; and 2) selecting, when the number is not a prime number, another number based on the checked number and the index, the checked number being increased by a prescribed number; where the method further comprises the steps of: erasing a used prime number after the communication key pair has been formed; and forming, with the index and the initial value, a new communication key pair for forming the secret communication key.

The inventive methods and associated apparatus are described in more detail below.

In an embodiment of the invention, a hash function is applied to the initial value, providing a value being formed that is finally used for the key generation. Furthermore, additional data, which preferably characterize the user himself, can be used during the key generation. The RSA method for the key generation is preferably used for forming the cryptographic key. The method according to the MD-5 standard, the MD-2 standard or the Data Encryption Standard (DES) can be used as a hash function. The communication key pair can be used for enciphering or for securing the integrity of electronic data, for forming a digital signature via electronic data or for authenticating a user—generally for any arbitrary cryptographic operation using the “Public-Key-Technology” that uses the formed communication key pair.

For accelerating the method, it is advantageous in an embodiment to store an index (accelerating code) when the private key is formed. The accelerating code indicates how often numbers—proceeding from the initial value—have been checked to the effect whether or not the respective number is a prime number. The method according to Miller-Rabin is preferably used for checking the property whether a number represents a prime number.

›BRIEF DESCRIPTION OF THE DRAWINGS

18 An exemplary embodiment of the invention is shown in the Figures and is subsequently explained in greater detail.

FIG. 1 is a flow diagram representing the method steps of the exemplary embodiment;

FIG. 2 is a block diagram representing a computer network having a plurality of computers coupled to one another; and

FIG. 3 is a symbolic block drawing representing the course of action for determining a prime number on the basis of an initial value.

›DESCRIPTION OF THE PREFERRED EMBODIMENTS · 1 of 2

FIG. 2 shows a plurality of computers 200 , 210 , 220 , 230 , 240 , 250 , which are connected to one another via a communication network 260 . Each computer 200 , 210 , 220 , 230 , 240 , 250 respectively has a plurality of input devices, i.e., a keyboard 206 , 216 , 226 , 236 , 246 , 256 , a mouse 207 , 217 , 227 , 237 , 247 , 257 , a scanner (not shown) or a camera (not shown). The entered information is supplied to a memory 202 , 212 , 222 , 232 , 242 , 252 via the respective input device via an input interface/output interface 201 , 211 , 221 , 231 , 241 , 251 and is stored. The 202 , 2212 , 222 , 232 , 242 , 252 memory is connected to the input interface/output interface 201 , 211 , 221 , 231 , 241 , 251 via a bus 204 , 214 , 224 , 234 , 254 . A processor 203 , 213 , 223 , 233 , 243 , 253 , which is set up such that the following methods steps can be carried out, is also connected to the bus 204 , 214 , 224 , 234 , 254 .

The computer 200 , 210 , 220 , 230 , 240 , 250 communicate via the communication network 260 according to the T ransport C ontrol P rotocol/ I nternet P rotocol (TCP/IP). The communication network 260 also contains a certification unit 270 with which a certificate is prepared respectively for a public key, so that the public key is trustworthy for a communication on the basis of the “Public-Key-Technology”. A user 280 enters an arbitrary prescribable word (PIN, password), which is only known to the user, into a first computer 200 (step 101 , compare FIG. 1 ).

According to the RSA method, the first computer 200 generates an asymmetric cryptographic key pair, as described in the following. The value 102 entered by the user 280 and additional data 103 characterizing the user 280 , such as user name, personal number, terminal address etc., are supplied to a hash function (step 104 ). The hash function is defined and has properties as described above. The value formed by the hash function is used as a base value BW for forming two prime numbers, as symbolically shown in FIG. 3 . As shown in FIG. 3 , it is respectively checked for a value Wi (i=1, . . . , n) in an iterative method, on the basis of the base value BW, whether or not the respective value represents a prime number (step 301 ).

The method according to Miller-Rabin is utilized as method for checking the property prime for a number (see Menezes). If the number is determined to not be prime, the number is increased by a prescribable value, preferably by the value 2 (step 302 ) and the test with respect to the property “prime” is repeated (step 301 ). This course of action is repeated until two prime numbers—a first prime number p and a second prime number q—have been determined.

A number, referred to as an index, indicates how often—on the basis of the base value BW—the number must be increased by the prescribed value until the first prime number p or the second prime number q is obtained. The result of the method shown in FIG. 3 is two prime numbers p and q, which are used for the key generation according to the RSA method (step 105 ). The prime numbers p and q normally have a length of a multiple of 100 bits. A modulus n is formed from the prime numbers p and q according to the following rule:

n=p*q.   (1)

Furthermore, an intermediate variable (p (n) is formed according to the following rule:

φ( n )=( p− 1)*( q− 1).  (2)

A secret key d is now selected such that the secret key d is relatively prime with respect to φ(n). A public key e is determined such that the following rule is fulfilled:

e*d mod φ( n )=1.  (3)

The value d is the private key and is not allowed to be made known to a third party. A private key d (step 106 ) and a public key e (step 107 ) have been formed as a result of the key generation (key 105 ). The two keys d, e form a cryptographic key pair corresponding to one another, this key pair being used for an arbitrary cryptographic operation, i.e., for enciphering, deciphering, for a digital signature, or for authenticating (step 108 ).

After the key pair d, e has been formed according to the above-described method, the private key d is erased. The public key e is supplied to the certification entity 280 . A certificate Certe is formed by the certification entity 280 via the public key e and the certificate Certe of the public key e is stored in a directory 290 that can be accessed by the public. Therefore, each communication participant in the communication network 280 can access the public key e via the certificate Certe of the public key e. The secrete key d corresponding to the public key e is erased in the first computer 200 .

Every time that the user 280 wishes to initial a communication on the basis of the key pair or when the user 280 wishes to carry out a cryptographic operation upon utilization of such a key pair, the user 280 enters his initial value (PIN, password) into the first computer 200 and the initial value 102 (as described above), in turn, is provided with additional data 103 . It is then subjected to a hash function (step 104 ) and, on the basis of the base value BW, two prime numbers p and q are determined or a stored index (as described above) is read out or is also entered by the user 280 and a secret communication key is formed from it, which, however, corresponds to the private previously formed key d, which has been erased again.

In this way, a communication key pair has been formed, which comprises the secret communication key and the corresponding public key e. For a communication session, a user can thus respectively immediately generate the secret communication code, so that it is possible to use intense “Public-Key-Technology” without having to store the secret key on a chip card. The generated communication key pair d, e is used for enciphering plaintext 109 with the public key e and for deciphering the electronic, enciphered data 110 with the secret communication key.

FIG. 1 symbolically shows the processing of plaintext 109 , i.e., electronic data 109 that can be read by everybody, as well as enciphered electronic data 110 , where the communication device is respectively described by an arrow toward or from the block representing a cryptographic operation 108 .

›DESCRIPTION OF THE PREFERRED EMBODIMENTS · 2 of 2

The enciphering or, respectively, deciphering is performed according to the following rules:

m e mod n=c,   (4)

where

m refers to a quantity of 512 bit of electronic data 109 to be enciphered, c refers to enciphered electronic data 110 .

The deciphering of the enciphered electronic data c is performed according to the following rule:

m=c d mod n.   (5)

A few alternatives of the above-described exemplary embodiment are explained as follows. The method can be used for enciphering, for securing integrity and for a digital signature of electronic data. Furthermore, the invention can be utilized in the field of secure electronic mail systems. The user must not necessarily enter the initial value 102 during the generation of the key pair at the beginning of the method, but a central unit generating the key pair can prescribe it to the user. Therefore, the user must merely remember a password or a PIN, and it is no longer necessary to securely store a secret cryptographic key, for example, on a chip card, which is associated with corresponding risks and with considerable outlay. Instead of a hash function, any arbitrary one-way function can be used in the framework of the invention.

The above-described method and arrangement are illustrative of the principles of the present invention. Numerous modifications and adaptations will be readily apparent to those skilled in this art without departing from the spirit and scope of the present invention.

Claims as granted

13 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

8 codes
IPC · International Patent Classification
Section G — Physics
  • G09C1/00
Section H — Electricity
  • H04L9/08
  • H04L9/30
  • H04L9/32
  • H04L9/00
USPC · US Patent Classification
380/44380/46380/262

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoom2000200120022003200420052006USPTOApplicantNon-final rejectionFinal rejection
USPTOApplicanthover for detail · click to open
Pendency
6.8 y
2,484 days filing → grant
Office actions
2
non-final + final
Responses
3
no RCE
Examiner
Gregory Morse
art unit 2134 · TC 2100
Citations: 13 back · 20 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom2002200420062008201020122014201620182020Owner 2
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock