Interface circuit and method

The coupling and chaining circuit addresses high energy consumption and long processing times in data processing by facilitating parallel data transmission and processing across peripheral circuits, enhancing performance without modifying existing devices.

FR3147400A1Pending Publication Date: 2024-10-04STMICROELECTRONICS INT NV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
FR2023003152
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

Existing data processing operations involving multiple peripheral circuits, such as cryptographic and cyclic redundancy code (CRC) circuits, suffer from high energy consumption and long processing times.

Method used

A coupling and chaining circuit that intercepts and transmits data to multiple peripheral circuits via system and dedicated buses, allowing parallel processing and reducing the need for multiple data transfers.

Benefits of technology

Improves processing time and reduces energy consumption by enabling parallel data processing across peripheral circuits, while maintaining compatibility with existing devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Interface Circuit and Method This description relates to a coupling and chaining circuit configured (114) to receive, via a first bus (116, 122) connected to one of a system bus (110) of an electronic device (100) and a first peripheral circuit (118) of the electronic device, original data and transmit it to a second bus (122, 116) of the electronic device connected to the other of the system bus and the first peripheral circuit. The coupling and chaining circuit is further configured to intercept the original data and transmit a copy of the original data to a third bus (124) of the device connected to a second peripheral circuit (120) of the device. Figure for the abstract: Fig. 1
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Interface circuit and method Technical field

[0001] The present description relates generally to the field of electronic circuits, and in particular to an interface circuit for peripheral circuits. Prior art

[0002] There are data processing operations that involve several peripheral circuits. For example, a cryptographic operation may be accompanied by an operation of generating or checking a cyclic redundancy code (CRC). When data from an electronic device is transmitted to a cryptographic circuit, it may therefore also be transmitted to a circuit for generating and / or checking a redundancy code. The cycle redundancy code is an error checking code making it possible to check whether the data has undergone modifications during its transfer and / or storage.

[0003] A problem with existing implementations of such operations, involving two peripheral circuits, is that they are associated with a relatively long processing time and / or with a relatively high power consumption. Summary of the invention

[0004] One embodiment provides a coupling and chaining circuit configured to receive, via a first bus connected to one of a system bus of an electronic device and a first peripheral circuit of the electronic device, an original data item and transmit it to a second bus of the electronic device connected to the other of the system bus and the first peripheral circuit, the coupling and chaining circuit being further configured to intercept the original data item and transmit a copy of the original data item to a third bus of the device connected to a second peripheral circuit of the device.

[0005] According to one embodiment, the above circuit is further configured to generate an access request for writing the copy of the original data, to the second circuit, on the basis of the reception of the original data.

[0006] According to one embodiment, the first bus is connected to the system bus and the second bus is connected to the first peripheral circuit, the original data being transmitted to the circuit on the basis of a request for access to the first circuit for writing.

[0007] According to one embodiment, the first bus is connected to the first peripheral circuit and the second bus is connected to the system bus, the original data being transmitted to the circuit on the basis of a request for access to the first circuit for reading.

[0008] According to one embodiment, the above circuit comprises a volatile memory, connected to the second peripheral circuit, configured to receive the copy of the transmitted data and provide it to the second peripheral circuit.

[0009] According to one embodiment, the volatile memory is a first-in, first-out type memory.

[0010] One embodiment provides an electronic device comprising: - the coupling and chaining circuit above; - the first and second peripheral circuits; and - the system bus.

[0011] According to one embodiment, the coupling and chaining circuit is a direct memory access circuit.

[0012] According to one embodiment, the second peripheral circuit is a cyclic redundancy circuit configured to calculate an error code on the basis of the data provided by the coupling and chaining circuit.

[0013] According to one embodiment, the first peripheral circuit is a cryptographic circuit.

[0014] According to one embodiment, the cryptographic circuit is configured to generate a runtime error code indicating whether a runtime error occurs.

[0015] According to one embodiment, the coupling and chaining circuit further comprises a volatile memory connected to the second peripheral circuit and configured to receive the copy of the transmitted data and provide it to the second peripheral circuit, the coupling and chaining circuit being further configured to delete the content of the volatile memory on the basis of the execution error code.

