Processor-Level SM2 Cryptography for Secure, Low-Cost Deployment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cryptographic technologies using SM2 algorithms face challenges in ensuring data security and are costly due to the need for specialized hardware.

Innovation Solution

A processor with integrated elliptic curve cryptographic algorithms (SM2) and a data processing method that stores intermediate data securely within the processor, eliminating the need for additional hardware by using a microcode-based approach to execute SM2 and SM3 algorithms efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If specialized hardware is used to implement the SM2 algorithm, then data security is improved, but deployment costs increase

Engineering Contradiction:
Improvedata securityVSAvoiddeployment costs
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the SM2 cryptographic algorithm implementation directly into the processor's instruction set architecture and internal storage structures. By integrating the cryptographic functions into the processor itself rather than using separate specialized hardware modules, the system achieves secure data processing while avoiding the additional deployment costs and complexity of external cryptographic cards or dedicated security hardware.

Inventive Principle:
Principle #5Merging (Combining)

2Device complexity

If software is used to implement the SM2 algorithm, then deployment costs are reduced, but data security cannot be effectively guaranteed

Engineering Contradiction:
Improvedeployment costsVSAvoiddata security
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent introduces an intermediary layer in the form of processor-level hardware support for the SM2 algorithm, including dedicated registers (first register for Hash value pointer, second register for private key pointer) and internal storage spaces. This intermediary hardware layer provides the security guarantees of specialized hardware while maintaining the cost-effectiveness and flexibility of software-based deployment, as it works through the existing processor architecture rather than requiring completely separate hardware systems.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Ease of operation

If intermediate data is stored in external memory, then accessibility is improved, but security is compromised

Engineering Contradiction:
Improvedata accessibilityVSAvoidintermediate data security
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent implements a nested storage structure where intermediate cryptographic data is stored in secure internal storage spaces within the processor, which are inaccessible from outside. The first register contains a pointer to a first storage space for Hash values, and the second register contains a pointer to storage for private keys, both located within the processor's protected memory hierarchy. This nesting approach allows data to be accessible when needed for cryptographic operations while remaining protected from external access, effectively solving the security-accessibility contradiction.

Inventive Principle:
Principle #7Nested doll (Nesting)

Data Source

PatentUS12362944B2Processor with an elliptic curve cryptographic algorithm and a data processing method thereof
Publication Date: 2025.07.15 VIA ALLIANCE SEMICON CO LTD
  • US12362944B2 patent drawing
  • US12362944B2 patent drawing
  • US12362944B2 patent drawing

AI summary

A processor with an elliptic curve cryptographic algorithm and a data processing method thereof are shown. The processor has first register storing a Hash value pointer, and a second register, storing a private key pointer. In response to a first elliptic curve cryptographic instruction of an instruction set architecture, the processor reads a first storage space within a system memory by referring to the first register to get a Hash value of the data to be signed, reads a private key by referring to the second register, performs a signature procedure using the elliptic curve cryptographic algorithm on the Hash value based on the private key to generate a digital signature, and programs the digital signature into a second storage space within the system memory.