Data processing devices and methods for storing a data vector
By dividing data vectors into parts stored across multiple memory areas and using error-detecting codes, the data processing device enhances security against manipulation attacks while reducing power consumption.
Patent Information
- Application Number
- DE102015114233
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2015-08-27
- Publication Date
- 2024-10-24
- Estimated Expiration
- 2035-08-27
AI Technical Summary
Existing data processing devices, such as microprocessors and microcontrollers, are vulnerable to attacks that manipulate data and program execution, leading to excessive power and energy consumption, necessitating efficient protection methods.
A data processing device with a coding unit that divides data vectors into multiple parts stored in separate memory areas controlled by different processors, using error-detecting codes to verify the integrity of the data upon retrieval, and employs redundant control signals to thwart manipulation attempts.
This approach significantly enhances security by making it difficult for attackers to manipulate data, as multiple simultaneous attacks are required to disrupt the system, thereby reducing power consumption and improving reliability.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[0001] Embodiments generally relate to data processing devices and methods for storing a data vector.
[0002] Security-relevant data processing systems such as a microprocessor or a microcontroller, which are provided, for example, on a chip card, typically need to be protected against attacks. In particular, manipulation of generated data and instructions (and thus program execution) through the injection of errors by an attacker should be prevented. To avoid excessive additional costs in terms of chip area requirements and energy consumption, efficient approaches that enable protection against such attacks are desirable.
[0003] DE 10 2013 205 542 A1 discloses a device for processing data, wherein the device has an input interface for receiving input data and a processing unit for processing data, characterized in that a coding unit is provided which is designed to encode data words received as input data at the input interface in order to obtain encoded data words, wherein for encoded data words, the encoded data words and / or measured values characterizing their processing by the device can be determined as a function of at least one physical quantity of the device, wherein the coding unit is designed to encode the data words such that a predeterminable proportion of all measured values, preferably at least approximately 50% of all measured values, has a difference from a predefined value which is less than or equal to a predeterminable threshold value, and in that the processing unit is designed toto process the coded data words.,
[0004] DE 103 60 998 B4 discloses a chip comprising a processing device for performing a predetermined operation, a device for providing the clock with which the processing device is clocked, a counter for decrementing or incrementing a counter value based on the clock, a device for signaling, depending on the counter value, that the predetermined operation is to be inhibited, and a device for non-volatilely storing the counter value.
[0005] A data processing device according to claim 1, a chip card according to claim 16, and a method for storing a data vector according to claim 17 are provided. Further embodiments are described in the dependent claims.
[0006] According to one embodiment, a data processing device is provided comprising a coding device configured to encode a data vector into a code word of a code, to supply a first partial word of the code word to a first memory area, and to supply a second partial word of the code word to a second memory area, a first write activation signal source configured to supply a first write activation signal to the first memory area for storing the first partial word in the first memory area, a second write activation signal source configured to supply a second write activation signal to the second memory area for storing the second partial word in the second memory area, a read-out device configured to read the first partial word from the first memory area and the second partial word from the second memory area, and a checking device,which is configured to check whether the first read-out partial word and the second read-out partial word form a valid code word of the code and to output an error signal if the first read-out partial word and the second read-out partial word do not form a valid code word of the code.
[0007] The figures do not represent actual dimensions but are intended to illustrate the principles of the various embodiments. Various embodiments are described below with reference to the following figures. Fig. 1 shows a chip card. Fig. 2 shows a data processing device according to an embodiment. Fig. Figure 3 shows a flowchart illustrating a method for storing a data vector. Fig. 4 shows a memory arrangement according to an embodiment with a division of a register into register areas that are controlled by different CPUs. Fig. 5 shows a memory arrangement according to an embodiment with a division of a main memory into memory areas that are controlled by different CPUs. Fig. 6 shows a memory arrangement according to a further embodiment with a division of a register into register areas that are controlled by different CPUs. Fig. 7 shows a memory arrangement according to a further embodiment with a division of a register into register areas that are controlled by different CPUs.
[0008] The following detailed description refers to the accompanying figures, which show details and exemplary embodiments. These exemplary embodiments are described in such detail that those skilled in the art can carry out the invention. Other embodiments are also possible, and the exemplary embodiments can be modified structurally, logically, and electrically without departing from the scope of the invention. The various exemplary embodiments are not necessarily mutually exclusive, but different embodiments can be combined with one another to create new embodiments. In this description, the terms "connected," "connected," and "coupled" are used to describe both a direct and an indirect connection, a direct or indirect connection, and a direct or indirect coupling.
[0009] Fig. 1 shows a chip card 100.
[0010] The chip card 100 has a carrier 101 on which a chip card module 102 is arranged. The chip card module 102 is, for example, a chip that has various data processing components, such as a main memory 103 (e.g., a RAM (Random Access Memory), a processor 104 (also referred to as a CPU for Central Processing Unit), and one or more registers 105. The processor 104 is connected to the registers 105 and the main memory 103 via control lines 106. The processor 104 can supply control signals, such as write activation signals, to the registers 105 and the main memory 103 via the control lines. These signals cause a register 105 or the main memory 103 to accept data present at the register 105 or the main memory 103, for example, data supplied from the register 105 via data lines 107.
[0011] The processor 103 and other components 109 connected via data lines 108 (such as a data bus), such as an input / output interface, can read data from the registers and the main memory.
[0012] For example, the chip card module 102 performs operations that should be secure, meaning that the operations and / or their results, such as key calculations, should be kept secret from third parties and protected from tampering. In this sense, the chip card module 102 should be secure against attacks.
[0013] Microcontrollers such as chip card module 102 can be protected against the deliberate injection of errors by means of redundancy. For example, CPU 104 is executed multiple times (i.e., multiple CPUs 104 are provided) to detect calculation errors. To protect the transport of data, the data can be provided with a code that can detect tampering.
[0014] In the event that data, for example during the execution of a computer program by the processor 104, is transported over several clock cycles (for example between the processor 104 and another component 109) and is temporarily stored in registers 105 or the main memory 103 for transport, an attacker could attempt to ensure that, when a new data item is to be transported, an old data item is delivered instead. The point of attack for this would be the control lines 106 of a register 105 or main memory 103 located in the path through which the data travels (e.g. between the processor 104 and the another component 109). If, for example, after the interruption of the clock cycle supplied to a register 105, the register 105 does not accept any new values from the data source (e.g. the processor 104), it only passes its already existing value to the data sink (e.g. another component 109).If the old value is internally consistent (ie correctly encoded), the attacker can manipulate the execution of the computer program without the computer program noticing.
[0015] One target for such an attack would be, for example, loop counters, which an attacker could repeatedly reset to a certain value for a certain period of time, which could significantly influence program execution.
[0016] According to one embodiment, to defend against such attacks, the control (or testing) of the control logic of a memory (e.g., a register 105 or the main memory 103) is distributed among multiple processors 104. This is explained in more detail below.
[0017] Fig. 2 shows a data processing device 200 according to an embodiment.
[0018] The data processing device 200 has a coding device 201 which is configured to encode a data vector (in other words a data word) into a code word of a code, to supply a first partial word 202 of the code word to a first memory area 203 and to supply a second partial word 204 of the code word to a second memory area 205.
[0019] The data processing device 200 further comprises a first write activation signal source 206, which is configured to supply a first write activation signal 207 to the first memory area 203 for storing the first partial word 202 in the first memory area 203, and a second write activation signal source 208, which is configured to supply a second write activation signal 209 to the second memory area 205 for storing the second partial word 204 in the second memory area 205.
[0020] The data processing device 200 further comprises a reading device 210 which is configured to read the first partial word from the first memory area 203 and to read the second partial word from the second memory area 205, and comprises a checking device 211 which is configured to check whether the first read partial word 212 and the second read partial word 213 form a valid code word of the code (possibly together with one or more further partial words that have been stored in one or more further memory areas) and to output an error signal 213 if the first read partial word 211 and the second read partial word 212 do not form a valid code word of the code.
[0021] In other words, a data vector to be stored is encoded, and the codeword generated by the encoding is divided into two (or more) parts, which are stored in different memory areas controlled by different units (e.g., CPUs). During readout, the memory areas are read, the read-out subwords are combined (e.g., concatenated) according to the division of the generated codeword, and the resulting data word (possibly modified from the stored codeword) is checked to determine whether it is a valid codeword.
[0022] For a data word to be stored, a codeword is generated, for example, using a linear code (e.g., a simplex code, a Hamming code, or a Reed-Muller code), whereby a certain degree of redundancy is introduced. For example, for a data word of a certain length, a redundancy part is generated, the length of which is selected based on the desired probability of detecting attacks. The codeword (e.g., consisting of the data word to be stored and the redundancy part) is divided into two subwords, and each subword is stored in a memory area. The checking device can, for example, check whether the data word formed from the first subword read out and the second subword read out (and possibly further subwords) is a codeword in accordance with the code by multiplying it by a check matrix.If it is not a code word, an alarm signal is issued, which, for example, causes the data processing device to be reset or components of the data processing device to be deactivated.
[0023] A codeword can also be divided into more than two subwords. Accordingly, more than two memory areas, each with a write activation signal source, can be provided.
[0024] In other words, attacks based on interrupting control lines (i.e., write enable lines), for example, interrupting a clock signal or suppressing a write enable signal, are prevented by appropriate redundancy of the write enable signals (e.g., clock signal or write enable signal). In the case where CPUs are the sources of the write enable signals, the level of redundancy depends on the number of CPUs present. For example, as many register areas or memory areas could be provided as there are CPUs. According to one embodiment, a register or memory is divided into several independently controllable and addressable areas. To completely suppress a write operation, an attacker must attack all parallel write enable signals.If an attacker can suppress only a subset of the signals, they can only cause an error in the affected areas, thus creating an error in the stored data word that corresponds to the XOR difference between the new codeword (to be stored) and the old (previously stored) codeword in the affected areas. Depending on the code used (e.g., its Hamming distance) and the number and distribution of the errors, such a corrupted data word will be detected as incorrect with a certain probability during a check.
[0025] Multiple CPUs can also be assigned to a register area. For example, a register (or a memory area) is divided into several independently addressable areas, and two CPUs are assigned to each register area. This means that the number of register areas is half the number of CPUs. The CPUs are grouped into pairs. In each pair, one CPU controls a corresponding register area (using a write enable signal), and the other CPU in the pair checks whether the control signal has been applied to the register area in the same way as it itself generates it. For this purpose, the control signals are passed to the register and then back again.
[0026] The routing of the control line leading to a register area and the associated return line can be taken into account. If the control line and return line are located directly next to each other, an attacker can attack both lines simultaneously, for example, using a laser. According to one embodiment, the control signals are transmitted complementarily for this reason, i.e., the control signal is inverted before the return line from the register area to the second CPU of the CPU pair. Assuming that a laser causes the transition from 0 to 1 under different circumstances than a transition from 1 to 0, the attacker cannot directly influence both lines simultaneously.
[0027] Thus, an attacker must perform two separate attacks to suppress a write operation to a register area, so that the attack is not detected by comparing the control signals (by the second CPU of the CPU pair). Even if the attacker succeeds, by protecting the data word to be stored by encoding it as with reference to Fig. 2, a successful attack on a memory area can be detected. For example, if an attacker manipulates the control signals of only one CPU pair, i.e., for a register area, and thus suppresses the storage of a subword in the register area, the one or more other subwords of the (encoded) data word will continue to be written. Using an error-detecting code, it can be detected that the stored word is internally inconsistent (i.e., it contains a mixture of an old and a new code word). Thus, an attacker would have to attack as many individual lines as there are CPUs.
[0028] The components of the data processing device (e.g., coding device, write activation signal sources, readout device, verification device, etc.) can be implemented by one or more circuits. In one embodiment, a circuit is understood to be any unit that implements logic, and can be hardware, software, firmware, or a combination thereof. Thus, in one embodiment, a circuit can be a hard-wired logic circuit or a programmable logic circuit, such as a programmable processor, e.g., a microprocessor. A circuit can also be understood to be a processor that executes software.
[0029] The data processing device performs, for example, a method for storing a data vector as described in Fig. 3 is illustrated.
[0030] Fig. 3 shows a flowchart 300.
[0031] In 301, a data vector is encoded into a code word of a code.
[0032] In 302, a first subword of the codeword is supplied to a first memory area.
[0033] In 303, a second subword of the codeword is supplied to a second memory area.
[0034] In 304, a first write enable signal is supplied to the first memory area to store the first subword in the first memory area.
[0035] In 305, a second write enable signal is supplied to the second memory area to store the second subword in the second memory area.
[0036] In 306, the first subword is read from the first memory area and the second subword is read from the second memory area.
[0037] In 307 it is checked whether the first read-out partial word and the second read-out partial word form a valid code word of the code.
[0038] In 308, an error signal is output if the first read-out partial word and the second read-out partial word do not form a valid code word of the code.
[0039] Various embodiments are given below.
[0040] Embodiment 1 is a data processing device as described in Fig. 2 is shown.
[0041] Embodiment 2 is a data processing device according to Embodiment 1, comprising a memory having the first memory area and the second memory area, wherein the first memory area is configured to store a data word supplied to the first memory area in response to the first write activation signal and wherein the second memory area is configured to store a data word supplied to the first memory area in response to the second write activation signal.
[0042] Embodiment 3 is a data processing apparatus according to Embodiment 2, wherein the memory is a register or a random access memory.
[0043] Embodiment 4 is a data processing device according to any one of Embodiments 1 to 3, wherein the first write enable signal and the second write enable signal are a clock signal or a write enable signal.
[0044] Embodiment 5 is a data processing device according to any one of Embodiments 1 to 4, wherein the first write enable signal and the second write enable signal are the same signal.
[0045] Embodiment 6 is a data processing device according to any one of Embodiments 1 to 4, wherein the first write enable signal and the second write enable signal are different signals.
[0046] Embodiment 7 is a data processing device according to any one of Embodiments 1 to 6, wherein the first memory area comprises a plurality of first memory elements, each first memory element being configured to store a data bit supplied to the memory element in response to the first write activation signal, and wherein the second memory area comprises a plurality of second memory elements, each second memory element being configured to store a data bit supplied to the memory element in response to the second write activation signal.
[0047] Embodiment 8 is a data processing device according to Embodiment 7, wherein the first write enable signal source is configured to supply the first write enable signal to the first storage elements, and wherein the second write enable signal source is configured to supply the second write enable signal to the second storage elements.
[0048] Embodiment 9 is a data processing device according to any one of Embodiments 1 to 8, wherein the coding device is configured to divide the code word generated by coding the data vector into at least the first subword and the second subword.
[0049] Embodiment 10 is a data processing device according to embodiment 9, wherein the checking device is configured to combine the first read-out partial word and the second read-out partial word into a data word according to the division of the generated code word and to check whether the data word is a valid code word of the code.
[0050] Embodiment 11 is a data processing apparatus according to any one of Embodiments 1 to 10, wherein the first write enable signal source is a first CPU and the second write enable signal source is a second CPU.
[0051] Embodiment 12 is a data processing device according to any one of Embodiments 1 to 11, comprising a first write activation signal control device configured to check whether the first write activation signal source supplies the first write activation signal to the first memory area and to output an error signal if the first write activation signal source does not supply the first write activation signal to the first memory area.
[0052] Embodiment 13 is a data processing device according to Embodiment 12, wherein the first write activation signal control device is configured to generate the first write activation signal itself and to check whether the first write activation signal is supplied to the first memory area from the first write activation signal source.
[0053] Embodiment 14 is a data processing device according to any one of Embodiments 1 to 13, comprising a second write activation signal control device configured to check whether the second write activation signal source supplies the second write activation signal to the first memory area and to output an error signal if the second write activation signal source does not supply the second write activation signal to the second memory area.
[0054] Embodiment 15 is a data processing device according to Embodiment 14, wherein the second write activation signal control device is configured to generate the second write activation signal itself and to check whether the second write activation signal is supplied to the second memory area from the second write activation signal source.
[0055] Embodiment 16 is a data processing apparatus according to any one of Embodiments 1 to 15, wherein the code is a linear code.
[0056] Embodiment 17 is a data processing device according to one of Embodiments 1 to 16, wherein the coding device is configured to divide the data vector into three or more subwords and to supply each subword of the code word to a respective memory area of three or more memory areas, the data processing device has three or more write activation signal sources, wherein each write activation signal source is configured to supply a respective write activation signal to the memory area for storing the respective subword in a respective memory area of the memory areas, the reading device is configured to read the subwords from the memory areas, and the checking device is configured to check whether the read subwords form a valid code word of the code and to output an error signal if the read subwords do not form a valid code word of the code.
[0057] Embodiment 18 is a chip card having a data processing device according to any one of Embodiments 1 to Embodiment 17.
[0058] Embodiment 19 is a method for storing a data vector as described in Fig. 3 is shown.
[0059] It should be noted that each described embodiment can be combined with any other described embodiment.
[0060] Embodiments are described in more detail below.
[0061] Fig. 4 shows memory arrangement 400 according to an embodiment with a division of a register into register areas that are controlled by different CPUs.
[0062] The memory arrangement 400 has four CPUs 401, which correspond, for example, to the processor 104 (ie, four CPUs are provided instead of one processor) and has an 8-bit register 402, which corresponds, for example, to the register 105.
[0063] Each CPU 401 generates the same control signal ctrl, e.g., a set signal or a clock signal for eight flip-flops of register 402, and controls a quarter of register 402, e.g., two flip-flops of register 402. In other words, register 402 is divided into several memory areas, corresponding to memory areas 203 and 205.
[0064] If a data word is to be stored, this data word is encoded (e.g., by one of the CPUs 401) into an 8-bit code word with the binary representation d0 d1 d2 d3 d4 d5 d6 d7, and a bit is supplied to each flip-flop of the register 402. When the register 201 is read, a check is performed (e.g., by a checking device corresponding to the checking device 211, which can also be implemented by a CPU 401) to determine whether the read bits form a code word. If this is not the case, this is interpreted as meaning that the control signal ctrl from at least one CPU 401 was incorrectly supplied to the corresponding quarter (i.e., register area) of the register 402, and an error signal is output.
[0065] Fig. 5 shows a memory arrangement 500 according to an embodiment with a division of a main memory into memory areas that are controlled by different CPUs.
[0066] Similar to the memory array 400, the memory array 500 includes four CPUs 501, corresponding, for example, to the processor 104, and a random access memory (RAM) 502, corresponding, for example, to the random access memory 103, enabling 8 bits to be stored in parallel.
[0067] The main memory 502 is divided into four memory areas 503 (analogous to the memory areas 203 and 205) and each CPU 501 generates the same control signal ctrl and supplies it to one of the memory areas 503 via a respective control path 504 (ie a respective control line).
[0068] If a data word is to be stored, this data word is encoded (e.g., by one of the CPUs 501) into an 8-bit code word with the binary representation d0 d1 d2 d3 d4 d5 d6 d7, and two data bits are fed to a memory area 503 via respective data input paths 505 (i.e., data lines). Each data input path 505 is gated (i.e., ANDed) with the control signal by means of a respective AND gate. In this example, the control signal is accordingly a write-enable signal.
[0069] In the following, with reference to Fig. 6 and Fig. 7 extensions are explained, which are shown for the application to a register, but can also be applied to a main memory (analogous to the application of the procedure from Fig. 4 to a memory, as in Fig. 5 shown).
[0070] Fig. 6 shows a memory arrangement 600 according to a further embodiment with a division of a register into register areas that are controlled by different CPUs.
[0071] The memory arrangement 600 has four CPUs 601, 602, which correspond, for example, to the processor 104, and has an 8-bit register 603, which corresponds, for example, to the register 105 and is divided into two register areas 604 in this example.
[0072] Two CPUs 601, 602 are combined into a pair (CPU0 and CPU1, and CPU2 and CPU3). Each CPU pair is assigned to a register area 604, and the first CPU 601 of each CPU pair generates the control signal ctrl and supplies it to the assigned register pair.
[0073] The control signal is inverted by a respective first inverter 605 and fed to a comparator 606, which also receives the control signal from the second CPU 602 via a respective second inverter 607. If the two inverted versions of the control signal do not match, the comparator 606 outputs an error signal or alarm signal.
[0074] In other words, the second CPU 602 checks the returned control signal and the control signal generated by the second CPU 602 itself for consistency and generates an alarm signal in case of a deviation.
[0075] An attacker must therefore attack at least two pairs of lines (the outgoing and returning control signal lines). Inverting them using inverters 605 and 606 increases protection against laser attacks: If all control signal lines are located directly adjacent to each other somewhere between CPUs 601 and 602 and register 603 (due to automatic routing), a single laser spot can influence all control signal lines simultaneously. By inverting them, however, an attacker must now cause different transitions for the outgoing line and the returning line (e.g., 0->1 for CPU0 and CPU2, 1->0 for CPU1 and CPU3), which is not possible with a simple attack.
[0076] Analogous to that with reference to Fig. In the example described in Figure 4, a code word is stored in the register 604 and when the data word is read from the register, it is checked whether it is a valid code word.
[0077] Fig. 7 shows a memory arrangement 700 according to a further embodiment with a division of a register into register areas that are controlled by different CPUs.
[0078] The memory arrangement 700 has four CPUs 701, 702, which correspond, for example, to the processor 104, and has a 64-bit register 703, which corresponds, for example, to the register 105 and is divided into two 32-bit register areas 704 in this example.
[0079] To store a data word, the data word is encoded into a codeword with a 32-bit data portion (d0..d31), equal to the data word to be stored, and a 32-bit redundancy portion (r0..r31). The code used is thus a [64,32,D] code (where D is the Hamming distance of the code).
[0080] Analogous to the example of Fig.6, each register area 704 is controlled by a CPU pair. In this example, however, no return channel is provided for the control signal to the second CPU 702 of the pair, and inversion is also omitted.
[0081] Instead, all CPUs 701, 702 supply the same control signal to the register 703, and for each register area 704, a comparator 705 is provided which compares the state of the control signal line coming from the first CPU 701 with the state of the control signal line coming from the second CPU 702 and outputs an alarm signal in case of a deviation.
[0082] By dividing register 703 into more than two register areas, it can be ensured that error patterns in the code word that arise due to the failure of a CPU pair (i.e., incorrect writing to a register area) are always detected. For this purpose, permutations 706 can be applied to the bits of the code word to be stored. The task of permutations 706 is to sort the bits of a code word in such a way that errors in one of the register areas cannot generate a correct code word. Permutations 706 are run through when register 703 is written, and are inverted accordingly when read. Permutations 706 are selected depending on the specific matrix used to check the read data word. As in the examples above, a read data word is checked to see whether it is a valid code word and, if this is not the case, an alarm signal is output.
[0083] Although the invention has been particularly shown and described with reference to specific embodiments, it should be understood by those skilled in the art that numerous changes in design and detail may be made therein without departing from the spirit and scope of the invention as defined by the following claims. The scope of the invention is therefore determined by the appended claims, and it is intended to embrace all changes that come within the letter or range of equivalence of the claims.
Claims
[1] Data processing device (200) comprising: a coding device (201) configured to encode a data vector into a code word of a code, to divide the code word generated by encoding the data vector into at least a first subword (202) and a second subword (204), to supply the first subword (202) of the code word to a first memory area (203) and to supply the second subword (204) of the code word to a second memory area (205); a first write activation signal source (206) configured to supply a first write activation signal (207) to the first memory area (203) for storing the first partial word (202) in the first memory area (203); a second write activation signal source (208) which is different from the first write activation signal source (206) and is configured to supply a second write activation signal (209) to the second memory area (205) for storing the second partial word (204) in the second memory area (205); a read-out device configured to read the first partial word (202) from the first memory area (203) and to read the second partial word (204) from the second memory area (205); and a checking device configured to combine the first read-out partial word and the second read-out partial word into a data word according to the division of the generated code word, to check whether the data word is a valid code word of the code, and to output an error signal if the data word does not form a valid code word of the code. [2] Data processing device (200) according to claim 1, comprising a memory having the first memory area (203) and the second memory area (205), wherein the first memory area (203) is configured to store a data word supplied to the first memory area (203) in response to the first write activation signal (207) and wherein the second memory area (205) is configured to store a data word supplied to the second memory area (205) in response to the second write activation signal (209). [3] Data processing device (200) according to claim 2, wherein the memory is a register or a random access memory. [4] The data processing device (200) according to any one of claims 1 to 3, wherein the first write enable signal (207) and the second write enable signal (209) are a clock signal or a write enable signal. [5] The data processing device (200) according to any one of claims 1 to 4, wherein the first write enable signal (207) and the second write enable signal (209) are the same signal. [6] The data processing device (200) according to any one of claims 1 to 4, wherein the first write enable signal (207) and the second write enable signal (209) are different signals. [7] Data processing device (200) according to one of claims 1 to 6, wherein the first memory area (203) comprises a plurality of first memory elements, each first memory element being configured to store a data bit supplied to the memory element in response to the first write activation signal (207), and wherein the second memory area (205) comprises a plurality of second memory elements, each second memory element being configured to store a data bit supplied to the memory element in response to the second write activation signal (209). [8] The data processing device (200) according to claim 7, wherein the first write activation signal source is configured to supply the first write activation signal (207) to the first memory elements, and wherein the second write activation signal source is configured to supply the second write activation signal (209) to the second memory elements. [9] The data processing device (200) according to any one of claims 1 to 8, wherein the first write enable signal source (206) is a first CPU and the second write enable signal source (208) is a second CPU. [10] Data processing device (200) according to one of claims 1 to 9, comprising a first write activation signal control device which is arranged to check whether the first write activation signal source (206) supplies the first write activation signal (207) to the first memory area (203) and to output an error signal if the first write activation signal source (206) does not supply the first write activation signal (207) to the first memory area (203). [11] Data processing device (200) according to claim 10, wherein the first write activation signal control device is arranged to generate the first write activation signal (207) itself and to check whether the first write activation signal (207) is supplied to the first memory area (203) from the first write activation signal source (206). [12] Data processing device (200) according to one of claims 1 to 11, comprising a second write activation signal control device which is arranged to check whether the second write activation signal source (208) supplies the second write activation signal (209) to the second memory area (205) and to output an error signal if the second write activation signal source (208) does not supply the second write activation signal (209) to the second memory area (205). [13] Data processing device (200) according to claim 12, wherein the second write activation signal control device is arranged to generate the second write activation signal (209) itself and to check whether the second write activation signal (209) is supplied to the second memory area (205) from the second write activation signal source (208). [14] Data processing device (200) according to one of claims 1 to 13, wherein the code is a linear code. [15] Data processing device (200) according to one of claims 1 to 14, wherein the coding device (201) is configured to divide the data vector into three or more subwords and to supply each subword of the code word to a respective memory area of three or more memory areas, the data processing device has three or more write activation signal sources, wherein each write activation signal source is configured to supply a respective write activation signal to the memory area for storing the respective subword in a respective memory area of the memory areas, the reading device is configured to read the subwords from the memory areas and the checking device is configured to check whether the read subwords form a valid code word of the code and to output an error signal if the read subwords do not form a valid code word of the code. [16] Chip card with a data processing device (200) according to one of claims 1 to 15. [17] A method for storing a data vector comprising: Encoding a data vector into a codeword of a code (301); Dividing the generated codeword into at least a first subword and a second subword; Supplying a first subword of the codeword to a first memory area (302); Supplying a second subword of the codeword to a second memory area (303); Supplying a first write enable signal from a first write enable signal source to the first memory area for storing the first partial word in the first memory area (304); Supplying a second write activation signal from a second write activation signal source, which is different from the first write activation signal source, to the second memory area for storing the second partial word in the second memory area (305); reading the first partial word from the first memory area and the second partial word from the second memory area (306); Combining the first read-out partial word and the second read-out partial word according to the division of the generated code word into a data word; Check whether the data word forms a valid code word of the code; and Output an error signal if the data word does not form a valid code word of the code.
Citation Information
Patent Citations
Device and method for processing data
DE102013205542A1
protection of chips against attacks
DE10360998B4