[0016] According to one embodiment, the above electronic device further comprises a third peripheral circuit connected to the coupling and chaining circuit via a fourth bus, the coupling and chaining circuit being further configured to transmit a copy of the original data to the fourth bus.

[0017] One embodiment provides a coupling or chaining method comprising: - receiving, by a coupling and chaining circuit and via a first bus connected to one of a system bus of an electronic device and a first peripheral circuit of the electronic device, an original data item; - transmission, by the coupling and chaining circuit and towards a second bus of the electronic device connected to the other of the system bus and the first peripheral circuit; - the interception, by the coupling and chaining circuit, of the original data; and - the transmission, by the coupling and chaining circuit, of a copy of the original data, to a third bus of the device connected to a second peripheral circuit of the device.

[0018] According to one embodiment, a request for access to the second peripheral circuit for writing the copy of the original data is generated by the coupling and chaining circuit based on the reception of the original data.

[0019] According to one embodiment, the coupling and chaining circuit generates the request for access to the second peripheral circuit for writing on the basis of a request for access for writing or reading in the first peripheral circuit. Brief description of the drawings

[0020] These characteristics and advantages, as well as others, will be explained in detail in the following description of particular embodiments given without limitation in relation to the attached figures among which:

[0021] [Fig.l] is a block diagram of an electronic device according to an embodiment of the present description;

[0022] [Fig.2A] is a block diagram illustrating an example of implementation of a coupling operation according to an embodiment of the present description;

[0023] [Fig.2B] is a block diagram illustrating an example of implementation of a chaining operation according to an embodiment of the present description;

[0024] [Fig.3A] illustrates an example of data manipulated by a control circuit during a coupling operation;

[0025] [Fig.3B] illustrates an example of data manipulated by a control circuit during a chaining operation;

[0026] [Fig.4] is a flowchart illustrating steps of a method of coupling and / or chaining between two peripheral circuits;

[0027] [Fig.5A] is a block diagram illustrating another example of implementing a coupling operation according to another embodiment of the present description; and

[0028] [Fig.5B] is a block diagram illustrating another example of implementing a chaining operation according to an embodiment of the present description. Description of the embodiments

[0029] The same elements have been designated by the same references in the different figures. In particular, the structural and / or functional elements common to the different embodiments may have the same references and may have identical structural, dimensional and material properties.

[0030] For the sake of clarity, only the steps and elements useful for understanding the described embodiments have been shown and are detailed. In particular, the calculation of error codes by a cyclic redundancy control circuit as well as the use of the error codes are not described in detail.

[0031] Unless otherwise specified, when referring to two elements connected to each other, this means directly connected without intermediate elements other than conductors, and when we refer to two elements connected (in English "coupled") to each other, this means that these two elements can be connected or be connected by means of one or more other elements.

[0032] In the following description, when reference is made to absolute position qualifiers, such as the terms "front", "back", "top", "bottom", "left", "right", etc., or relative position qualifiers, such as the terms "above", "below", "upper", "lower", etc., or to orientation qualifiers, such as the terms "horizontal", "vertical", etc., reference is made unless otherwise specified to the orientation of the figures.

[0033] Unless otherwise specified, the expressions "about", "approximately", "substantially", and "of the order of" mean to within 10%, preferably to within 5%.

[0034] [Fig.l] is a block diagram of an electronic device 100 comprising an integrated circuit 102 according to an embodiment of the present description.

[0035] The electronic device 100 is, for example, a mobile electronic device, such as a mobile telephone, or an electronic card such as a microcircuit card. For example, the electronic device 100 is a microcircuit card implementing an electronic key controlling the opening and / or closing of a car or other vehicle. In another example, the electronic device 100 is a device controlling home automation devices, etc.

[0036] The circuit 102 comprises for example a processor 104 (CPU) connected to a non-volatile memory 106 (NV MEM) and to a volatile memory 108 (RAM) via a system bus 110. By way of example, the memory 106 is a Flash type memory, and the memory 108 is a volatile memory, for example of the RAM type (from the English "Random Access Memory").

[0037] The circuit 102 further comprises, for example, a direct memory access (DMA) circuit 112 connected to the bus 110.

