Invention Grant
US09461818B2 Method for encrypting a program for subsequent execution by a microprocessor configured to decrypt and execute the encrypted program
有权
用于加密程序以供由被配置为解密和执行加密程序的微处理器后续执行的方法
- Patent Title: Method for encrypting a program for subsequent execution by a microprocessor configured to decrypt and execute the encrypted program
- Patent Title (中): 用于加密程序以供由被配置为解密和执行加密程序的微处理器后续执行的方法
-
Application No.: US14066350Application Date: 2013-10-29
-
Publication No.: US09461818B2Publication Date: 2016-10-04
- Inventor: G. Glenn Henry , Terry Parks , Brent Bean , Thomas A. Crispin
- Applicant: VIA Technologies, Inc.
- Applicant Address: TW New Taipei
- Assignee: VIA TECHNOLOGIES, INC.
- Current Assignee: VIA TECHNOLOGIES, INC.
- Current Assignee Address: TW New Taipei
- Agent Eric W. Cernyar; James W. Huffman
- Main IPC: G06F11/30
- IPC: G06F11/30 ; H04L9/08 ; G06F12/08 ; G06F21/52 ; G06F21/71 ; G06F21/72 ; G06F9/30 ; G06F21/60 ; H04L9/06 ; G06F21/54

Abstract:
A method for encrypting a program for subsequent execution by a microprocessor configured to decrypt and execute the encrypted program includes receiving an object file specifying an unencrypted program that includes conventional branch instructions whose target address may be determined pre-run time. The method also includes analyzing the program to obtain chunk information that divides the program into a sequence of chunks each comprising a sequence of instructions and that includes encryption key data associated with each of the chunks. The encryption key data associated with each of the chunks is distinct. The method also includes replacing each of the conventional branch instructions that specifies a target address that is within a different chunk than the chunk in which the conventional branch instruction resides with a branch and switch key instruction. The method also includes encrypting the program based on the chunk information.
Public/Granted literature
Information query