1. Field of the Invention
The present invention relates to the field of cryptography. More specifically, the present invention relates to the robustness of stream ciphers.
2. Background Information
Crytographic ciphers can be broadly divided into block ciphers and stream ciphers. Block ciphers cipher a block of plain text into ciphered text by applying multiple successive rounds of transformation to the plain text, using a cipher key. An example of a block cipher is the well known DES cipher. Stream ciphers cipher a stream of plain data into ciphered data by combining the stream of plain data with a pseudo random sequence dynamically generated using a cipher key. An example of a stream cipher is the well known XPF/KPD cipher.
Most stream ciphers employ one or more linear feedback shift registers (LFSR). In various applications, it is desirable to employ multiple LFSRs to increase the robustness of a stream cipher. However, employment of multiple LFSRs requires employment of a combiner function to recombine the multiple data bits output by the LFSRs. Most combiner functions known in the art are inefficient in their real estate requirement for hardware implementations. Thus, a robust stream cipher with a more efficient combiner function is desired.
A stream cipher is provided with a first and a second data bit generators to generate in parallel a first and a second stream of data bits. The stream cipher is further provided with a combiner function having a shuffling unit including a storage structure to generate a pseudo random sequence, by combining the first stream of data bits with at least stochastically generated past values of the first stream of data bits, generated by using the second stream of data bits to stochastically operate the storage structure of the shuffle unit to memorize and reproduce the data bits of the first stream.
The present invention will be described by way of exemplary embodiments, but not limitations, illustrated in the accompanying drawings in which like references denote similar elements, and in which:
a–3b illustrate the shuffle unit of
In the following description, various aspects of the present invention will be described, and various details will be set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced with only some or all aspects of the present invention, and the present invention may be practiced without the specific details. In other instances, well known features are omitted or simplified in order not to obscure the present invention.
Various operations will be described as multiple discrete steps performed in turn in a manner that is most helpful in understanding the present invention. However, the order of description should not be construed as to imply that these operations are necessarily performed in the order they are presented, or even order dependent. Lastly, repeated usage of the phrase “in one embodiment” does not necessarily refer to the same embodiment, although it may.
Referring now to
As illustrated, data bit generators 102 may be formed with linear feedback shift registers (LFSR), complementary in number to the “capacity” of combiner function 104 (to be explained more fully later). For the illustrated embodiment, data bit generators 102 are formed with five linear feedback shift registers (LFSR) 112–120. Combiner function 104 is formed with a storage unit based shuffling unit 122 and an XOR function 124. Storage unit based shuffling unit 122 includes storage locations that can be selectively written into and read from. The number of storage locations included is complementary to the number of LFSRs employed to form data bit generators 102. For the illustrated 5 LFSR embodiment, storage unit base shuffling unit 122 is equipped with at least 16 storage locations that can be selectively written into and read out of, using 4 of the 5 provided streams of data bits generated by LFSR 112–120.
Upon initialization with the key and the initial vector, LFSR 112–120 is operated to generate five streams of data bits for combiner function 104. Shuffling unit 122 shuffles one stream of data bits by stochastically storing the data bits into its storage locations, and at the same time, retrieving the previously stored data bits in the storage locations being written over, in accordance with the data bits of the remaining four streams. The retrieved past values are in turn used by XOR function 124 to modify the same stream of data bits, to generate the pseudo random sequence. For the illustrated embodiment, in addition to the retrieved past values of the stream, the XOR function also uses the other streams, streams generated by LFSR 114–120, to modify the stream.
As will be appreciated by those skilled in the art, more or less LFSR and storage locations may be used to practice the present invention, as long as their capacities remain complementary to each other. In one embodiment, the five LFSR 112–120 are uneven in length. More specifically, their lengths are 31 bits, 29 bits, 27 bits, 25 bits and 23 bits. Additionally, each LFSR 112, 114, 116, 118 or 120 includes 8 taps. The tap positions are preferably spread out, in one embodiment, accordingly to the following position table:
a–3b illustrate shuffle unit 122 in further detail in accordance with two embodiments. For the embodiment of
For the embodiment of
From the foregoing description, those skilled in the art will recognize that many other variations of the present invention are possible. Thus, the present invention is not limited by the details described, instead, the present invention can be practiced with modifications and alterations within the spirit and scope of the appended claims.
| Number | Name | Date | Kind |
|---|---|---|---|
| 4316055 | Feistel | Feb 1982 | A |
| 4802217 | Michener | Jan 1989 | A |
| 4815130 | Lee et al. | Mar 1989 | A |
| 5323338 | Hawthorne | Jun 1994 | A |
| 5341425 | Wasilewski et al. | Aug 1994 | A |
| 5566099 | Shimada | Oct 1996 | A |
| 5577124 | Anshel et al. | Nov 1996 | A |
| 5598154 | Wilson et al. | Jan 1997 | A |
| 5703952 | Taylor | Dec 1997 | A |
| 5751808 | Anshel et al. | May 1998 | A |
| 6069954 | Moreau | May 2000 | A |
| 6128737 | Jakubowski et al. | Oct 2000 | A |
| 6192385 | Shimada | Feb 2001 | B1 |
| 6351539 | Djakovic | Feb 2002 | B1 |
| 6490354 | Venkatesan et al. | Dec 2002 | B2 |
| 6587562 | Jansen et al. | Jul 2003 | B1 |