[0038] According to one embodiment, the circuit 102 further comprises a coupling and chaining bridge circuit 114 (CCB) connected to the bus 110 via a bus 116. In another example, the coupling and chaining circuit 114 is a direct memory access circuit, for example similar to the circuit 112, and in this case, the circuit 112 is for example omitted. The bus 116 is for example an AHB (Advanced High-performance Bus) type bus. In other examples, the bus 116 is an APB (Advanced Peripheral Bus) or AXI (Advanced External Interface) type bus.

[0039] The circuit 102 further comprises, for example, a cryptographic circuit 118 (CRYPT), as well as a cyclic redundancy check circuit 120 (CRC). The circuits 118 and 120 are respectively connected to the coupling and chaining circuit 114 via the buses 122 and 124. For example, the circuits 118 and 120 are not connected directly to the bus 110, but are connected to the bus 110 only by via circuit 114. For example, buses 122 and 124 are AHB type buses. In other examples, buses 122 and 124 are APB or AXI type buses.

[0040] Although circuits 118 and 120 are illustrated as being a cryptographic circuit and a cyclic redundancy check circuit, other types of peripheral circuits may be considered. Thus, generally, coupling and chaining circuit 114 is connected to a first peripheral circuit via bus 122, such as for example a cryptographic circuit, and to a second peripheral circuit via bus 124, such as for example a cyclic redundancy check circuit.

[0041] According to one embodiment, the coupling and chaining circuit 114 is configured to perform a coupling operation. During a coupling operation, the coupling and chaining circuit 114 is configured to receive from the system bus 110, via the bus 116, an original data item and transmit it to the peripheral circuit 118, via the bus 122. The coupling and chaining circuit 114 is further configured to intercept the original data item and transmit a copy of the original data item to the bus 124, connected to the peripheral circuit 120.

[0042] Alternatively or additionally, the coupling and chaining circuit 114 is configured to perform a chaining operation. During a chaining operation, the coupling and chaining circuit 114 is configured to receive from the peripheral circuit 118, via the bus 122, an original data item and transmit it to the system bus 110, via the bus 116. The coupling and chaining circuit 114 is further configured to intercept the original data item and transmit a copy of the original data item to the bus 124, connected to the peripheral circuit 120.

[0043] For example, the circuit 102 comprises other peripheral circuits, in addition to the circuit 118. These other peripheral circuits are for example also each connected to the coupling and chaining circuit 114 via a dedicated bus. For example, the circuit 102 comprises, in addition to the circuits 118 and 120, a peripheral circuit, connected to the coupling and chaining circuit 114, configured to perform hashing operations.

[0044] [Fig.2A] is a block diagram illustrating the implementation of a coupling operation by the coupling and chaining circuit 114.

[0045] By way of example, a piece of data, for example stored in one of the memories 106 or 108, is transmitted to the coupling and chaining circuit 114 via the bus 116 (AHB1). The coupling and chaining circuit 114 then performs a so-called coupling operation by transmitting the data to the cryptographic circuit 118, via the bus 122 (AHB2) and, in parallel, to the cyclic redundancy control circuit 120, via the bus 124 (AHB3). By way of example, the data is a piece of data encrypted and the cryptographic circuit 118 is for example configured to decrypt the data, for example according to AES (Advanced Encryption Standard) encryption, or according to another type of encryption. By way of example, the cyclic redundancy control circuit 120 is configured to calculate a cyclic redundancy code, or other type of error checking code, from the encrypted data in order to make it possible to detect, for example, possible future alterations to the data, for example during a transfer of data to another remote electronic device, or, in another example, during its storage and / or its transfer from the coupling and chaining circuit 114 to the memory 106 or 108. The encrypted data is, for example, also transmitted to the other electronic device in association with the error checking code.For example, the other device is a locking circuit of a car, or a home automation device and the data is authentication data. For example, the other device is configured to decrypt the data and, based on the decryption, perform several operations. For example, the encrypted data is transmitted, by the device 100 to the other device, wirelessly, for example via an antenna of the device (not shown in [Fig. 1]). The encrypted data is for example transmitted in association with the error checking code, calculated by the cyclic redundancy check circuit 120. For example, the other device also comprises a cyclic redundancy check circuit configured to calculate an error checking code, based on the received encrypted data.The other device is then, for example, configured to compare the two error-checking codes and thus detect any alteration of the received encrypted data.

