summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorBranden Archer <brarcher@google.com>2018-11-15 08:43:48 -0800
committerBranden Archer <brarcher@google.com>2019-01-11 15:17:24 -0800
commit66d9e9231e3b76f89f9b440766e3e0fbf2c85609 (patch)
tree6fdb6e12469f00a7c43037a2fe04ad618dcf035a /trusty/coverage/coverage.cpp
parentf11c98bc4013014de3ea773c79cd43a11eb6f4ea (diff)
Run BoringSSL self test during startup
NIAP certification requires that all cryptographic functions undergo a self-test during startup to demonstrate correct operation. This change adds such a check. If the check fails, it will prevent the device from booting by rebooting into the bootloader. Bug: 119826244 Test: Built for walleye. After device booted examined dmesg and observed logs from init showing that the new task did start. Further, when BoringSSL is built to fail its self check the device did stop during a normal boot and enter the bootloader, and did so before the boot animation stopped. Change-Id: I4df375cfcdbadcae7f67b01441fef6e729312807 Merged-In: I07a5dc73a314502c87de566bb26f4d73499d2675
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions