keymaster:  add cert recovery test

This test loads PVT certs onto a PVT
chip, and ensures that they are loaded
correctly.

NOTE: test does not request attestation,
as HAL code is unavailable in this environment.
However, this test still provides good confidence
that the provided cert packet was acceptable, as
it must have decrypted correctly for the test to pass.

TODO: port corresponding test over to jenkins.

Bug: 111997966
Test: ProvisionCertificates test passes at desk
Change-Id: I1c331c54e20297dc5d13256058c5d9e51c99d36d
1 file changed
tree: 5d48eced6606282b96cbf168243acf23c42adbd9
  1. scripts/
  2. src/
  3. tools/
  4. .gitignore
  5. Android.bp
  6. BUILD
  7. LICENSE
  8. METADATA
  9. MODULE_LICENSE_APACHE2
  10. NOTICE
  11. README.md
  12. WORKSPACE
README.md

Citadel Test Harness

This project houses the code needed to run tests from a host connected to the citdadel chip.

Requirements

  • Software
  • bazel
  • build-essential
  • gcc-arm-none-eabi
  • Hardware
  • FPGA test setup with ultradebug or Citadel test board

Quickstart

The command to run the tests from a host machine is:

bazel run runtests

On Android run:

mmma -jnproc external/nos Make sure verity is disabled and the system partion is remounted then run: adb sync adb citadel_integration_tests