-
公开(公告)号:US20240346155A1
公开(公告)日:2024-10-17
申请号:US18299216
申请日:2023-04-12
Applicant: Arm Limited
Inventor: Roberto AVANZI , Andreas Lars SANDBERG , Ionut Alexandru MIHALCEA , David Helmut SCHALL , Alexander KLIMOV
CPC classification number: G06F21/602 , G06F21/78
Abstract: Apparatuses and methods for memory protection are disclosed. A memory protection apparatus is interposed between a system cache and a memory system. The apparatus comprises encryption circuitry, which encrypts data item in dependence on encryption metadata and decrypts encrypted data items in dependence on the encryption metadata. In response to a change in a metadata item of the encryption metadata, when no cached copy of an affected data item is currently in the system cache, the affected data item is retrieved from the memory system, re-encrypted using the updated metadata item and returned to the memory system. When there is a cached copy, in dependence on update control data, the copy is retrieved from the system cache, encrypted using the updated metadata item and written out to the memory system.