[0046] In another example, the data transmitted to the cryptographic circuit 118, as well as to the cyclic redundancy check circuit 120 following the coupling operation, is unencrypted data and the cyclic redundancy check circuit 120 is configured to calculate an error checking code based on the unencrypted data.

[0047] According to one embodiment, the coupling operation is performed following the sending, for example by the processor 104 or by the direct memory access circuit 112, of a single write access command. For example, the write access command concerns the writing of the data in a register of the cryptographic device 118, the coupling and chaining circuit 114 is then configured to generate another write access request in a register of the cyclic redundancy control circuit 120.

[0048] [Fig.2B] is a block diagram illustrating the implementation of a chaining operation by the coupling and chaining circuit 114.

[0049] For example, following the decryption of data encrypted by the crypto circuit graphic 118, the data is transmitted to the coupling and chaining circuit 114 via the bus 122. The coupling and chaining circuit 114 then performs a so-called chaining operation by transmitting the data to the system bus 110, via the bus 116 and, in parallel to the cyclic redundancy control circuit 120, via the bus 124. By way of example, the cyclic redundancy control circuit 120 is for example configured to calculate a cyclic redundancy code, or other error checking code, from the decrypted data in order to, for example, detect possible alterations to the data, for example during its decryption by the cryptographic circuit 118.

[0050] In another example, the cryptographic circuit 118 is configured to encrypt a piece of data and transmit the encrypted data to the coupling and chaining circuit 114, via the bus 122. The chaining operation then consists of transmitting the encrypted data to the system bus 110, via the bus 116, as well as a cyclic redundancy control circuit 120, via the bus 124. The error checking code is then calculated, by the circuit 120, on the basis of the encrypted data.

[0051] According to one embodiment, the chaining operation is performed following the sending, for example by the processor 104 or by the direct memory access circuit 112, of a single read access command. For example, the coupling and chaining circuit 114 is then configured to generate an access request for writing in a register of the cyclic redundancy control circuit 120.

[0052] In the example where other peripheral circuits, in addition to circuits 118 and 120, are connected to the coupling and chaining circuit 114, the circuit 114 is for example configured to generate, in response to a write or read access request passing over the bus 116, read or write access requests on buses connecting the other peripheral circuit(s) to the coupling and chaining circuit 114. These read or write access requests are for example transmitted to the buses connecting the other circuits at the same time as the one transmitted over the bus 124.

[0053] By way of example, in addition to the circuits 118 and the cyclic redundancy control circuit 120, a circuit configured to perform hashing operations is further connected to the coupling and chaining circuit 114 via a dedicated bus. In this case, the coupling and chaining circuit 114 is for example configured to intercept data provided by the circuit 118 or by the bus 116, and transmit a copy of this data not only to the circuit 120, but also to this other peripheral circuit, with for example a write access request. Thus, a hash value is generated, in addition to the error checking code calculated by the circuit 120, on the basis of the data transmitted to, or by, the circuit 118.

[0054] [Fig.3A] illustrates an example of data manipulated by the coupling and chaining circuit 114 during a coupling operation.

[0055] For example, the coupling and chaining circuit 114 comprises a volatile memory 300 (FIFO) connected to the bus 124. The memory 300 is for example a first-in-first-out (FIFO) type memory configured to store data in order of reception. For example, a read access request in the memory 300 returns the oldest data stored in the memory 300. For example, each time a data item from the memory 300 is sent to the bus 124, the data item is deleted from the memory 300. Although, in this example, the memory 300 is described as being a FIFO memory, other types of volatile memory can of course be used.

[0056] For example, the processor 104, or the direct memory access circuit 112, sends an access request for writing a data item CRYP1 in the cryptographic circuit 118. For example, the bus 116 comprises a data bus S_WDATA configured to transmit the data to be written to the coupling and chaining circuit 114. For example, the coupling and chaining circuit 114 is configured to transmit the value of the data item CRYPT1 to the cryptographic circuit 118, via a bus M2_HWDATA of the bus 122. For example, the data item CRYP1 is written in a register 302 (DINR) of the cryptographic circuit 118.

