Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A chip storage body and code protection method based on static encrypted storage and dynamic decryption operation

An encrypted storage and static storage technology, applied in the protection of internal/peripheral computer components, etc., can solve problems such as code deciphering, and achieve the effect of reducing the risk of deciphering

Active Publication Date: 2015-08-26
HANGZHOU SYNOCHIP DATA SECURITY TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The key code is statically stored in ciphertext, realizing the real-time dynamic decryption and operation of the code, and solving the problem that the code of the embedded chip is easy to be read and deciphered

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A chip storage body and code protection method based on static encrypted storage and dynamic decryption operation
  • A chip storage body and code protection method based on static encrypted storage and dynamic decryption operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Below in conjunction with accompanying drawing and embodiment the present invention will be further described:

[0021] The code protection method based on static encrypted storage and dynamic decryption operation has the following steps:

[0022] Step 1: After the chip is reset and started, the program pointer jumps to the static storage body 3 to directly run the plaintext code 31, and execute the application operation that does not require high code confidentiality;

[0023] Second step: when the function library related to the ciphertext code 32 needs to be called, the currently running code will read and decrypt the ciphertext code 32 in the code running area 22 of the dynamic storage body 2;

[0024] The third step: the program pointer jumps to the code running area 22 of the dynamic storage body 2, and runs the code function obtained by decryption;

[0025] Step 4: After running the code function obtained by decryption, the program pointer jumps back to the stat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a code protection method based on static encrypted storage and dynamic decrypted operation. The code protection method comprises the following steps: step 1, after a chip is reset and restarted, a program pointer skips into a static memory bank to directly run a plain text code and executes an application operation with a low secrecy requirement of the code; step 2, when a function library relevant with a cipher text code is required to be invoked, the cipher text code can be read and encrypted in a code operation region of a dynamic memory bank by the currently-run code; step 3, the program pointer skips into the code operation region of the dynamic memory bank to run a code function obtained by encryption; step 4, after the running of the code function obtained by the encryption is finished, the program pointer skips back to the static memory bank to remove data in the code operation region in the dynamic memory bank and continuously run the code; and step 5, when the function library relevant with the cipher text code is required to be invoked again, the step 2, the step 3 and the step 4 are repeated. The code protection method based on the static encrypted storage and the dynamic decrypted operation has the beneficial effects that a key code is statically stored in a cipher text manner, real-time dynamic decrypted operation of the code is realized, and the problem that the code of an embedded chip is easily split, read and encrypted is solved.

Description

technical field [0001] The invention relates to the field of embedded programming chips such as MCU, MPU, DSP, ARM, etc., in particular to a code protection method based on static encryption storage and dynamic decryption operation. Background technique [0002] In today's increasingly information-based society, computers and networks have fully penetrated into every corner of daily life. For each of us, what we need is no longer just the kind of computer "machine" that is placed on the table to process documents, work management and production control; various new embedded system devices have far exceeded the number of applications More than a general-purpose computer, any ordinary person may have a variety of electronic products using embedded technology, ranging from small digital products such as mp3 and PDA, to large network appliances, smart home appliances, and vehicle-mounted electronic equipment. In the field of industry and service, digital machine tools, intellig...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/79
Inventor 黄权杨敬涛
Owner HANGZHOU SYNOCHIP DATA SECURITY TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products