# US 2026/0088975 A1 · Providing secure trace message communications using symmetric encryption and authentication

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0088975 A1
- Document ID: US20260088975A1
- Status: Published application
- Kind: A1
- Application number: 19/407,381
- Filed: 2025-12-03
- Published: 2026-03-26
- Earliest claimed: 2023-09-01
- Assignees: Infineon Technologies AG
- Applicants: Infineon Technologies AG
- Inventors: Alexander Zeh; Gasper Skvarc Bozic
- Web page: https://patentgrep.com/patent/US20260088975A1

## CPC

- H04L 9/0819: {Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) (network architectures or network communication protocols for key distribution in a packet data network H04L63/062)}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/0863: {involving passwords or one-time passwords (network architectures or network communication protocols for using one-time keys in a packet data network H04L63/067)}
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The described techniques address issues associated with current implementations of debugging and tracing tools, which transmit trace data from tracing processes in an unencrypted form. The techniques include providing a secure means by which to convey the trace data instances outside of a monitored system utilizing an encryption scheme that leverages a number used only once (nonce) value for the encryption of the trace data instances. Advantageously, a time stamp value identified with one or more of the trace messages may be used to generate the nonce value to facilitate the encryption of the trace data instances.

## Claims

### Claim 1

A microcontroller, comprising:
debug circuitry configured to receive trace data instances associated with respective functions executed by the microcontroller and to generate trace messages, each one of the trace messages comprising a trace data instance and being identified with a respective time stamp value;
cryptographic circuitry configured to perform authenticated encryption of the trace data instances in accordance with a symmetric encryption and authentication function that utilizes a secret key and a number used only once (nonce) value to generate encrypted trace data and additional authentication data (AAD) that comprises a time stamp value,
wherein the cryptographic circuitry performs the symmetric encryption and authentication function by generating, for one or more of the trace messages containing one or more trace data instances to be encrypted, a respective nonce value based on the time stamp value; and
a data interface configured to provide the encrypted trace data to an external device,
wherein the AAD facilitates the external device to reconstruct the respective nonce value from the time stamp value included in the AAD to decrypt the encrypted trace data.

### Claim 2 (depends on 1)

The microcontroller of claim 1, further comprising:
a trace data buffer configured to store the encrypted trace data,
wherein the data interface is configured to provide the encrypted trace data to the external device by reading the encrypted trace data from the trace data buffer.

### Claim 3 (depends on 1)

The microcontroller of claim 1, further comprising:
a trace data buffer configured to store the trace messages as unencrypted trace data,
wherein the cryptographic circuitry is configured to perform the authenticated encryption of the trace data instances of the stored unencrypted trace data to generate the encrypted trace data.

### Claim 4 (depends on 1)

The microcontroller of claim 1, further comprising:
a message parser configured to parse the trace messages and to provide the parsed trace messages to the cryptographic circuitry to perform the authenticated encryption of the trace data instances.

### Claim 5 (depends on 3)

The microcontroller of claim 3, wherein the cryptographic circuitry is configured to perform the authenticated encryption of one or more of the trace data instances upon being read from the trace data buffer.

### Claim 6 (depends on 1)

The microcontroller of claim 1, wherein:
the secret key is from among a plurality of secret keys,
the debug circuitry is configured to receive the trace data instances from a plurality of trace sources identified with the microcontroller,
each one of the plurality of secret keys corresponds to a respective one of the plurality of trace sources, and
the cryptographic circuitry is configured to perform the symmetric encryption and authentication function in accordance with one of the plurality of secret keys that corresponds to a respective one of the plurality of trace sources.

### Claim 7 (depends on 1)

The microcontroller of claim 1, wherein the cryptographic circuitry is configured to generate, for one or more of the trace messages, the respective nonce value by concatenating a predetermined number of bits of the time stamp value with a further predetermined number of bits having a predefined value.

### Claim 8 (depends on 7)

The microcontroller of claim 7, wherein the symmetric encryption and authentication function is performed in accordance with a Galois/Counter Mode (AES-GCM) mode of operation, and
wherein the concatenated length of the predetermined number of bits of the time stamp value and the further predetermined number of bits having the predefined value matches a nonce value bit length used in accordance with the AES-GCM mode of operation.

### Claim 9 (depends on 1)

The microcontroller of claim 1, wherein two or more of the trace messages share a common time stamp value, and
wherein the cryptographic circuitry is configured to concatenate one or more of the trace data instances included in the two or more of the trace messages, and to perform the authenticated encryption of the concatenated trace data instances in accordance with the symmetric encryption and authentication function by generating the respective nonce value based upon the common time stamp value.

### Claim 10 (depends on 1)

The microcontroller of claim 1, wherein one or more of the trace messages contain a core identifier value corresponding to a trace source associated with one or more contained trace data instances, and
wherein the AAD further comprises the core identifier value.

### Claim 11

A method, comprising:
receiving trace data instances associated with respective functions executed by a microcontroller;
generating trace messages, each one of the trace messages comprising a trace data instance and being identified with a respective time stamp value;
performing authenticated encryption of the trace data instances in accordance with a symmetric encryption and authentication function that utilizes a secret key and a number used only once (nonce) value to generate encrypted trace data,
wherein the symmetric encryption and authentication function comprises generating, for one or more of the trace messages containing one or more trace data instances to be encrypted, a respective nonce value using a predetermined number of bits of a time stamp value corresponding to the one or more trace messages; and
providing the encrypted trace data to an external device.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
storing the encrypted trace data in a trace data buffer; and
providing the encrypted trace data to the external device by reading the encrypted trace data from the trace data buffer.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
storing the trace messages as unencrypted trace data in a trace data buffer; and
performing the authenticated encryption of the trace data instances from the stored unencrypted trace data to generate the encrypted trace data.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
parsing, via a message parser, the trace messages and providing the parsed trace messages for performing the authenticated encryption of the trace data instances.

### Claim 15 (depends on 13)

The method of claim 13, wherein performing the authenticated encryption of the trace data instances to generate the encrypted trace data comprises encrypting the trace data instances upon being read from the trace data buffer.

### Claim 16 (depends on 11)

The method of claim 11, wherein the secret key is from among a plurality of secret keys, and further comprising:
receiving the trace data instances from a plurality of trace sources, each one of the plurality of secret keys corresponding to a respective one of the plurality of trace sources, and
performing the symmetric encryption and authentication function in accordance with one of the plurality of secret keys that corresponds to a respective one of the plurality of trace sources.

### Claim 17 (depends on 11)

The method of claim 11, further comprising:
generating, for the one or more of the trace messages, the respective nonce value by concatenating a predetermined number of bits of the time stamp value with a further predetermined number of bits having a predefined value.

### Claim 18 (depends on 17)

The method of claim 17, wherein the symmetric encryption and authentication function is performed in accordance with a Galois/Counter Mode (AES-GCM) mode of operation, and
wherein the concatenated length of the predetermined number of bits of the time stamp value and the further predetermined number of bits having the predefined value matches a nonce value bit length used in accordance with the AES-GCM mode of operation.

### Claim 19 (depends on 11)

The method of claim 11, wherein the performing the authenticated encryption of the trace data instances in accordance with a symmetric encryption and authentication function further uses additional authentication data (AAD) that comprises the time stamp value, and
wherein the AAD facilitates the external device reconstructing the respective nonce value from the time stamp value included in the AAD to decrypt the encrypted trace data.

### Claim 20 (depends on 19)

The method of claim 19, wherein the AAD further comprises a core identifier value corresponding to a trace source associated with one or more of the trace data instances.
