commit | 04b31d90c52fa391d417d27b360219b759cc9934 | [log] [tgz] |
---|---|---|
author | Eunchan Kim <eunchan@opentitan.org> | Fri Feb 11 16:38:25 2022 -0800 |
committer | Eunchan Kim <me@eunchan.kim> | Wed Feb 16 08:42:58 2022 -0800 |
tree | 7dbd47588b6f963a22d0453d7e57e18199b13e2a | |
parent | 966ca78eef4b08728ba8b818566ea0ca35a18c45 [diff] |
[kmac] fit: Message Masking What does this commit? This commit implements the message masking when a config bit is set. Why is this beneficial? By masking the message, the 1600bit (2share) storage becomes more randomized by PRNG. It alleviates the distinct moment of the prefix/key/message data shift moments. In the previous design, the prefix, key are padded by 0. But as those blocks are XORed with PRNG before fed into the SHA3 module, it is more randomized. In contrast, with this config bit, the operation consumes more power as LFSR runs when the message is fed into the hashing module. Signed-off-by: Eunchan Kim <eunchan@opentitan.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).