Cryptographic Accelerator Message Assembly

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cryptographic systems require multiple data transfers and complex DMA configurations to assemble secure messages, increasing CPU load and system resource consumption during cryptographic operations.

Innovation Solution

A cryptographic accelerator with an input buffer, cryptographic engine, and output buffer that generates cipher text and MAC, and determines a configuration for assembling a secure message in the output buffer, allowing for direct and flexible transfer of message parts to a communication component without scatter-gather DMA complexity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If multiple data transfers and complex DMA configurations are used to assemble secure messages, then message assembly can be completed, but CPU load and system resource consumption increase

Engineering Contradiction:
Improvemessage assembly capabilityVSAvoidDMA configuration complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent combines the message assembly function with the cryptographic engine by providing an output buffer that automatically assembles the authenticated encryption output (cipher text and MAC) into a complete secure message. This merging eliminates the need for separate DMA scatter-gather operations to copy data between different buffers, thereby reducing DMA configuration complexity while maintaining full message assembly capability

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The cryptographic engine is designed to perform multiple functions: it both encrypts the plain text and assembles the final secure message in its output buffer. This multi-functionality allows the same hardware component to handle both cryptographic processing and message assembly, reducing the need for additional DMA configurations and lowering overall system complexity

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Reliability

If multiple data transfers are used to assemble secure messages, then complete messages can be generated, but the number of data transfers and CPU load increase

Engineering Contradiction:
Improvemessage completenessVSAvoiddata transfer efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The output buffer of the cryptographic engine is designed to hold both the cipher text and MAC together as a complete assembled message. This merging ensures message completeness is achieved within a single buffer, eliminating the need for multiple data transfers to concatenate message parts, thereby improving data transfer efficiency without compromising reliability

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The cryptographic engine performs the message assembly action preliminarily during the cryptographic operation itself, rather than requiring subsequent separate assembly steps. The output buffer is prepared to receive and assemble both cipher text and MAC in the correct format before the operation completes, eliminating the need for follow-up data transfers and reducing CPU load

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If scatter-gather DMA is used to transfer message parts, then flexible message assembly is possible, but DMA complexity increases

Engineering Contradiction:
Improvemessage assembly flexibilityVSAvoidDMA configuration complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent merges the flexibility of scatter-gather DMA with a simpler approach by providing an output buffer that natively supports assembling multiple output types (cipher text and MAC) in a single buffer. This eliminates the need for complex scatter-gather DMA configurations while maintaining the adaptability to handle different authenticated encryption modes and output formats

Inventive Principle:
Principle #5Merging (Combining)

4Ease of manufacture

If separate buffers are used for cipher text and MAC, then data organization is simplified, but additional data transfers are required

Engineering Contradiction:
Improvedata organization simplicityVSAvoiddata transfer time
Core Design Contradiction:
Ease of manufactureVSLoss of time

Solution Approach 1:

The output buffer combines both cipher text and MAC storage capabilities into a single buffer structure, maintaining simple data organization while eliminating the need for separate data transfers. The buffer is designed to hold both data types together in their proper positions, achieving both organizational simplicity and time efficiency

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11626995B2Automatic message assembly during a cryptographic operation
Publication Date: 2023.04.11 INFINEON TECHNOLOGIES AG
  • US11626995B2 patent drawing
  • US11626995B2 patent drawing
  • US11626995B2 patent drawing

AI summary

A cryptographic accelerator may include an input buffer to store an additional authenticated data (AAD) portion of a message and a plain text portion of the message. The cryptographic accelerator may include a cryptographic engine to generate cipher text using the plain text portion of the message, generate a message authentication code (MAC) using the AAD portion and either the plain text portion or the cipher text, determine a configuration for creating an assembled message in an output buffer of the cryptographic accelerator, and provide at least the cipher text to the output buffer to create the assembled message in the output buffer according to the configuration. The cryptographic accelerator may include the output buffer to provide the assembled message.