commit | 8a62c0995e88c747a530edaaba21bd7eacb68cd2 | [log] [tgz] |
---|---|---|
author | Pirmin Vogel <vogelpi@lowrisc.org> | Thu Oct 27 11:31:47 2022 +0200 |
committer | Pirmin Vogel <vogelpi@lowrisc.org> | Mon Oct 31 08:46:08 2022 +0100 |
tree | f51a98115fbfec7652de260d285411aa7a93e8b7 | |
parent | dfb421eb0f237ec090e486ef252d783e0f46b0bc [diff] |
[kmac] Randomly advance the PRNG if its output not used This commit adds some logic to randomly advance the PRNG in clock cycles where it's output is not used. This has two advantages: - The 800-bit wide PRNG can serve as an integrated noise source. - As KMAC outputs the state in 2 shares it would theoretically be be possible (although difficult) to predict the PRNG state and exploit that for attacks. By randomizing how many times the PRNG is updated we can further aggravate such attacks. Signed-off-by: Pirmin Vogel <vogelpi@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).