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
4 files changed