Add a random salt to microdroid data

The salt is saved along with the instance data and used as the hidden
input to the DICE derivation. This adds a tie between the instance data
and the secret derivation but still relies on microdroid_manager or
administer it correctly.

Bug: 214231981
Test: atest MicrodroidTestApp
Change-Id: I8fd0814a88523e28ce96da21c73ff07f07f1fdfb
2 files changed
tree: 8156ddcad0fb6cecf5be81f61574c259a2f07795
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. apkverify/
  5. authfs/
  6. binder_common/
  7. compos/
  8. demo/
  9. docs/
  10. idsig/
  11. javalib/
  12. launcher/
  13. libs/
  14. microdroid/
  15. microdroid_manager/
  16. statslog_virtualization/
  17. tests/
  18. virtualizationservice/
  19. vm/
  20. vmconfig/
  21. zipfuse/
  22. .clang-format
  23. .gitignore
  24. Android.bp
  25. OWNERS
  26. PREUPLOAD.cfg
  27. README.md
  28. TEST_MAPPING
README.md

Virtualization

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.