Go to file
Pierre-Clément Tosi 8edf72eafa pvmfw: Validate input BCC handover
Ensure that the BCC contained in the configuration data is properly
formatted as a "BCC Handover" [1] i.e. a CBOR-encoded map

    BccHandover = {
      1 : bstr .size 32,     ; CDI_Attest
      2 : bstr .size 32,     ; CDI_Seal
      3 : Bcc,               ; Certificate chain
    }

If not, abort the pVM boot.

[1]: https://pigweed.googlesource.com/open-dice/+/72ad792c4d9ffffef3412801b5da46568a6b3197/src/android/bcc.c#260

Bug: 256827715
Test: atest MicrodroidHostTests
Change-Id: Ibade0ebd1e50d912a59b32c1282022aa46235501
2022-12-08 16:29:12 +00:00
apex Add command to start an empty Microdroid instance 2022-11-29 13:01:06 +00:00
apkdmverity Fix warnings from rustc 1.65.0 2022-11-16 15:54:35 -08:00
authfs Restart fd_server per authfs benchmark trial 2022-11-30 17:31:54 +09:00
avmd [hex] Use libhex to encode hex string in avmd and apexutil 2022-10-12 16:43:30 +00:00
compos Merge changes from topic "revert-2278163-EHDGJTYSEH" 2022-12-05 00:46:07 +00:00
demo Add VirtualizationModuleFrameworkInitializer 2022-11-25 15:57:01 +00:00
docs Merge "Add preparing custom pvmfw for hostside test" 2022-11-30 08:10:09 +00:00
encryptedstore dm_crypt: Extend unit tests to cover both ciphers 2022-11-29 11:28:48 +00:00
javalib Merge "Add tests for creating VM with CE/DE contexts" 2022-12-08 12:22:21 +00:00
launcher Restrict libraires from VM payload libraries 2022-11-30 18:28:22 +09:00
libs pvmfw: Validate input BCC handover 2022-12-08 16:29:12 +00:00
microdroid Merge "Add hashes of initrd to the kernel footer" 2022-12-06 02:02:59 +00:00
microdroid_manager Implement native method getEncryptedStoragePath() 2022-11-30 11:55:22 +00:00
pvmfw pvmfw: Validate input BCC handover 2022-12-08 16:29:12 +00:00
rialto
tests Add tests for creating VM with CE/DE contexts 2022-12-06 23:38:01 +00:00
virtualizationservice Merge "Record signal number when death reason is KILLED" 2022-12-07 00:41:05 +00:00
vm run-microdroid command: default --debug flag to "full" 2022-12-01 21:12:50 +00:00
vm_payload Check in stub.c 2022-12-07 11:49:59 +00:00
vmbase Test reading from a VirtIO block device. 2022-12-07 17:18:44 +00:00
vmclient Give a better name to STOP_REASON_ERROR 2022-12-06 13:38:05 +00:00
zipfuse
.clang-format
.gitignore
Android.bp
OWNERS Add bug component 2022-11-21 09:46:46 +00:00
PREUPLOAD.cfg [linter] Add google-java-format as java pre-commit linter 2022-11-14 15:59:16 +00:00
README.md
TEST_MAPPING Add VirtualizationModuleFrameworkInitializer 2022-11-25 15:57:01 +00:00
rustfmt.toml

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.