Pipelined AES-GCM Engine for High-Throughput TLS Encryption

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Cloud computing environments face challenges in achieving high-throughput AES-GCM encryption/decryption with millions of different secret keys while maintaining confidentiality and integrity, especially under the threat of quantum attacks, due to latency overhead from pre-computing authentication keys and fixed input block sizes.

Innovation Solution

A pipelined architecture for a post-quantum AES-GCM engine that computes authentication keys on the fly for every input data-block, supports variable input block sizes through automatic padding, and enables zero-delay context switching among multiple connections by deriving authentication keys from encryption keys, allowing for real-time processing of TLS packets with variable payload sizes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If authentication keys are pre-computed for every connection, then authentication speed is improved, but latency overhead increases and device complexity increases

Engineering Contradiction:
Improveauthentication speedVSAvoidlatency overhead
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent pre-computes authentication keys (h, h2, h3, h4) during the TLS handshake phase and stores them in lookup tables. This preliminary action allows the authentication tag computation to proceed rapidly during data encryption without real-time key generation delays, thus improving authentication speed while minimizing latency overhead through efficient pre-computation and storage.

Inventive Principle:
Principle #10Preliminary action

2Device complexity

If fixed input block sizes are used, then processing simplicity is improved, but adaptability deteriorates

Engineering Contradiction:
Improveprocessing simplicityVSAvoidinput block size adaptability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent implements a dynamic input block sizing mechanism that automatically adjusts the block size based on the actual data payload length. The system divides variable-length input data into appropriate blocks (e.g., 16-byte, 32-byte, 64-byte blocks) and processes them through the authentication pipeline, maintaining processing simplicity while achieving full adaptability to different input sizes through automated block segmentation.

Inventive Principle:
Principle #15Dynamics

3Productivity

If context switching between multiple connections is implemented, then productivity is improved, but latency overhead increases

Engineering Contradiction:
Improvethroughput with multiple connectionsVSAvoidsetup latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent pre-computes and caches authentication keys (h, h2, h3, h4) during the TLS handshake phase before actual data transmission begins. This preliminary computation eliminates the need for real-time key generation during context switching between connections, enabling zero-latency connection establishment and allowing the system to rapidly switch between millions of concurrent connections without setup delays.

Inventive Principle:
Principle #10Preliminary action

4Device complexity

If authentication keys are derived from encryption keys, then device complexity is reduced, but security requirements increase

Engineering Contradiction:
Improvekey management complexityVSAvoidsecurity requirements
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent merges the authentication key derivation function with the encryption key by computing authentication keys (h, h2, h3, h4) directly from the encryption key using AES-256 operations. This consolidation eliminates separate key storage and management infrastructure, reducing device complexity while maintaining security through the cryptographic strength of AES-256 and the deterministic derivation process that ensures authentication keys remain secure.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11489661B2High throughput post quantum AES-GCM engine for TLS packet encryption and decryption
Publication Date: 2022.11.01 INTEL CORP
  • US11489661B2 patent drawing
  • US11489661B2 patent drawing
  • US11489661B2 patent drawing

AI summary

An apparatus comprises an input register to receive a transport layer data packet, an encryption/decryption pipeline communicatively coupled to the input register, comprising a first section comprising a set of advanced encryption standard (AES) engines including at least a first AES engine to perform encryption and/or decryption operations on input data from the at least a portion of a transport layer data packet, a second AES engine to determine an authentication key, and a third AES engine to determine an authentication tag mask, a second section comprising a first set of Galois field multipliers comprising at least a first Galois field multiplier to compute a first multiple of the authentication key, a third section comprising a second set of Galois field multipliers to compute a first partial authentication tag, and a fourth section comprising a processing circuitry to compute a second partial authentication tag and a final authentication tag.