CA2118826C - Hardware arrangement for enciphering bit blocks while renewing a key at each iteration - Google Patents
Hardware arrangement for enciphering bit blocks while renewing a key at each iterationInfo
- Publication number
- CA2118826C CA2118826C CA002118826A CA2118826A CA2118826C CA 2118826 C CA2118826 C CA 2118826C CA 002118826 A CA002118826 A CA 002118826A CA 2118826 A CA2118826 A CA 2118826A CA 2118826 C CA2118826 C CA 2118826C
- Authority
- CA
- Canada
- Prior art keywords
- key
- output
- stage
- memory
- bit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0618—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
- H04L9/0625—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/12—Details relating to cryptographic hardware or logic circuitry
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/24—Key scheduling, i.e. generating round keys or sub-keys for block encryption
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
Abstract
A plaintext is enciphered using a plurality of stages in tandem via a plurality of iterations. Each of the stages is arranged to perform a complex key-dependent computation. The stage includes a memory for storing a key. A cipher function circuit transposes, using the key, one block applied to the stage from a preceding stage. An exclusive-or circuit implements an exclusive-or operation of the output of the cipher function and the other block applied to the stage from the preceding stage. A unique arrangement is provided for transposing the output of the cipher function circuit and then applying the output thereof to the memory. Therefore, the key is replaced with the output of the unique arrangement.
Description
TITLE OF THE INVENTION
Hardware arrangement for enciphering bit blocks while renewing a key at each iteration BACKGROUND OF THE INVENTION
Field of the Invention The present invention relates generally to an arrangement for transforming plaintext into the corresponding ciphertext in a digital data communications system, and more specifically to an arrangement for enciphering data blocks via iterated computations wherein a key is renewed at each iteration. The arrangement disclosed is also applicable to the reverse process of transforming ciphertext into the original plaintext.
Description of the Related Art In a data communications system, it is a common practice to use cryptographic techniques in order to prevent an unauthorized person(s) from obt~ining data.
Plaintext to be transmitted is transformed into the corresponding ciphertext. The plaintext can be reproduced from the ciphertext by using the exactly the same key used to encipher it.
A cipher is a secret method of writing whereby plaintext (or cleartext) is transformed into the corresponding ciphertext (sometimes called a cryptogram).
The process is called encipherment or encryption, while the reverse process of transforming ciphertext into the corresponding plaintext is called decipherment or decryption. Both encipherment and decipherment are controlled by a cryptographic key or keys.
In 1977 the National Bureau of Standards of U.S.A.
announced a Data Encryption Standard (DES) to be used in unclassified U.S. Government applications. DES enciphers 64-bit blocks of data with a 56-bit key.
By way of example, known cryptographic techniques utilizing DES are disclosed in Japanese Laid-open Patent 2~ 1882-~
Applications Nos. 51-108701 and 51-108702 which were respectively based on U.S. Patent Applications Nos.
552,684 and 552,685 both filed February 24, 1975.
Further, DES is disclosed in detail in a paper entitled "Data Encryption Standard", Federal Information Processing Standards Publication (FIPS PUB) 46-1, Supersedes FIPS PUB 41, 1977 January 15, Reaffirmed 1988 January 22, published by U.S. Department of Commerce.
DES enciphers 64-bit blocks of data with a 56-bit key. The algorithm of DES, which is used both to encipher and decipher, is such that an input block is first transposed under an initial permutation IP. After has passed through 16 iterations of a cipher function, it is transposed under the inverse of the initial permutation to give a ciphertext.
The encipherment according to DES uses a common key which is prepared before encipherment and is fixed through encipherment. Accordingly, this algorithm has encountered the problem that the cipher is somewhat computationally vulnerable.
SUMMARY OF THE INVENTION
It is an object of the present invention to provide a hardware arrangement for enciphering blocks of data, via a plurality of iterations, using a key which is renewed each iteration.
More specifically, an aspect of the present invention resides in a hardware arrangement for transforming plaintext into corresponding ciphertext using a first to n-th stages provided in tandem (where n is an integer more than three), each of said first to n-th stages performing a complex key-dependent computation and comprising; a memory for storing a key; first means for transposing, using said key, a first bit block applied thereto from a preceding stage; second means for implementing an exclusive-or operation of output of said first means and a second bit block applied thereto from said preceding stage; and third means for transposing output of said first means using said key, said third means applying output thereof to said memory whereby said key is replaced with said output of said third means.
Another aspect of the present invention resides in a hardware arrangement for transforming plaintext into corresponding ciphertext using a first to n-th stages provided in tandem (where n is an integer more than three), each of said first to n-th stages performing a complex key-dependent computation and comprising; a memory for storing a key; first means storing a plurality of first bit blocks successively applied thereto from a preceding stage, said second means receiving said key from said memory and modifying said key using at least one of said first bit blocks stored, said second means outputting a modified key; second means for transposing, using said modified key, the first bit block applied thereto from the preceding stage; and third means for implementing an exclusive-or operation of output of said second means and a second bit block applied thereto from said preceding stage.
BRIEF DESCRIPTION OF THE DRAWINGS
The features and advantages of the present invention will become more clearly appreciated from the following description taken in conjunction with the accompanying drawings in which like elements are denoted by like reference numerals and in which:
Fig. 1 is a block diagram schematically showing a first embodiment of the present invention;
Fig. 2 is a block diagram schematically showing one block of Fig. 1;
Fig. 3 is a second embodiment of the present invention; and Fig. 4 is a block diagram schematically showing a _ 4 _ NE-578 third embodiment of the present invention.
DETAILED DESCRIPTION OF THE
PREFERRED EMBODIMENTS
The present invention will be discussed in connection with the case where it is applied to the Data Encryption Standard tDES). However, the application of the present invention to DES is merely exemplary and the present invention is in no way limited to such an application if a common key is used to encipher a plaintext via iterations.
Fig. 1 is a block diagram schematically showing the first embodiment of the present invention.
The first embodiment features that a cryptographic key, which controls each of complex key-dependent computation stages S1-S16, is renewed after completing a bit transposition thereat.
The first embodiment differs from the arrangement of DES in that each of the complex key-dependent computation stage S1-S16 of the first embodiment, is additionally provided with three components Mn, En and EX-An (n=1, 2, ..., 16)-A key scheduling section 10 is supplied with a 64-bit initial key including 8 parity bits. The initial key applied to the key scheduling section 10 is first subjected to bit transposition using a permutation PC-1 (permuted choice) shown in Table 1. The table, as well as the other permutation tables described later, should be read left-to-right, top-to-bottom. For example, the permutation PC-1 transposes B=bl, b2, ..., b64 into Bp=b57, b49, .. , b4-_ 5 _ NE-578 Table 1 The permutation PC-1 discards the parity bits and transpose the remaining 56 bits as shown in the above Table 1. The result of the permutation PC-1 is then split into two halves C and D of 28 bits each. The blocks C and D are then successively circularly shifted left to derive each key Kn (suffix n denotes n-th iteration and n=1, 2, ..., 16 in this case). The key schedule of left shifts is shown in Table 2.
Table 2 Iteration i 1 2 3 4 5 6 7 8 9 Number of Shifts 1 1 2 2 2 2 2 2 Iteration i 10 11 12 13 14 15 16 Number of Shifts 2 2 2 2 2 2 Bit data Cn and Dn (n=1, 2, ..., 16) obtained through the left circular shifts, are then decreased in number from 56 bits to 48 bits via permutation PC-2 shown in Table 3.
Table 3 The operation of the key scheduling section 10 is well known in the art and hence further descriptions will be omitted for the sake of brevity.
The 16 keys K1-Kl6 thus obtained are respectively applied to the stages S1-S16 and stored in corresponding memories M1-M16.
As shown in Fig. 1, the stage S1 includes, in addition to the memory M1, a cipher function circuit F1, an expanding permutation circuit E1 and an exclusive-or gate EX1. The other stages S2-S16 each is configured in exactly the same manner as the stage S1 and thus, each of the counterparts is given the same notation plus an - iteration number.
After the stages S1-16 have respectively stored the keys Kl-Kl6, an initial 64-bit block of a plaintext is applied to the arrangement of Fig. 1 and then first subjected to an initial permutation IP tTable 4) at a circuit 12.
Table 4 After the initial block input of 64-bit is transposed under the initial permutation IP, the 64-bit block is divided into two halves L and R of 32-bit each and then undergo 16 iterations of a cipher function f and exclusive-or operations. Let Tn (64 bits) denote the result of the n-th iteration, and let Ln and Rn (each 32 bits) denote the left and right haves of Tn~ respectively.
Then, Ln = Rn- 1 Rn = Lnl + f(Rnl, Kn) where + depicts the exclusive-or operation.
Fig. 2 is a sketch of the hardware arrangement implementing the cipher function f(Rnl, Kn)~ Rnl is first expanded to a 48-bit block, at an bit expanding circuit 14, using a bit selection table (Table 5).
Table 5 28 2g 30 31 32 21 ~ 8826 Subsequently, the exclusive-or of E(Rnl) (viz., the output of the expanding permutation circuit 14) and Kn is implemented at the exclusive-or gate 16 and the result broken into eight 6-bit blocks Bl, ..., B8 which are respectively applied to eight selection (substitution) function circuits (S-boxes) Sl, ..., S8. These eight S-boxes circuits Sl-S8 output respectively 4-bit blocks which are concatenated together, and the resulting 32-bit block is transposed by a permutation circuit 18 using Table 6.
The operations of S-boxes Sl-S8 are well known and disclosed in detail in the paper referred to in the opening paragraphs and hence will be omitted for the purpose of simplifying the disclosure.
Table 6 In the following, merely for the convenience of description, the operations of the n-th stage Sn (n=1, 2, ..., 16) are discussed.
The 32-bit block outputted from the cipher function circuit Fn is applied to the EXn to which the bit block Ln is also applied. The EXn carries out an exclusive-or operation of the 32-bit block from Fn and the block L
and the result of the operation is applied to the next stage S(n+1) as a block Ri+l.
As mentioned above, the first embodiment is to renew _ g _ NE-578 the key Kn (n=l, 2, ..., 16) after each transposition of data block at the corresponding stage Sn. To this end, the memory Mn, the expanding permutation circuit En and the exclusive-or circuit EX-An are provided in the stage Sn.
The 32-bit block from the function circuit Fn is expanded to a 48-bit block using the above mentioned Table 5. Following this, the EX-An performs an exclusive-or operation of the 48-bit key Kn and the 48-bit block outputted from En. Let the key Kn currently stored in the memory Mn denote Ko1d and let a new key denote KneW, we have KneW = K~ld + E(o)n wherein E(O)n depicts the output of the exclusive-or circuit EX-An.
Thus, the key Kn (i=l, 2, ..., 16) stored in the corresponding memory Mn can be renewed or replaced after each transposition of data block at the corresponding stage Sn is finished.
The data block outputted from the last stage S16 is subjected to the inverse of the initial permutation using Table 7. Thus, a ciphertext can be obtained from the arrangement of Fig. 1.
Table 7 As mentioned above, the key in each of the stages S1-S16 is subject to change after each iteration.
Accordingly, the ciphertext obtained from the first 21 1 882~) embodiment is computationally much more infeasible to be broken as compared with the prior art.
A second embodiment of the present invention will be discussed with reference to Fig. 3. The second embodiment is applied to DEC as in the first embodiment merely by way of example. Fig. 3 shows only one stage (viz., n-th stage (n=l, 2, ..., 16)) in that each of the other fifteen stages is arranged or configured in exactly the same manner as the n-th stage.
The n-th stage Sn includes a memory Mn', two exclusive-or circuits EXn' and EX-Bn, a cipher function circuit Fn', an expanding permutation circuit En', and a memory 30(n), all of which are coupled as shown. The cipher function Fn' and the exclusive-or circuit EXn' are essentially the same as the counterparts Fn and Exn of Fig. 1. Further, the memory Mn' corresponds to Mn of Fig. 1, and the expanding permutation circuit En' operates in a manner identical to the counterpart En of Fig. 1.
In the second embodiment, the key Kn initially outputted from the key scheduling section 10 (Fig. 1) is retained in the memory Mn and is not subjected to any renewal as in the first embodiment.
The second embodiment is advantageous especially in the case where the ciphertext is subject to bit errors during encipherment and/or during data transmission. In more specific terms, the key Kn initially applied is held in the memory Mn and hence, even if a bit error occurs at a given stage and/or during data transmission, the bit disturbance caused by the bit error can be restored in a very short time.
The memory 30(n) includes two memory stages MSl and MS2 in this particular embodiment. The upper memory stage MSl stores the bit block E(O)-l applied thereto from the expanding permutation circuit En at a given iteration. When the bit block E(O)-l is stored in the memory stage MS1, the bit block which has been stored therein is transferred to the lower memory stage MS2.
The bit transposition operation is controlled by the output (viz., key) of the exclusive-or circuit EX-Bn which is supplied with the key Kn and the previous output E(0)-2 of the expanding permutation circuit En'.
At the next iterated operation, the new bit block is stored in the memory stage MS1 as a new bit block E(O)-l.
Thus, the old bit block E(O)-1 is transferred to the memory stage MS2 as a new bit block E(O)-2. The old bit block E(O)-2 is abandoned. Following this, the same operation is repeated.
The operations of the circuits Fn' and EXn' have been discussed in connection with the first embodiment and as such, further descriptions thereof will be omitted.
In Fig. 3, the memory 30(n) includes two memory stages MS1 and MS2 in this particular case. However, the memory stages can be increased wherein the output of the circuit En~ stored in the last stage is applied to the exclusive-or circuit EX-Bn.
A third embodiment of the present invention will be discussed with reference to Fig. 4. The third embodiment includes a memory 30(n)' having three memory stages MS1, MS2 and MS3. Other than this, the third embodiment is the same as the second embodiment.
As shown in Fig. 3, the exclusive-or circuit EX-Bn' is supplied with the three inputs from the memory Mn' and the memory stages MS2 and MS3. According to the third embodiment, a key applied to the cipher function circuit Fn' can be changed in a manner which renders more computationally infeasible to break the cipher as compared with the second embodiment.
It will be understood that the above disclosure is 2 1 ~ 8826 representative of several possible embodiments of the present invention and that the concept on which the invention is based is not specifically limited thereto.
Hardware arrangement for enciphering bit blocks while renewing a key at each iteration BACKGROUND OF THE INVENTION
Field of the Invention The present invention relates generally to an arrangement for transforming plaintext into the corresponding ciphertext in a digital data communications system, and more specifically to an arrangement for enciphering data blocks via iterated computations wherein a key is renewed at each iteration. The arrangement disclosed is also applicable to the reverse process of transforming ciphertext into the original plaintext.
Description of the Related Art In a data communications system, it is a common practice to use cryptographic techniques in order to prevent an unauthorized person(s) from obt~ining data.
Plaintext to be transmitted is transformed into the corresponding ciphertext. The plaintext can be reproduced from the ciphertext by using the exactly the same key used to encipher it.
A cipher is a secret method of writing whereby plaintext (or cleartext) is transformed into the corresponding ciphertext (sometimes called a cryptogram).
The process is called encipherment or encryption, while the reverse process of transforming ciphertext into the corresponding plaintext is called decipherment or decryption. Both encipherment and decipherment are controlled by a cryptographic key or keys.
In 1977 the National Bureau of Standards of U.S.A.
announced a Data Encryption Standard (DES) to be used in unclassified U.S. Government applications. DES enciphers 64-bit blocks of data with a 56-bit key.
By way of example, known cryptographic techniques utilizing DES are disclosed in Japanese Laid-open Patent 2~ 1882-~
Applications Nos. 51-108701 and 51-108702 which were respectively based on U.S. Patent Applications Nos.
552,684 and 552,685 both filed February 24, 1975.
Further, DES is disclosed in detail in a paper entitled "Data Encryption Standard", Federal Information Processing Standards Publication (FIPS PUB) 46-1, Supersedes FIPS PUB 41, 1977 January 15, Reaffirmed 1988 January 22, published by U.S. Department of Commerce.
DES enciphers 64-bit blocks of data with a 56-bit key. The algorithm of DES, which is used both to encipher and decipher, is such that an input block is first transposed under an initial permutation IP. After has passed through 16 iterations of a cipher function, it is transposed under the inverse of the initial permutation to give a ciphertext.
The encipherment according to DES uses a common key which is prepared before encipherment and is fixed through encipherment. Accordingly, this algorithm has encountered the problem that the cipher is somewhat computationally vulnerable.
SUMMARY OF THE INVENTION
It is an object of the present invention to provide a hardware arrangement for enciphering blocks of data, via a plurality of iterations, using a key which is renewed each iteration.
More specifically, an aspect of the present invention resides in a hardware arrangement for transforming plaintext into corresponding ciphertext using a first to n-th stages provided in tandem (where n is an integer more than three), each of said first to n-th stages performing a complex key-dependent computation and comprising; a memory for storing a key; first means for transposing, using said key, a first bit block applied thereto from a preceding stage; second means for implementing an exclusive-or operation of output of said first means and a second bit block applied thereto from said preceding stage; and third means for transposing output of said first means using said key, said third means applying output thereof to said memory whereby said key is replaced with said output of said third means.
Another aspect of the present invention resides in a hardware arrangement for transforming plaintext into corresponding ciphertext using a first to n-th stages provided in tandem (where n is an integer more than three), each of said first to n-th stages performing a complex key-dependent computation and comprising; a memory for storing a key; first means storing a plurality of first bit blocks successively applied thereto from a preceding stage, said second means receiving said key from said memory and modifying said key using at least one of said first bit blocks stored, said second means outputting a modified key; second means for transposing, using said modified key, the first bit block applied thereto from the preceding stage; and third means for implementing an exclusive-or operation of output of said second means and a second bit block applied thereto from said preceding stage.
BRIEF DESCRIPTION OF THE DRAWINGS
The features and advantages of the present invention will become more clearly appreciated from the following description taken in conjunction with the accompanying drawings in which like elements are denoted by like reference numerals and in which:
Fig. 1 is a block diagram schematically showing a first embodiment of the present invention;
Fig. 2 is a block diagram schematically showing one block of Fig. 1;
Fig. 3 is a second embodiment of the present invention; and Fig. 4 is a block diagram schematically showing a _ 4 _ NE-578 third embodiment of the present invention.
DETAILED DESCRIPTION OF THE
PREFERRED EMBODIMENTS
The present invention will be discussed in connection with the case where it is applied to the Data Encryption Standard tDES). However, the application of the present invention to DES is merely exemplary and the present invention is in no way limited to such an application if a common key is used to encipher a plaintext via iterations.
Fig. 1 is a block diagram schematically showing the first embodiment of the present invention.
The first embodiment features that a cryptographic key, which controls each of complex key-dependent computation stages S1-S16, is renewed after completing a bit transposition thereat.
The first embodiment differs from the arrangement of DES in that each of the complex key-dependent computation stage S1-S16 of the first embodiment, is additionally provided with three components Mn, En and EX-An (n=1, 2, ..., 16)-A key scheduling section 10 is supplied with a 64-bit initial key including 8 parity bits. The initial key applied to the key scheduling section 10 is first subjected to bit transposition using a permutation PC-1 (permuted choice) shown in Table 1. The table, as well as the other permutation tables described later, should be read left-to-right, top-to-bottom. For example, the permutation PC-1 transposes B=bl, b2, ..., b64 into Bp=b57, b49, .. , b4-_ 5 _ NE-578 Table 1 The permutation PC-1 discards the parity bits and transpose the remaining 56 bits as shown in the above Table 1. The result of the permutation PC-1 is then split into two halves C and D of 28 bits each. The blocks C and D are then successively circularly shifted left to derive each key Kn (suffix n denotes n-th iteration and n=1, 2, ..., 16 in this case). The key schedule of left shifts is shown in Table 2.
Table 2 Iteration i 1 2 3 4 5 6 7 8 9 Number of Shifts 1 1 2 2 2 2 2 2 Iteration i 10 11 12 13 14 15 16 Number of Shifts 2 2 2 2 2 2 Bit data Cn and Dn (n=1, 2, ..., 16) obtained through the left circular shifts, are then decreased in number from 56 bits to 48 bits via permutation PC-2 shown in Table 3.
Table 3 The operation of the key scheduling section 10 is well known in the art and hence further descriptions will be omitted for the sake of brevity.
The 16 keys K1-Kl6 thus obtained are respectively applied to the stages S1-S16 and stored in corresponding memories M1-M16.
As shown in Fig. 1, the stage S1 includes, in addition to the memory M1, a cipher function circuit F1, an expanding permutation circuit E1 and an exclusive-or gate EX1. The other stages S2-S16 each is configured in exactly the same manner as the stage S1 and thus, each of the counterparts is given the same notation plus an - iteration number.
After the stages S1-16 have respectively stored the keys Kl-Kl6, an initial 64-bit block of a plaintext is applied to the arrangement of Fig. 1 and then first subjected to an initial permutation IP tTable 4) at a circuit 12.
Table 4 After the initial block input of 64-bit is transposed under the initial permutation IP, the 64-bit block is divided into two halves L and R of 32-bit each and then undergo 16 iterations of a cipher function f and exclusive-or operations. Let Tn (64 bits) denote the result of the n-th iteration, and let Ln and Rn (each 32 bits) denote the left and right haves of Tn~ respectively.
Then, Ln = Rn- 1 Rn = Lnl + f(Rnl, Kn) where + depicts the exclusive-or operation.
Fig. 2 is a sketch of the hardware arrangement implementing the cipher function f(Rnl, Kn)~ Rnl is first expanded to a 48-bit block, at an bit expanding circuit 14, using a bit selection table (Table 5).
Table 5 28 2g 30 31 32 21 ~ 8826 Subsequently, the exclusive-or of E(Rnl) (viz., the output of the expanding permutation circuit 14) and Kn is implemented at the exclusive-or gate 16 and the result broken into eight 6-bit blocks Bl, ..., B8 which are respectively applied to eight selection (substitution) function circuits (S-boxes) Sl, ..., S8. These eight S-boxes circuits Sl-S8 output respectively 4-bit blocks which are concatenated together, and the resulting 32-bit block is transposed by a permutation circuit 18 using Table 6.
The operations of S-boxes Sl-S8 are well known and disclosed in detail in the paper referred to in the opening paragraphs and hence will be omitted for the purpose of simplifying the disclosure.
Table 6 In the following, merely for the convenience of description, the operations of the n-th stage Sn (n=1, 2, ..., 16) are discussed.
The 32-bit block outputted from the cipher function circuit Fn is applied to the EXn to which the bit block Ln is also applied. The EXn carries out an exclusive-or operation of the 32-bit block from Fn and the block L
and the result of the operation is applied to the next stage S(n+1) as a block Ri+l.
As mentioned above, the first embodiment is to renew _ g _ NE-578 the key Kn (n=l, 2, ..., 16) after each transposition of data block at the corresponding stage Sn. To this end, the memory Mn, the expanding permutation circuit En and the exclusive-or circuit EX-An are provided in the stage Sn.
The 32-bit block from the function circuit Fn is expanded to a 48-bit block using the above mentioned Table 5. Following this, the EX-An performs an exclusive-or operation of the 48-bit key Kn and the 48-bit block outputted from En. Let the key Kn currently stored in the memory Mn denote Ko1d and let a new key denote KneW, we have KneW = K~ld + E(o)n wherein E(O)n depicts the output of the exclusive-or circuit EX-An.
Thus, the key Kn (i=l, 2, ..., 16) stored in the corresponding memory Mn can be renewed or replaced after each transposition of data block at the corresponding stage Sn is finished.
The data block outputted from the last stage S16 is subjected to the inverse of the initial permutation using Table 7. Thus, a ciphertext can be obtained from the arrangement of Fig. 1.
Table 7 As mentioned above, the key in each of the stages S1-S16 is subject to change after each iteration.
Accordingly, the ciphertext obtained from the first 21 1 882~) embodiment is computationally much more infeasible to be broken as compared with the prior art.
A second embodiment of the present invention will be discussed with reference to Fig. 3. The second embodiment is applied to DEC as in the first embodiment merely by way of example. Fig. 3 shows only one stage (viz., n-th stage (n=l, 2, ..., 16)) in that each of the other fifteen stages is arranged or configured in exactly the same manner as the n-th stage.
The n-th stage Sn includes a memory Mn', two exclusive-or circuits EXn' and EX-Bn, a cipher function circuit Fn', an expanding permutation circuit En', and a memory 30(n), all of which are coupled as shown. The cipher function Fn' and the exclusive-or circuit EXn' are essentially the same as the counterparts Fn and Exn of Fig. 1. Further, the memory Mn' corresponds to Mn of Fig. 1, and the expanding permutation circuit En' operates in a manner identical to the counterpart En of Fig. 1.
In the second embodiment, the key Kn initially outputted from the key scheduling section 10 (Fig. 1) is retained in the memory Mn and is not subjected to any renewal as in the first embodiment.
The second embodiment is advantageous especially in the case where the ciphertext is subject to bit errors during encipherment and/or during data transmission. In more specific terms, the key Kn initially applied is held in the memory Mn and hence, even if a bit error occurs at a given stage and/or during data transmission, the bit disturbance caused by the bit error can be restored in a very short time.
The memory 30(n) includes two memory stages MSl and MS2 in this particular embodiment. The upper memory stage MSl stores the bit block E(O)-l applied thereto from the expanding permutation circuit En at a given iteration. When the bit block E(O)-l is stored in the memory stage MS1, the bit block which has been stored therein is transferred to the lower memory stage MS2.
The bit transposition operation is controlled by the output (viz., key) of the exclusive-or circuit EX-Bn which is supplied with the key Kn and the previous output E(0)-2 of the expanding permutation circuit En'.
At the next iterated operation, the new bit block is stored in the memory stage MS1 as a new bit block E(O)-l.
Thus, the old bit block E(O)-1 is transferred to the memory stage MS2 as a new bit block E(O)-2. The old bit block E(O)-2 is abandoned. Following this, the same operation is repeated.
The operations of the circuits Fn' and EXn' have been discussed in connection with the first embodiment and as such, further descriptions thereof will be omitted.
In Fig. 3, the memory 30(n) includes two memory stages MS1 and MS2 in this particular case. However, the memory stages can be increased wherein the output of the circuit En~ stored in the last stage is applied to the exclusive-or circuit EX-Bn.
A third embodiment of the present invention will be discussed with reference to Fig. 4. The third embodiment includes a memory 30(n)' having three memory stages MS1, MS2 and MS3. Other than this, the third embodiment is the same as the second embodiment.
As shown in Fig. 3, the exclusive-or circuit EX-Bn' is supplied with the three inputs from the memory Mn' and the memory stages MS2 and MS3. According to the third embodiment, a key applied to the cipher function circuit Fn' can be changed in a manner which renders more computationally infeasible to break the cipher as compared with the second embodiment.
It will be understood that the above disclosure is 2 1 ~ 8826 representative of several possible embodiments of the present invention and that the concept on which the invention is based is not specifically limited thereto.
Claims (6)
1. A hardware arrangement for transforming plaintext into corresponding ciphertext using a first to n-th stages provided in tandem (where n is an integer more than three), each of said first to n-th stages performing a complex key-dependent computation and comprising;
a memory for storing a key;
first means for transposing, using said key, a first bit block applied thereto from a preceding stage;
second means for implementing an exclusive-or operation of output of said first means and a second bit block applied thereto from said preceding stage; and third means for transposing output of said first means using said key, said third means applying output thereof to said memory whereby said key is replaced with said output of said third means.
a memory for storing a key;
first means for transposing, using said key, a first bit block applied thereto from a preceding stage;
second means for implementing an exclusive-or operation of output of said first means and a second bit block applied thereto from said preceding stage; and third means for transposing output of said first means using said key, said third means applying output thereof to said memory whereby said key is replaced with said output of said third means.
2. A hardware arrangement as claimed in claim 1, wherein said third means includes:
fourth means, coupled to said first means, for transposing the output of said first means; and fifth means, coupled to said memory and said fourth means, for implementing an exclusive-or operation of said key and said output of said fourth means.
fourth means, coupled to said first means, for transposing the output of said first means; and fifth means, coupled to said memory and said fourth means, for implementing an exclusive-or operation of said key and said output of said fourth means.
3. A hardware arrangement as claimed in claim 1, wherein said plaintext is applied to said first stage after being subjected to an initial permutation, and wherein output of said n-th stage is subjected to the inverse of said initial permutation for obtaining said ciphertext.
4. A hardware arrangement for transforming plaintext into corresponding ciphertext using a first to n-th stages provided in tandem (where n is an integer more than three), each of said first to n-th stages performing a complex key-dependent computation and comprising;
a memory for storing a key;
first means storing a plurality of first bit blocks successively applied thereto from a preceding stage, said second means receiving said key from said memory and modifying said key using at least one of said first bit blocks stored, said second means outputting a modified key;
second means for transposing, using said modified key, the first bit block applied thereto from the preceding stage; and third means for implementing an exclusive-or operation of output of said second means and a second bit block applied thereto from said preceding stage.
a memory for storing a key;
first means storing a plurality of first bit blocks successively applied thereto from a preceding stage, said second means receiving said key from said memory and modifying said key using at least one of said first bit blocks stored, said second means outputting a modified key;
second means for transposing, using said modified key, the first bit block applied thereto from the preceding stage; and third means for implementing an exclusive-or operation of output of said second means and a second bit block applied thereto from said preceding stage.
5. A hardware arrangement as claimed in claim 4, wherein said first means includes:
fourth means for transposing said first bit blocks applied thereto;
fifth means, coupled to said fourth means, for storing outputs of said fourth means; and sixth means for implementing an exclusive-or operation of said key and at least one of said first bit blocks stored in said fifth means.
fourth means for transposing said first bit blocks applied thereto;
fifth means, coupled to said fourth means, for storing outputs of said fourth means; and sixth means for implementing an exclusive-or operation of said key and at least one of said first bit blocks stored in said fifth means.
6. A hardware arrangement as claimed in claim 1, wherein said plaintext is applied to said first stage after being subjected to an initial permutation, and wherein output of said n-th stage is subjected to the inverse of said initial permutation for obtaining said ciphertext.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5050276A JPH0812537B2 (en) | 1993-03-11 | 1993-03-11 | Encryption device |
JP5-050276 | 1993-03-11 |
Publications (2)
Publication Number | Publication Date |
---|---|
CA2118826A1 CA2118826A1 (en) | 1994-09-12 |
CA2118826C true CA2118826C (en) | 1996-08-06 |
Family
ID=12854421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA002118826A Expired - Fee Related CA2118826C (en) | 1993-03-11 | 1994-03-11 | Hardware arrangement for enciphering bit blocks while renewing a key at each iteration |
Country Status (6)
Country | Link |
---|---|
US (1) | US5442705A (en) |
EP (1) | EP0618701B1 (en) |
JP (1) | JPH0812537B2 (en) |
AU (1) | AU674197B2 (en) |
CA (1) | CA2118826C (en) |
DE (1) | DE69429126T2 (en) |
Families Citing this family (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
NL9400428A (en) * | 1994-03-18 | 1995-11-01 | Nederland Ptt | Device for cryptographically processing data packets, as well as a method of generating cryptographic processing data. |
JPH08179690A (en) * | 1994-12-22 | 1996-07-12 | Nec Corp | Product encoding device |
EP1048140A4 (en) * | 1995-07-27 | 2001-01-24 | Gen Instrument Corp | Cryptographic system with concealed work factor |
SE506619C2 (en) | 1995-09-27 | 1998-01-19 | Ericsson Telefon Ab L M | Method for encrypting information |
US5768390A (en) * | 1995-10-25 | 1998-06-16 | International Business Machines Corporation | Cryptographic system with masking |
US6075858A (en) * | 1995-10-27 | 2000-06-13 | Scm Microsystems (U.S.) Inc. | Encryption key system and method |
CA2164768C (en) * | 1995-12-08 | 2001-01-23 | Carlisle Michael Adams | Constructing symmetric ciphers using the cast design procedure |
AU716807B2 (en) * | 1996-02-28 | 2000-03-09 | Hitachi Limited | Method and apparatus for encrypting data |
JP3746098B2 (en) * | 1996-02-28 | 2006-02-15 | 株式会社日立製作所 | Data encryption device |
US5740249A (en) * | 1996-04-09 | 1998-04-14 | Kabushiki Kaisha Toshiba | Encryption apparatus and method capable of controlling encryption process in accordance with an internal state |
US5835599A (en) * | 1996-04-15 | 1998-11-10 | Vlsi Technology, Inc. | Muti-cycle non-parallel data encryption engine |
US5809148A (en) * | 1996-05-17 | 1998-09-15 | Motorola, Inc. | Decryption of retransmitted data in an encrypted communication system |
US5745577A (en) * | 1996-07-25 | 1998-04-28 | Northern Telecom Limited | Symmetric cryptographic system for data encryption |
US5933501A (en) | 1996-08-01 | 1999-08-03 | Harris Corporation | `Virtual` encryption scheme combining different encryption operators into compound-encryption mechanism |
US6587563B1 (en) * | 1997-02-15 | 2003-07-01 | Apple Computer, Inc. | Cryptographic system using chaotic dynamics |
US6459792B2 (en) * | 1997-04-23 | 2002-10-01 | Matsushita Electric Industrial Co., Ltd. | Block cipher using key data merged with an intermediate block generated from a previous block |
JP3351305B2 (en) | 1997-08-07 | 2002-11-25 | 日本電気株式会社 | Computer-readable recording medium storing an encryption device and a program for implementing the encryption device |
UA55496C2 (en) * | 1997-11-28 | 2003-04-15 | Откритоє Акціонєрноє Общєство "Московская Городская Тєлєфонная Сєть" | Method for cryptographic conversion of l-bit input digital data blocks into l-bit output data blocks |
US6259789B1 (en) | 1997-12-12 | 2001-07-10 | Safecourier Software, Inc. | Computer implemented secret object key block cipher encryption and digital signature device and method |
US6215876B1 (en) | 1997-12-31 | 2001-04-10 | Transcrypt International, Inc. | Apparatus for and method of detecting initialization vector errors and maintaining cryptographic synchronization without substantial increase in overhead |
US6249582B1 (en) | 1997-12-31 | 2001-06-19 | Transcrypt International, Inc. | Apparatus for and method of overhead reduction in a block cipher |
US6570989B1 (en) * | 1998-04-27 | 2003-05-27 | Matsushita Electric Industrial Co., Ltd. | Cryptographic processing apparatus, cryptographic processing method, and storage medium storing cryptographic processing program for realizing high-speed cryptographic processing without impairing security |
DE19924986B4 (en) * | 1998-05-29 | 2006-03-23 | Hitachi, Ltd. | Encryption Conversion Device, Decryption Conversion Device, Cryptographic Communication System and Electronic Fee Collection Device |
ATE336122T1 (en) * | 1998-12-30 | 2006-09-15 | Nokia Corp | METHOD AND DEVICE FOR CRYPTOGRAPHIC DATA PROCESSING |
US7095540B1 (en) * | 1999-01-29 | 2006-08-22 | The University Of Connecticut | Optical security system using fourier plane encoding |
KR100320182B1 (en) * | 1999-02-09 | 2002-01-10 | 구자홍 | Encryption method for digital data file |
TW556111B (en) * | 1999-08-31 | 2003-10-01 | Toshiba Corp | Extended key generator, encryption/decryption unit, extended key generation method, and storage medium |
US6891951B2 (en) * | 2000-01-21 | 2005-05-10 | Victor Company Of Japan, Ltd. | Cryptosystem-related method and apparatus |
WO2001089098A2 (en) | 2000-05-05 | 2001-11-22 | Lee Ruby B | A method and system for performing permutations with bit permutation instructions |
US7170997B2 (en) | 2000-12-07 | 2007-01-30 | Cryptico A/S | Method of generating pseudo-random numbers in an electronic device, and a method of encrypting and decrypting electronic data |
US7076059B1 (en) * | 2002-01-17 | 2006-07-11 | Cavium Networks | Method and apparatus to implement the data encryption standard algorithm |
FR2838892A1 (en) * | 2002-04-23 | 2003-10-24 | Scm Microsystems Gmbh | Method and device for encrypting digital data |
US20040086117A1 (en) * | 2002-06-06 | 2004-05-06 | Petersen Mette Vesterager | Methods for improving unpredictability of output of pseudo-random number generators |
WO2004084484A1 (en) * | 2003-03-17 | 2004-09-30 | Alexander Andreevich Moldovyan | Method for the cryptographic conversion of digital data blocks |
JP4687775B2 (en) * | 2008-11-20 | 2011-05-25 | ソニー株式会社 | Cryptographic processing device |
US10262164B2 (en) | 2016-01-15 | 2019-04-16 | Blockchain Asics Llc | Cryptographic ASIC including circuitry-encoded transformation function |
US10372943B1 (en) | 2018-03-20 | 2019-08-06 | Blockchain Asics Llc | Cryptographic ASIC with combined transformation and one-way functions |
US10256974B1 (en) | 2018-04-25 | 2019-04-09 | Blockchain Asics Llc | Cryptographic ASIC for key hierarchy enforcement |
US11017128B2 (en) | 2018-05-22 | 2021-05-25 | Seagate Technology Llc | Data security using bit transposition during memory accesses |
US11347860B2 (en) | 2019-06-28 | 2022-05-31 | Seagate Technology Llc | Randomizing firmware loaded to a processor memory |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3958081A (en) * | 1975-02-24 | 1976-05-18 | International Business Machines Corporation | Block cipher system for data security |
US3962539A (en) * | 1975-02-24 | 1976-06-08 | International Business Machines Corporation | Product block cipher system for data security |
US4074066A (en) * | 1976-04-26 | 1978-02-14 | International Business Machines Corporation | Message verification and transmission error detection by block chaining |
US4316055A (en) * | 1976-12-30 | 1982-02-16 | International Business Machines Corporation | Stream/block cipher crytographic system |
US4850019A (en) * | 1985-11-08 | 1989-07-18 | Nippon Telegraph And Telephone Corporation | Data randomization equipment |
JPS6347835A (en) * | 1986-08-18 | 1988-02-29 | Agency Of Ind Science & Technol | Pipeline computer |
GB2204465B (en) * | 1987-05-01 | 1991-06-19 | Philips Electronic Associated | A method of and an arrangement for digital signal encryption |
US5003597A (en) * | 1989-12-21 | 1991-03-26 | Xerox Corporation | Method and apparatus for data encryption |
JPH07104845B2 (en) * | 1990-09-11 | 1995-11-13 | 松下電送株式会社 | Parallel processor |
JP3053106B2 (en) * | 1990-11-02 | 2000-06-19 | 株式会社日立製作所 | Encryption processing device and decryption processing device |
US5317638A (en) * | 1992-07-17 | 1994-05-31 | International Business Machines Corporation | Performance enhancement for ANSI X3.92 data encryption algorithm standard |
-
1993
- 1993-03-11 JP JP5050276A patent/JPH0812537B2/en not_active Expired - Fee Related
-
1994
- 1994-03-11 EP EP94103809A patent/EP0618701B1/en not_active Expired - Lifetime
- 1994-03-11 AU AU57764/94A patent/AU674197B2/en not_active Ceased
- 1994-03-11 US US08/208,589 patent/US5442705A/en not_active Expired - Lifetime
- 1994-03-11 DE DE69429126T patent/DE69429126T2/en not_active Expired - Lifetime
- 1994-03-11 CA CA002118826A patent/CA2118826C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
EP0618701B1 (en) | 2001-11-21 |
JPH06266284A (en) | 1994-09-22 |
EP0618701A2 (en) | 1994-10-05 |
AU674197B2 (en) | 1996-12-12 |
US5442705A (en) | 1995-08-15 |
AU5776494A (en) | 1994-09-15 |
CA2118826A1 (en) | 1994-09-12 |
DE69429126T2 (en) | 2002-07-11 |
DE69429126D1 (en) | 2002-01-03 |
EP0618701A3 (en) | 1995-04-12 |
JPH0812537B2 (en) | 1996-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2118826C (en) | Hardware arrangement for enciphering bit blocks while renewing a key at each iteration | |
EP0839418B1 (en) | Cryptographic method and apparatus for non-linearly merging a data block and a key | |
KR100296958B1 (en) | Apparatus for encoding block data | |
US5745577A (en) | Symmetric cryptographic system for data encryption | |
DK1686722T3 (en) | Block encryption device and block encryption method comprising rotation key programming | |
EP1052611B1 (en) | Data converter and recording medium on which program for executing data conversion is recorded | |
EP1063811B1 (en) | Cryptographic apparatus and method | |
US6459792B2 (en) | Block cipher using key data merged with an intermediate block generated from a previous block | |
JPH0863097A (en) | Method and system for symmetric encoding for encoding of data | |
Dolmatov | GOST 28147-89: Encryption, decryption, and message authentication code (MAC) algorithms | |
US8437470B2 (en) | Method and system for block cipher encryption | |
EP0896451B1 (en) | Encryption apparatus and computer-readable recording medium containing program for realizing the same | |
US7212633B2 (en) | Expansion key generating device, encryption device and encryption system | |
JPH01261689A (en) | System for keeping secrecy of data | |
JP4317593B2 (en) | Data decorrelation method | |
WO2012141189A1 (en) | Encrypting method, encrypting device, and encrypting program | |
Blaze et al. | The MacGuffin block cipher algorithm | |
EP1001398B1 (en) | Ciphering apparatus | |
Kwan et al. | A general purpose technique for locating key scheduling weaknesses in DES-like cryptosystems | |
JPH09269727A (en) | Ciphering method and ciphering device | |
Malav | Security Improvement for Realistic Data Using International Data Encryption Cryptographic Algorithm | |
KR980007156A (en) | Secret key block encryption and decryption method | |
JPS60164787A (en) | Shift cipher system | |
RU2127024C1 (en) | Encrypting unit | |
RU2140715C1 (en) | Ciphering unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EEER | Examination request | ||
MKLA | Lapsed |