android_packages_modules_Vi.../libs
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
..
apexutil [hex] Use libhex to encode hex string in avmd and apexutil 2022-10-12 16:43:30 +00:00
apkverify Use libhex to encode hex string in libs/apkverify/ 2022-12-02 14:53:05 +00:00
avb [avb] Define rust API for image verification and connect pvmfw 2022-12-02 08:20:26 +00:00
devicemapper dm_crypt: Extend unit tests to cover both ciphers 2022-11-29 11:28:48 +00:00
dice pvmfw: Validate input BCC handover 2022-12-08 16:29:12 +00:00
libfdt Add iterator over ranges property. 2022-12-05 17:55:28 +00:00
nested_virt Use ro.product.vendor.device to determine if running on Cuttlefish 2022-10-17 14:03:28 +00:00
statslog_virtualization
vbmeta [vbmeta][test] Use testkeys from avb directly in tests 2022-11-29 09:48:16 +00:00
vmconfig