Monterey, CA; Naval Postgraduate School
ARCHITECTURAL SUPPORT FOR ENCRYPTED INSTRUCTION EXECUTION IN A SECURE RISC-V PROCESSOR
Abstract
dc:description.abstractSecure processor architectures commonly mitigate side-channel and transient execution vulnerabilities but continue to rely on unencrypted instruction memory. As a result, executable code remains vulnerable to memory extraction, static analysis, and reverse engineering. This thesis extends a previously-proposed secure RISC-V processor by introducing instruction-stream encryption into the processor front end. Program instructions are stored in encrypted form and decrypted only within the processor core, preventing external recovery of executable code.Unlike approaches that treat encryption as a software mechanism or external coprocessor function, this design integrates hardware decryption directly into the instruction fetch path. Encrypted instruction blocks are fetched from memory, decrypted in hardware, and delivered to the pipeline through an instruction buffer. The architecture preserves compatibility with the standard RISC-V instruction set and memory model while ensuring that plaintext instructions exist only transiently within the processor pipeline.Cycle-accurate simulation evaluates the architectural behavior and performance impact of encrypted instruction execution using multiple cryptographic algorithms. Results evaluate the performance impact of the proposed architectural changes and demonstrate that instruction-stream encryption can be integrated into a conventional RISC-V pipeline while preserving functional correctness and compatibility with existing binaries.
Degree
thesis:*- Name thesis:degree_name
- Master of Science in Electrical Engineering
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Electrical Engineering
- Department dc:contributor.department
- Electrical and Computer Engineering (ECE)
- Grantor dc:publisher
- Monterey, CA; Naval Postgraduate School
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Zimbauer, Karl J.
- Advisor dc:contributor.advisor
-
- Bollmann, Chad A.
- Committee member dc:contributor.committeemember
-
- Fouts, Douglas J.
Rights
dc:rights- Statement dc:rights
-
- This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
- Distribution Statement A. Approved for public release: Distribution is unlimited.
Identifiers
dc:identifier.*- Dc Identifier Programcode
- 590, Electronic Systems Engineering
- Thesis Thesis Identifier
- 40964