DMA Module Aligning Unaligned Data for Cryptography

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Cryptography systems in storage devices face challenges in processing unaligned data, as they typically operate on fixed-size blocks assuming aligned data, while input data often has arbitrary offsets due to variable-length headers, leading to inefficiencies and hardware complexity increases when trying to align data for cryptographic operations.

Innovation Solution

The implementation of Direct Memory Access (DMA) modules that align unaligned input data to match cryptography block sizes, allowing cryptographic operations to be performed efficiently without requiring significant hardware changes, using DMA modules to copy data within the same memory buffer and manage offsets, and utilizing multiple cryptography cores in a pipeline architecture.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data alignment operations are implemented to handle unaligned input data, then cryptographic operations can be performed correctly, but device complexity increases

Engineering Contradiction:
Improvecorrectness of cryptographic operationVSAvoidhardware complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

A DMA module is introduced as an intermediary component between the unaligned data source and the cryptography module. The DMA module performs alignment operations by copying data from unaligned source addresses to aligned destination addresses in a buffer, enabling the cryptography module to receive properly aligned data without requiring the cryptography module itself to handle alignment complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The data processing function is segmented into distinct components: the DMA module handles data alignment and buffering, while the cryptography module handles cryptographic operations. This segmentation allows each module to be optimized for its specific function, with the DMA module managing alignment complexity separately from the cryptography module

Inventive Principle:
Principle #1Segmentation

2Manufacturing precision

If data alignment is performed for cryptographic operations, then processing accuracy is improved, but processing time increases

Engineering Contradiction:
Improvedata alignment accuracyVSAvoidprocessing latency
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The DMA module performs alignment operations in advance before data is passed to the cryptography module. By pre-aligning data in the buffer and managing offset corrections beforehand, the cryptography module receives ready-to-process aligned data, reducing overall processing latency

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The DMA module operates continuously to maintain aligned data in the buffer, ensuring that the cryptography module can continuously process data without interruption. The pipeline architecture with multiple cryptography cores allows overlapping of alignment and cryptographic processing operations

Inventive Principle:
Principle #20Continuity of useful action

3Adaptability or versatility

If hardware alignment mechanisms are added to handle unaligned data, then data processing capability is improved, but power consumption increases

Engineering Contradiction:
Improveability to handle unaligned dataVSAvoidpower consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The DMA module serves as an intermediary that handles alignment operations using dedicated hardware circuits optimized for memory access and data copying. This separates the power-intensive alignment operations from the cryptography module, allowing the cryptography module to focus solely on cryptographic processing

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

Software-based alignment operations are replaced with hardware-based DMA alignment circuits. The DMA module uses dedicated alignment logic and buffer management to perform alignment operations in hardware, which is more energy-efficient than software implementation

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS8918650B2Secure data processing for unaligned data
Publication Date: 2014.12.23 SANDISK ISRAEL LTD
  • US8918650B2 patent drawing
  • US8918650B2 patent drawing
  • US8918650B2 patent drawing

AI summary

A method for data cryptography includes accepting input data, which contains a section that is to undergo a cryptographic operation and starts at an offset with respect to a beginning of the input data, by a Direct Memory Access (DMA) module. The input data is aligned by the DMA module to cancel out the offset. The aligned input data is read out of the DMA module, and the cryptographic operation is performed on the section.