commit | bd279eb73737199e8ea6cab73cc0f7c26535860b | [log] [tgz] |
---|---|---|
author | nagendra modadugu <ngm@google.com> | Sat May 11 19:56:59 2019 -0700 |
committer | nagendra modadugu <ngm@google.com> | Thu Jun 06 18:20:21 2019 -0700 |
tree | 5c56a982e1915e6d9dbd78a440ae525aa1035dfd | |
parent | 23d883ae27d34f37eeca3e6816256074b4a95985 [diff] |
keymaster: add test to verify blob upgrade Use keystore to verify blob upgrade: - install blobv1 firmware - generate a key, use it to encrypt/decrypt - install latest f/w (blobv2) firmware - attempt to decrypt ciphertext generated by blobv1 - watch UART to check that blob was upgraded Bug: 124308804 Test: passes Change-Id: Ib7872b15ac1b7f7e5a3e89df728548125e310611 Signed-off-by: nagendra modadugu <ngm@google.com>
This project houses the code needed to run tests from a host connected to the citdadel chip.
The command to run the tests from a host machine is:
bazel run runtests
On Android run:
mmma -j
nproc
external/nos Make sure verity is disabled and the system partion is remounted then run: adb sync adb citadel_integration_tests