[opentitantool] Correctly detect bootstrap errors Correction to the error handling in the bootstrapping protocol of legacy Google Titan chips. This change makes it such that if first 32 bytes of the SPI response are identical bytes, then it is considered an error code (rather than random checksum mismatch). Existing code requires all 2048 bytes of the response to be identical, for it to be considered an explicit error, and we have observed that opentitantool will not always detect error codes such as BADKEY. Signed-off-by: Jes B. Klinke <jbk@chromium.org> Change-Id: Ied91475a5bb4f886eca79ece1e96718f3c5fbcf6

OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).