commit | 97d37e9b3d12742fce53acccd33b69a6582073ab | [log] [tgz] |
---|---|---|
author | Felix Miller <felix.miller@gi-de.com> | Tue Aug 25 12:32:19 2020 +0200 |
committer | Philipp Wagner <mail@philipp-wagner.com> | Thu Sep 03 11:47:23 2020 +0100 |
tree | 59cffe1154204ceeb272a4d443aa74607397bf53 | |
parent | c545124fe56c36ea3a6f24d5c44ab7c26e016ead [diff] |
[otbn] add code snippet for 384 bit modular multiplication This is a generic implementation of modular multiplication based on the Barrett reduction algorithm without requirements on the form of the modulus, only the range of the modulus is limited. For special formed moduli (e.g. generilzed Mersenne primes in p384) we might want to provide an optimized version. The implementation mainly follows the description of the algorithm in the "Handbook of Applied Cryptography" (Algorithm 14.42) and re-uses its terminology. Some changes have been made to improve register and multiplier efficiency. This is related to lowRISC#3192. Signed-off-by: Felix Miller <felix.miller@gi-de.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 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).