Method and apparatus for incremental code signing
Abstract
The present invention discloses a method for quickly and easily authenticating large computer program. The system operates by first sealing the computer program with digital signature in an incremental manner. Specifically, the computer program is divided into a set of pages and a hash value is calculated for each page. The set of hash values is formed into a hash value array and then the hash value array is then sealed with a digital signature. The computer program is then distributed along with the hash value array and the digital signature. To authenticate the computer program, a recipient first verifies the authenticity of the hash value array with the digital signature and a public key. Once the hash value array has been authenticated, the recipient can then verify the authenticity of each page of the computer program by calculating a hash of a page to be loaded and then comparing with an associated hash value in the authenticated hash value array. If the hash values do not match, then execution may be halted.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 43.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for sealing a computer program, said method comprising: dividing said computer program into a plurality of pages, wherein said dividing is based on size of memory allocation in memory; calculating a hash value for each of said pages; creating a hash array with said hash values of said pages; creating a digital signature for said hash array; and grouping said computer program with said hash array and said digital signature.
- Claim 2Depends on #1
The method as recited in claim 1 , wherein calculating said hash value comprises calculating a SHA hash value.
- Claim 3Depends on #1
The method as recited in claim 1 further comprising: distributing said computer program, said hash array, and said digital signature.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 43 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (1)
- B. Schneier, "Applied Cryptography, Second Edition: Protocols, Algorithms, and Source Code in C," 1996, John Wiley & Sons, Inc., section 18.7, pp. 442-445.