commit | 3653c65fa582c2104d2bf7295e6637a37b96b432 | [log] [tgz] |
---|---|---|
author | Jade Philipoom <jadep@google.com> | Tue Nov 09 11:46:05 2021 +0000 |
committer | Felix Miller <mail@felix-miller.de> | Thu Nov 11 11:08:35 2021 +0100 |
tree | 71c52f3dd36c4ec6e94de709a772621ffc9df637 | |
parent | 8630bcbbb59325eea9a52e364ac1dfdce7804758 [diff] |
[sw/crypto] Clarify bounds assumptions for Montgomery R^2. The Ibex implementation, on closer inspection, doesn't actually require R / 2 < M, so the comment is rephrased to not state that it does. The OTBN implementation is greatly simplified by the assumption that R / 2 < M, so it is modified to assume so and justify the assumption by citing FIPS. This commit also includes a minor adjustment to the R^2 loop, making it a loop instead of a loopi so as not to consume the loop stack unnecessarily. Signed-off-by: Jade Philipoom <jadep@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).