[0057] By way of example, the coupling and chaining circuit 114 is further configured to generate a new access request for writing. By way of example, the coupling and chaining circuit 114 transmits to the memory 300, the value of the data CRYP1 via an internal bus HWDATA.

[0058] For example, circuits 118 and 120 do not have the same calculation speed. Memory 300 then acts as a buffer memory to allow circuit 120 to perform calculations at its own pace. For example, memory 300 is configured to store 8 32-bit words. For example, a read access request is transmitted by cyclic redundancy calculation circuit 120, via a bus M3_HRDATA of bus 124, to memory 300. The value of data CRYP1 is for example then written into a register 304 (DR) of cyclic redundancy control circuit 120, via a data bus M3_HWDATA of bus 124.

[0059] For example, the coupling and chaining circuit 114 returns an execution error code, for example generated by the cryptographic circuit 118, to the direct memory access circuit 112 or to the processor 104, via a bus S_HRESP. For example, the cryptographic circuit 118 is configured to return an execution error code when a problem occurs during encryption or decryption. For example, if an encryption or decryption key is incorrect and prevents, for example, the cryptographic circuit from encrypting or decrypting data, the circuit 118 returns an execution error code. For example, the cryptographic circuit graph 118 returns a runtime error code when, for some reason, it is unable to generate output.

[0060] According to one embodiment, in the case where the cryptographic circuit signals an error via an execution error code, the data values ​​included in the memory 300 are deleted. For example, the execution error code is transmitted to the memory 300 via an OPCODE bus.

[0061] [Fig.3B] illustrates an example of data manipulated by the coupling and chaining circuit 114 during a chaining operation.

[0062] For example, the processor 104, or the direct memory access circuit 112, sends an access request for reading an output data item from the cryptographic circuit 118, for example stored in a register 306 (DOUTR). For example, the bus 120 comprises a data bus M2_HRDATA configured to transmit the data item to the coupling and chaining circuit 114 then to a bus S_HRDATA of the bus 116. For example, the coupling and chaining circuit 114 is configured to transmit the value of the data item provided by the cryptographic circuit 118 to the memory 300, via a bus HWDATA. For example, the data item is then provided to the cyclic redundancy control circuit 120, more particularly to the register 304, via the bus M3_HWDATA.

[0063] For example, as for the coupling operation, the coupling and chaining circuit 114 returns an execution error code, provided by the cryptographic circuit 118, for example to the direct memory access circuit 112 or to the processor 104, via the S_HRESP bus. For example, if the execution error code indicates an error, the data values ​​included in the memory 300 are deleted.

[0064] By way of example, the coupling and chaining circuit 114 further comprises a register (not illustrated in FIGS. 3A and 3B). The register comprises, for example, a configuration value, programmable by the processor 104. By way of example, the configuration value is a value on one or more bits. By way of example, the configuration value is a value on one bit and programming to the binary value “1” indicates to the coupling and chaining circuit 114 that the operation to follow is a coupling operation. Programming to the binary value “0” indicates, for example, to the coupling and chaining circuit 114 that the operation to follow is a chaining operation. This example is of course not limiting; programming to the binary value “1” may indicate a chaining operation and programming to the value “0” may indicate a coupling operation. In other examples, the configuration value is coded on at least two bits.

[0065] [Fig.4] is a flowchart illustrating steps of a method of coupling and / or chaining between two peripheral circuits, such as the cryptographic circuit 118 and the cyclic redundancy control circuit 120.

[0066] In a step 400 (IP CONFIGURATION), the two circuits 118 and 120 are configured. For example, the configuration of the circuit 118 includes the indication of a type of chaining associated for example with the cryptographic algorithm used. In the example where the cryptographic algorithm used is AES, the chaining corresponds for example to one of the following algorithms: AES-ECB (from the English “Electronic Codebook”), AES-CBC (from the English “Cipher Block Chaining”), AES-CCM (from the English “Counter with Cipher block chaining Message authentication code”), AES-GCM (from the English “Galois / Counter Mode”) etc. For example, the configuration of the circuit 118 includes the indication of a key size used by the cryptographic algorithm, for example 128, 256 in the case of AES, and for example 128, 256 or 512 bits for other algorithms.For example, the configuration of the circuit 120 includes the indication of a type of polygons used in the cyclic redundancy calculation implemented by the circuit 120. For example, the configuration of the circuit 120 further includes the indication of the size of the error checking codes, for example the error checking codes are coded on 32, 16 or 8 bits.

