commit | 285a3d26176b36ccc2bfb4214c2ab3e2a1057f0c | [log] [tgz] |
---|---|---|
author | Alice Wang <aliceywang@google.com> | Wed Mar 01 11:36:29 2023 +0000 |
committer | Alice Wang <aliceywang@google.com> | Wed Mar 01 12:08:30 2023 +0000 |
tree | a8b6eca688bfb2b0991a0d94667463701c776f22 | |
parent | 29e15c83d1cbfe0db7c5c2e7dacfbc2bb53f6b84 [diff] |
[microdroid] Refactor and test format payload config descriptor This cl extracts the DICE config descriptor formatting code into a separate function and moves it from main.rs to dice.rs. We also add two tests for the newly created function. In a subsequent cl, we are going to replace the manual cbor serialization with the crate ciborium. The tests will ensure that the migration keep the formatting result unchanged. Test: atest microdroid_manager_test Test: Run microdroid Bug: 268322533 Change-Id: If472431296ea24ac2917da023658677d2184655c
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.