Hardware Accelerator for SHA-2 Using Reduced Datapaths

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The conventional implementation of Secure Hash Algorithm 2 (SHA-2) in devices requires significant circuit area and power due to the use of full datapaths, limiting its application in resource-constrained devices such as small appliances and wearable computers.

Innovation Solution

A hardware cryptographic accelerator processes SHA-2 operations using reduced datapaths, allowing for SHA-2 operations to be performed efficiently in multiple cycles of each round, thereby reducing circuit area and power consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If full datapaths are used for SHA-2 implementation, then cryptographic security and correctness are maintained, but circuit area and power consumption increase significantly

Engineering Contradiction:
Improvecryptographic securityVSAvoidcircuit area
Core Design Contradiction:
ReliabilityVSArea of stationary object

Solution Approach 1:

The cryptographic hash function is divided into multiple rounds, with each round processing a portion of the data through segmented datapaths. The data is partitioned into chunks that are processed sequentially through smaller datapath units, achieving the same cryptographic result while reducing the area of each individual datapath component.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The datapath width is made dynamic and adaptive, adjusting the datapath size based on the specific cryptographic operation being performed. The system can switch between different datapath configurations (e.g., 32-bit, 64-bit, or reduced widths) depending on the algorithm requirements, allowing area optimization without sacrificing security for operations that don't require full precision simultaneously.

Inventive Principle:
Principle #15Dynamics

2Reliability

If full datapaths are used for SHA-2 implementation, then cryptographic security and correctness are maintained, but power consumption increases significantly

Engineering Contradiction:
Improvecryptographic securityVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by stationary object

Solution Approach 1:

The computation is segmented into multiple rounds and stages, with each stage using a reduced datapath. By processing data in smaller chunks through segmented computational units rather than maintaining a full-width datapath throughout, the power consumption of each active component is reduced while the cumulative security strength is maintained through the multiple processing passes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The cryptographic processing is organized into periodic rounds, where reduced datapaths are activated in sequence rather than simultaneously. Each round processes a portion of the data through the reduced datapath, then deactivates before the next round begins, reducing the instantaneous power consumption while maintaining the overall cryptographic security through the accumulation of multiple processing rounds.

Inventive Principle:
Principle #19Periodic action

3Area of stationary object

If reduced datapaths are used, then circuit area and power consumption are reduced, but processing time increases due to multiple cycles per round

Engineering Contradiction:
Improvecircuit areaVSAvoidprocessing time
Core Design Contradiction:
Area of stationary objectVSLoss of time

Solution Approach 1:

The data is segmented into multiple chunks that can be processed in parallel through the reduced datapath. By dividing the input data into separate blocks that are processed simultaneously in different processing units or pipeline stages, the total processing time is reduced despite using smaller datapaths, as the parallel processing compensates for the additional cycles required per individual data chunk.

Inventive Principle:
Principle #1Segmentation

4Area of stationary object

If reduced datapaths are used, then circuit area and power consumption are reduced, but device complexity increases due to multi-cycle processing control

Engineering Contradiction:
Improvecircuit areaVSAvoidcontrol logic complexity
Core Design Contradiction:
Area of stationary objectVSDevice complexity

Solution Approach 1:

The control logic is designed as a universal state machine that manages multiple datapath configurations and processing modes through a single integrated control unit. This multi-functional controller can adapt to different cryptographic algorithms and datapath widths without requiring separate control circuits for each configuration, reducing the overall device complexity despite the multi-cycle processing requirements.

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

Data Source

PatentUS10020934B2Hardware accelerator for cryptographic hash operations
Publication Date: 2018.07.10 INTEL CORP
  • US10020934B2 patent drawing
  • US10020934B2 patent drawing
  • US10020934B2 patent drawing

AI summary

In an embodiment, a processor includes a hardware accelerator to receive a message to be processed using the cryptographic hash algorithm; store a plurality of digest words in a plurality of digest registers; perform a plurality of rounds of the cryptographic hash algorithm, where the plurality of rounds is divided into first and second sets of rounds; in each cycle of each round in the first set, use W bits from the first digest register for a first function and use N bits from the second digest register for a second function; in each cycle of each round in the second set, use W bits from the second digest register for the first function and use N bits from the first digest register for the second function. Other embodiments are described and claimed.