[0067] In a step 401 (CCB CONFIGURATION), the processor 104 programs, for example, the configuration value, stored in the register of the coupling and chaining circuit 114. The programming of the configuration value makes it possible, for example, to indicate to the coupling and chaining circuit 114 whether the next operation to be executed is a coupling operation or a chaining operation. For example, the programming of the configuration value is carried out on the basis of the type of access request transmitted, via the bus 116, by the processor 104 or by the memory access control circuit 112. For example, if the access request is a write request, the configuration value is programmed in the state indicating a coupling operation and if the access request is a read request, the configuration value is programmed in the state indicating a chaining operation.

[0068] In a step 402 (DMA CHANNELS CONFIGURATION) channels of the direct memory access circuit 112 are, for example, configured. For example, a first channel is configured to, in the event of coupling, transfer the data to be encrypted from the memory 106 or 108 to the register 302. For example, a second channel is configured to, in the event of chaining, transfer the data included in the register 306 to the memory 106 or 108.

[0069] In a step 403 (DMA TRANSFER), subsequent to step 402, the transfer requests by the direct memory access circuit 112 are for example executed. For example, the access requests for writing, or for reading, are transmitted to the coupling and chaining circuit 114. In the case of coupling, data is written in the register 302, and the same data value is, in parallel, written in the memory 300, or in the register 304. In the case of chaining, the data value stored in the register 306 is for example transmitted to the bus 110. The data is for example, in parallel, intercepted by the coupling and chaining circuit 114 and transmitted to the memory 300 or to the register 304. The cyclic redundancy calculation circuit 120 then calculates for example an error code, on the basis of the data.

[0070] In a step 404 (CRC RESULT) the error checking code calculated by the cyclic redundancy check circuit 120 is for example transmitted to the bus 110, via the coupling and chaining circuit 114 and via the bus 116. By way of example, the error checking code allows the processor 104 to determine whether the data value transmitted to the coupling and chaining circuit 118 includes erroneous bits.

[0071] Figures 5A and 5B are block diagrams illustrating another example of implementing a coupling operation and a chaining operation according to another embodiment of the present description.

[0072] In the example illustrated by FIGS. 5A and 5B, the coupling and chaining circuit 114 is implemented by a direct memory access circuit 500 (DMA). For example, the circuit 500 comprises a channel 502 (CHANNEL1) and a channel 504 (CHANNEL2). The channel 502 is for example configured to connect the bus 122 to a bus 506, itself connected to the bus 110. For example, the channel 502 is used to perform cryptographic operations without involving the cyclic redundancy control circuit 120.

[0073] Channel 504 is for example connected to circuit 118 via bus 122 and to circuit 120 via bus 124. Channel 504 is further connected to system bus 110 via bus 116.

[0074] The channel 504 is for example configured to implement a coupling or chaining operation, as described in relation to FIGS. 2A and 2B.

[0075] An advantage of the described embodiments, comprising the combination, at the system level, of the peripheral circuits with a chaining or coupling circuit, is that they make it possible to improve performance in terms of processing time and / or to provide new functionalities without modifying the existing peripherals. The peripheral circuits, such as for example a cryptographic circuit and a cyclic redundancy control circuit, or any other peripheral circuits, have the possibility of being used separately or in combination depending on the mode of use of the coupling and chaining circuit.

[0076] Another advantage of the described embodiments is that they allow the processing of a data value to be carried out by two peripheral circuits in parallel. The use of the coupling and chaining circuit makes it possible to reduce the surface area of ​​the circuit. In addition, when performing a coupling operation, according to the embodiments of the present description, the data is transmitted in parallel to the cryptographic circuit and to the cyclic redundancy control circuit. Similarly, a chaining operation, according to the embodiments of the present description, requires only a single data transfer request from the processor 104 or the direct memory access circuit 112. Thus, the embodiments described make it possible to improve the performance, and in terms of processing time, of the device and reduce its energy consumption.

[0077] Various embodiments and variations have been described. Those skilled in the art will understand that certain features of these various embodiments and variations could be combined, and other variations will occur to those skilled in the art.

