Shift device and method for shifting
First Claim
1. A shift device for shifting a first place of a data word, which consists of a plurality of places, to a second place so as to obtain a shifted data word, wherein the first place is encrypted using a first encryption parameter and wherein the second place is encrypted using a second encryption parameter, comprising:
- a shifter for shifting the first place of the data word to the second place of the data word;
a re-encrypter for re-encrypting the first place from an encryption using the first encryption parameter into an encryption using the second encryption parameter; and
a controller for controlling the shifter and the re-encrypter so that the first place is first shifted to the second place and is then re-encrypted, or that the first place is first re-encrypted and is then shifted to the second place.
1 Assignment
0 Petitions
Accused Products
Abstract
A shift device for shifting a first place of a data word, which consists of a plurality of places, to a second place so as to obtain a shifted data word, wherein the first place is encrypted using a first encryption parameter and wherein the second place is encrypted using a second encryption parameter, includes a unit for shifting the first place of the data word to the second place of the data word, a unit for re-encrypting the first place from an encryption using the first encryption parameter into an encryption using the second encryption parameter, and a control for controlling the unit for shifting and the unit for re-encryption so that the first place is first shifted to the second place and is then re-encrypted, or that the first place is first re-encrypted and is then shifted to the second place. This ensures that data encrypted either with the first encryption parameter or with the second encryption parameter are always shifted, thus making it harder for attackers to eavesdrop on clear text data.
13 Citations
15 Claims
-
1. A shift device for shifting a first place of a data word, which consists of a plurality of places, to a second place so as to obtain a shifted data word, wherein the first place is encrypted using a first encryption parameter and wherein the second place is encrypted using a second encryption parameter, comprising:
-
a shifter for shifting the first place of the data word to the second place of the data word; a re-encrypter for re-encrypting the first place from an encryption using the first encryption parameter into an encryption using the second encryption parameter; and a controller for controlling the shifter and the re-encrypter so that the first place is first shifted to the second place and is then re-encrypted, or that the first place is first re-encrypted and is then shifted to the second place. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for shifting a first place of a data word, which consists of a plurality of places, to a second place so as to obtain a shifted data word, wherein the first place is encrypted using a first encryption parameter and wherein the second place is encrypted using a second encryption parameter, with the following steps:
-
shifting the first place of the data word to the second place of the data word and re-encrypting the shifted first place from an encryption using the first encryption parameter into an encryption using the second encryption parameter;
orre-encrypting the first place from an encryption using the first encryption parameter into an encryption using the second encryption parameter and shifting the unencrypted place of the data word to the second place of the data word.
-
-
12. A shift device for shifting a first place of a data word, which consists of a plurality of places, to a second place so as to obtain a shifted data word, wherein the first place is encrypted using a first encryption parameter and wherein the second place is encrypted using a second encryption parameter, comprising:
-
a shifter for shifting the first place of the data word to the second place of the data word, wherein the shifter has a multiplexer for each place; a re-encrypter for re-encrypting the first place from an encryption using the first encryption parameter into an encryption using the second encryption parameter; a controller for controlling the shifter and the re-encrypter so that the first place is first shifted to the second place and is then re-encrypted, or that the first place is first re-encrypted and is then shifted to the second place; and an inserter for inserting a value into a place of the data word which was occupied before shifting the place but is no longer occupied after shifting the place, the inserter being arranged to encrypt a value for insertion with the encryption parameter for this place, and to insert the value for insertion in encrypted form.
-
-
13. A shift device for shifting a first place of a data word, which consists of a plurality of places, to a second place so as to obtain a shifted data word, wherein the first place is encrypted using a first encryption parameter and wherein the second place is encrypted using a second encryption parameter, wherein the encryption of the first place and the second place is performed using the same encryption algorithm, while the first and the second encryption parameters are different, wherein the encryption algorithm involves an XORing or XNORing of the unencrypted first or second place with an encryption parameter, comprising:
-
a shifter for shifting the first place of the data word to the second place of the data word; a re-encrypter for re-encrypting the first place from an encryption using the first encryption parameter into an encryption using the second encryption parameter, wherein the re-encrypter is arranged to perform an XORing or XNORing of the encrypted first place with a re-encryption parameter which is equal to an XORing or XNORing of the first and the second encryption parameter, wherein the re-encrypter has an XNOR or an XOR gate with three inputs, a first input, to which a encrypted place can be applied, a second input, to which the first encryption parameter can be applied, and a third input, to which the second encryption parameter can be applied; and a controller for controlling the shifter and the re-encrypter so that the first place is first shifted to the second place and is then re-encrypted, or that the first place is first re-encrypted and is then shifted to the second place.
-
-
14. A shift device for shifting a first place of a data word, which consists of a plurality of places, to a second place so as to obtain a shifted data word, wherein the first place is encrypted using a first encryption parameter and wherein the second place is encrypted using a second encryption parameter, comprising:
-
a shifter for shifting the first place of the data word to the second place of the data word; a re-encrypter for re-encrypting the first place from an encryption using the first encryption parameter into an encryption using the second encryption parameter, wherein the re-encrypter is so arranged as to perform re-encryption without an intermediate result being created in which the first place is unencrypted; and a controller for controlling the shifter and the re-encrypter so that the first place is first shifted to the second place and is then re-encrypted, or that the first place is first re-encrypted and is then shifted to the second place.
-
-
15. A shift device for shifting a first place of a data word, which consists of a plurality of places, to a second place so as to obtain a shifted data word, wherein the first place is encrypted using a first encryption parameter and wherein the second place is encrypted using a second encryption parameter, comprising:
-
a shifter for shifting the first place of the data word to the second place of the data word; a re-encrypter for re-encrypting the first place from an encryption using the first encryption parameter into an encryption using the second encryption parameter; and a controller for controlling the shifter and the re-encrypter so that the first place is first shifted to the second place and is then re-encrypted, or that the first place is first re-encrypted and is then shifted to the second place.
-
Specification