commit | 85910ce3c2dfd94f860f4002b4be0cd0985aa058 | [log] [tgz] |
---|---|---|
author | Miguel Young de la Sota <mcyoung@google.com> | Thu Jan 27 16:26:30 2022 -0500 |
committer | Alphan Ulusoy <alphan@google.com> | Fri Jan 28 08:36:15 2022 -0500 |
tree | 6d102b26ed963cb92a30aac5d37eefecd14fa562 | |
parent | 6b6ee2b1a1ea911aba83b2ad5ddd01d80a4a022a [diff] |
[lib] Add `volatile` to launder*() to avoid miscompilations In some cases, LLVM has shown it is able to deduplicate calls to launder32() in a way inimical to hardening. Although this isn't the "most correct" way to fix it, it is one that we know will work for the time being until we need to revisit whether this volatile is unnecessary. The comments on the implementation have been extended with further notes on volatile asm. Signed-off-by: Miguel Young de la Sota <mcyoung@google.com>
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).