Pre-Generated HMAC Authentication for HSM Processing Bottlenecks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional systems relying on hardware security modules (HSMs) for data authentication face processing power and availability limitations, leading to delays and negative user experiences, especially during high-speed and high-volume transactions.

Innovation Solution

Implementing a pre-generated hash-based message authentication code (HMAC) derived from an HSM-generated verification code, which is stored with the user's account, allowing for authentication without direct HSM involvement when delays occur, using machine learning models to predict and mitigate security module unavailability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If HSMs are used for secure authentication, then security is improved, but authentication speed deteriorates due to processing power limitations

Engineering Contradiction:
Improveauthentication securityVSAvoidauthentication speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The system performs preliminary actions by pre-generating authentication codes using HMAC functions and storing them in association with account identifiers before they are needed. When authentication is required, the system retrieves these pre-generated codes instead of generating them in real-time through the HSM, thereby eliminating the speed bottleneck while maintaining security through cryptographic verification.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention extracts the authentication code generation function from the HSM and implements it separately using HMAC functions. This separation allows the HSM to focus on secure key management while the HMAC generation can be performed by standard computing resources, improving overall authentication speed without compromising security.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If HSMs are used for data authentication, then authentication reliability is improved, but processing availability deteriorates during high-volume transactions

Engineering Contradiction:
Improveauthentication reliabilityVSAvoidauthentication throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system prepares authentication codes in advance by generating HMAC-based authentication codes and storing them in association with account identifiers. This preliminary action ensures that during high-volume transactions, the system can retrieve pre-generated codes immediately without burdening the HSM, thereby maintaining both reliability and high productivity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention creates copies of authentication functionality by implementing HMAC-based authentication that replicates the security verification capability of the HSM without requiring the HSM's physical presence for each authentication operation. This copying approach enables parallel processing and significantly increases authentication throughput.

Inventive Principle:
Principle #26Copying

3Measurement precision

If real-time HSM authentication is performed, then security verification accuracy is improved, but user experience deteriorates due to delays

Engineering Contradiction:
Improvesecurity verification accuracyVSAvoidauthentication delay
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs the time-consuming authentication code generation in advance and stores the results. When a user needs authentication, the system simply retrieves the pre-generated code and performs a quick verification comparison, eliminating delays while maintaining the same security verification accuracy as real-time HSM authentication.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention uses computationally inexpensive HMAC functions to generate authentication codes that are valid for specific transactions or time periods. These disposable authentication codes can be verified quickly without requiring the HSM to be available, reducing authentication delays while maintaining security through cryptographic verification.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Data Source

PatentUS12470398B2System and method for reducing authentication delays related to security module processing
Publication Date: 2025.11.11 CAPITAL ONE SERVICES LLC
  • US12470398B2 patent drawing
  • US12470398B2 patent drawing
  • US12470398B2 patent drawing

AI summary

In some embodiments, reducing authentication delays related to security module processing may be facilitated. In some embodiments, a first authentication code may be generated based on a first verification code associated with an account. The first authentication code may be stored in association with the account. An authentication request may be obtained to authenticate an action, and the authentication request may comprise a second verification code. A security module request may be generated for a security module response related to the second verification code. A second authentication code may be generated based on the second verification code. Based on a determination that the second authentication code corresponds to the first authentication code, an authentication response for the authentication request may be provided.