Encryption Device Write Lock and Digest Integrity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing encryption technologies lack robust mechanisms to prevent tampering and ensure the integrity of encrypted data, particularly in scenarios where unauthorized access and data manipulation are concerns.

Innovation Solution

The proposed encryption device employs a write lock mechanism, CBC-MAC mode for generating digest information, and a key-lock system to ensure the integrity and security of encrypted data. The device sets a write lock according to user needs, uses CBC-MAC to generate and store digest information, and requires confirmation of digest information to unlock decryption processes during read operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If encryption is implemented without additional protection mechanisms, then the encryption process is simple and fast, but the ciphertext can be tampered with and its integrity cannot be ensured

Engineering Contradiction:
Improveintegrity of ciphertextVSAvoidcomplexity of encryption device
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by generating digest information (MAC) in advance and storing it together with the ciphertext in the memory array. This pre-computed digest serves as a reference for future integrity verification, allowing the system to detect tampering without adding complex real-time computation during decryption operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces digest information (MAC) as an intermediary element that mediates between the ciphertext and the integrity verification process. This MAC acts as a separate authentication tag that can be compared against newly generated digest information to determine whether the ciphertext has been tampered with, thereby enhancing reliability without directly complicating the core encryption mechanism.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If digest information verification is required for every read operation, then data integrity is ensured, but the read operation becomes more time-consuming

Engineering Contradiction:
Improvesecurity of decryption processVSAvoidtime for read operation
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-generating and storing digest information alongside the ciphertext during the write operation. This eliminates the need to re-compute digest information from scratch during read operations, as the stored MAC can be directly retrieved and compared, significantly reducing verification time while maintaining security.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying by storing a copy of the digest information (MAC) in the memory array alongside the ciphertext. This copied authentication tag can be quickly retrieved and compared during read operations without requiring complex real-time computation, thereby ensuring security while minimizing time loss.

Inventive Principle:
Principle #26Copying

3Reliability

If write lock is set to prevent tampering, then ciphertext protection is strengthened, but write operations become more restricted

Engineering Contradiction:
Improveprotection against tamperingVSAvoidflexibility of write operation
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent applies dynamics by implementing a configurable write lock mechanism that can be dynamically enabled or disabled based on security requirements. The control unit can selectively activate the write lock for specific memory regions or operations, allowing flexible balancing between protection strength and operational freedom rather than applying a static, all-or-nothing approach.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent applies local quality by enabling selective application of write lock protection to different regions or types of data in the memory array. The control unit can configure which specific memory addresses or data types require write lock protection, allowing critical ciphertext to be heavily protected while permitting write operations for non-critical data, thereby maintaining operational flexibility.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20250117525A1Encryption device and method thereof utilizing write lock, key lock, and digest information to increase security
Publication Date: 2025.04.10 NUVOTON
  • US20250117525A1 patent drawing
  • US20250117525A1 patent drawing
  • US20250117525A1 patent drawing

AI summary

An encryption device is provided herein, which includes a memory array and a memory control device. The memory array is configured to store lock data. The memory control device determines whether the lock data is equal to a predetermined value according to an operation instruction. When the memory control device determines that the lock data is equal to the predetermined value, the memory control device performs a logic operation on the write data and an output key to generate encrypted write data, and writes the encrypted data into the memory array as ciphertext.