commit | bec8466de568d4ad5239a861a7248af58653c814 | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Wed Jan 04 14:25:33 2023 +0000 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Mon Feb 13 11:41:23 2023 +0000 |
tree | 95ccd9d9f11173cb03212d56fca33e97c09d45f4 | |
parent | ecf535c14c3f3d4e4caa5d9795b484c83e7fccd3 [diff] |
pvmfw: Clear cache lines in DiceClearMemory Instead of using the default implementation, which simply overwrites its secret input with zeroes, re-implement the function to ensure that the relevant cache lines are flushed, preventing a malicious guest from potentially gaining access to the intact secrets by disabling the cache (holding the unflushed zeroes). Bug: 256827715 Test: atest MicrodroidHostTests Change-Id: Ice9ac47ceaf78f9a1aad111db49426387f2b3735
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.