Invention Application
- Patent Title: METHOD AND DEVICE FOR SECURE CODE EXECUTION FROM EXTERNAL MEMORY
-
Application No.: US17450607Application Date: 2021-10-12
-
Publication No.: US20230114689A1Publication Date: 2023-04-13
- Inventor: Miroslav Knezevic , Tuongvu Van Nguyen , Durgesh Pattamatta , Tung-Hao Huang
- Applicant: NXP B.V.
- Applicant Address: NL Eindhoven
- Assignee: NXP B.V.
- Current Assignee: NXP B.V.
- Current Assignee Address: NL Eindhoven
- Main IPC: H04L9/06
- IPC: H04L9/06 ; H04L9/08 ; G06F21/79

Abstract:
A method is provided for securely accessing code in an external memory. In the method, plaintext code may be stored in internal memory as sets of multiple blocks, each of the multiple blocks having N-bits. The code is encrypted and stored in the external memory. A block cipher having an authenticated encryption mode is used to convert the plaintext code to ciphertext code plus an authentication tag corresponding to each set of the multiple blocks. The external memory is formatted to store the ciphertext and the authentication tag. A translated address for the ciphertext is created from a plaintext address. During a read operation, the generated authentication tag is checked with an expected authentication tag. If the check is successful, the ciphertext code is decrypted and provided to a CPU for execution as plaintext code. In one embodiment, the CPU executes the plaintext code “in place” in the external memory.
Public/Granted literature
- US11677541B2 Method and device for secure code execution from external memory Public/Granted day:2023-06-13
Information query