commit | 0299bbe13e46f5159581d641b1dc6b390966eee7 | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Wed May 19 14:54:27 2021 +0100 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Thu May 20 11:50:31 2021 +0100 |
tree | 757a2037ea93a3c8975676ffe37be57c0722004e | |
parent | 6c36dc0ccd81daa6f9d0076d50b2915fbc446807 [diff] |
[dpi] Fix indexing bug in ecc32_mem_area This caused a Valgrind error when setting up imem for OTBN. The bug was that we were trying to read 40 rather than 39 bits of input. The fix is the std::min() when defining bits_left. The rest of the patch is just variable name changes and comments to make it more obvious how everything works (because this took me quite some time to debug, even though wrote the code in the first place!) Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
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).