Cryptographic Hardware Testing with Compressed Private Keys

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing manufacturing tests for electronic devices with cryptographic algorithms, such as elliptic curve cryptography and symmetric cryptography, are lengthy and costly due to the high number of nodes that need to be exercised, leading to increased manufacturing costs.

Innovation Solution

Implement a design for testability (DFT) by compressing the private key or reducing the number of cryptographic rounds, allowing for a functional test to be performed efficiently using a compressed private key or reduced rounds.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If functional test with full private key is used to exercise high percentage of nodes, then fault coverage is improved, but test time increases significantly

Engineering Contradiction:
Improvefault coverageVSAvoidtest time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies partial action by using a compressed private key that contains only a subset of the full key bits. Instead of exercising all nodes with the complete private key, the invention uses a compressed version that still provides sufficient fault coverage but reduces the number of iterations required, thereby decreasing test time while maintaining acceptable reliability levels.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes the parameter of the private key by applying compression algorithms that reduce the key size. This parameter change allows the test to achieve adequate node exercise with fewer iterations. The compression ratio can be adjusted to balance between test time and fault coverage requirements, providing a flexible approach to resolving the time-coverage tradeoff.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If structural scan test is used to achieve high test coverage, then fault coverage is improved, but chip area increases significantly

Engineering Contradiction:
Improvefault coverageVSAvoidchip area
Core Design Contradiction:
ReliabilityVSArea of stationary object

Solution Approach 1:

The patent extracts the testing functionality from the structural scan test approach and implements it as a separate functional test mechanism. Instead of embedding scan chains and additional test circuitry throughout the chip architecture, the invention uses a dedicated test mode that performs functional exercises with compressed keys, thereby achieving high fault coverage without the area overhead of structural scan infrastructure.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent makes the cryptographic core circuitry multi-functional by enabling it to operate in both normal cryptographic mode and test mode. The same cryptographic algorithm hardware is used for both production cryptographic operations and for testing purposes with compressed keys. This eliminates the need for separate test-specific circuitry, achieving universal usage that reduces chip area while maintaining test effectiveness.

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

Data Source

PatentUS20250293878A1Device for testing a cryptographic algorithm hardware
Publication Date: 2025.09.18 NXP BV
  • US20250293878A1 patent drawing
  • US20250293878A1 patent drawing
  • US20250293878A1 patent drawing

AI summary

There is described a device for testing an electronic device, wherein the electronic device comprises a cryptographic algorithm, and wherein the cryptographic algorithm is a repetitive cryptographic algorithm, the device comprising a private key compression functionality, configured to compress a private key used to perform the cryptographic algorithm, and a test functionality, configured to perform or trigger the performance of the cryptographic algorithm by the electronic device using the compressed private key.