[0078] Finally, the practical implementation of the embodiments and variants described is within the reach of those skilled in the art from the functional indications given above. In particular, the peripheral circuits may be circuits other than a cryptographic circuit and a cyclic redundancy control circuit. Similarly, the type of bus implementing the buses 116, 122 and 124 as well as the bus protocol associated with them may vary.

Claims

Claims

1. A coupling and chaining circuit configured (114) to receive, via a first bus (116, 122) connected to one of a system bus (110) of an electronic device (100) and a first peripheral circuit (118) of the electronic device, an original data item and transmit it to a second bus (122, 116) of the electronic device connected to the other of the system bus and the first peripheral circuit, the coupling and chaining circuit being further configured to intercept the original data item and transmit a copy of the original data item to a third bus (124) of the device connected to a second peripheral circuit (120) of the device.

2. The circuit of claim 1 further configured to generate an access request for writing the copy of the original data, to the second circuit (120), based on the reception of the original data.

3. A circuit according to claim 1 or 2, wherein the first bus (116) is connected to the system bus (110) and the second bus (122) is connected to the first peripheral circuit (118), the original data being transmitted to the circuit (114) on the basis of a request to access the first circuit for writing.

4. A circuit according to claim 1 or 2, wherein the first bus (122) is connected to the first peripheral circuit (118) and the second bus (116) is connected to the system bus (110), the original data being transmitted to the circuit (114) on the basis of a request to access the first circuit (118) for reading.

5. Circuit according to any one of claims 1 to 4, comprising a volatile memory (300), connected to the second peripheral circuit (120), configured to receive the copy of the transmitted data and provide it to the second peripheral circuit.

6. The circuit of claim 5, wherein the volatile memory (300) is a first-in-first-out type memory.

7. Electronic device comprising: - the coupling and chaining circuit (114) according to any one of claims 1 to 6; - the first and second peripheral circuits (118, 120); and - the system bus (110).

8. An electronic device according to claim 7, wherein the circuit of coupling and chaining (114) is a direct memory access circuit (500).

9. Electronic device according to claim 7 or 8 wherein the second peripheral circuit (120) is a cyclic redundancy circuit configured to calculate an error code on the basis of the data provided by the coupling and chaining circuit (114).

10. An electronic device according to any one of claims 7 to 9, wherein the first peripheral circuit (118) is a cryptographic circuit.

11. The electronic device of claim 10, wherein the cryptographic circuit (118) is configured to generate a runtime error code indicating whether a runtime error occurs.

12. An electronic device according to claim 11, wherein the coupling and chaining circuit (114) further comprises a volatile memory (300) connected to the second peripheral circuit (120) and configured to receive the copy of the transmitted data and provide it to the second peripheral circuit, the coupling and chaining circuit being further configured to delete the contents of the volatile memory based on the execution error code.

13. An electronic device according to any one of claims 7 to 12, further comprising a third peripheral circuit connected to the coupling and chaining circuit (114) via a fourth bus, the coupling and chaining circuit being further configured to transmit a copy of the original data to the fourth bus.

14. A coupling or chaining method comprising: - receiving, by a coupling and chaining circuit (114) and via a first bus (116, 122) connected to one of a system bus (110) of an electronic device (100) and a first peripheral circuit (118) of the electronic device, an original data item; - transmitting, by the coupling and chaining circuit and to a second bus (122, 116) of the electronic device connected to the other of the system bus and the first peripheral circuit; - intercepting, by the coupling and chaining circuit, the original data item; and - transmitting, by the coupling and chaining circuit, a copy of the original data item, to a third bus (124) of the device connected to a second peripheral circuit (120) of the device.

15. The method of claim 14, wherein a request for access to the second peripheral circuit (120) for writing the copy of the original data is generated by the coupling and chaining circuit (114) based on the reception of the original data.

16. The method of claim 15, wherein the coupling and chaining circuit (114) generates the request to access the second peripheral circuit (120) for writing based on a request to access the first peripheral circuit (118) for writing or reading.

Citation Information

Patent Citations

  • Two Parallel Engines for High Speed Transmit IPSEC Processing

    US20100071055A1

  • Error resilient cryptographic units and methods

    US20200403779A1