commit | dfb421eb0f237ec090e486ef252d783e0f46b0bc | [log] [tgz] |
---|---|---|
author | Pirmin Vogel <vogelpi@lowrisc.org> | Thu Oct 27 11:22:09 2022 +0200 |
committer | Pirmin Vogel <vogelpi@lowrisc.org> | Mon Oct 31 08:46:08 2022 +0100 |
tree | bb0b66c79e0e2f753125c2728bae377ad4ba3cb8 | |
parent | 3f88b0938fc839b6c3d4b153b04072b6d1d9029b [diff] |
[kmac] Randomize processing order for low/high lane halves Previously, lower lane halves were always processed first, followed by the upper lane halves. To aggravate SCA, this commit randomizes the processing order of the lane halves on a per-round basis. In other words, for every round one additional bit from the PRNG is used to decide whether we first process the lower or upper lane halves. This has have two main benefits: 1. Randomizing the order makes it harder to perform SCA and FI per se. 2. If intermediate results are used for remasking (currently not the case), intermediate results of the lower lane halves are not just used to remask computations for the upper lane halves but also vice versa, meaning the available randomness is better distributed between lane halves. 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).