commit | 73f4ec619a8f1e9843adb67d65cb13e488b3de23 | [log] [tgz] |
---|---|---|
author | Philipp Wagner <phw@lowrisc.org> | Thu Sep 03 14:05:14 2020 +0100 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Sat Sep 05 18:04:39 2020 +0200 |
tree | f855dd51f8c2696034e80457cfa2b548ab8d2ca2 | |
parent | 36dfba28ea045134815f481b1d292d743fdbb1d9 [diff] |
[otbn] Better specify "result" when setting flags The L, M and Z flags operate on the "result" of an operation. Clarify that this means only the "lower" 256 bits as they are written back to the destination register, not the overflow bit (which is present in the carry flag). Fixes #3336 (See also this issue for a long reason by Felix Miller why this is the correct behavior.) Signed-off-by: Philipp Wagner <phw@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 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).