commit | cff3705f551fb4bbe745c0ce40e5504c65a76977 | [log] [tgz] |
---|---|---|
author | Eunchan Kim <eunchan@opentitan.org> | Tue Aug 09 17:10:24 2022 -0700 |
committer | Eli Kim <github@elikim.dev> | Thu Aug 11 08:33:47 2022 -0700 |
tree | 0a542844ccf4a18d13a56aebcf587940b385599d | |
parent | e1a8aad36efbc7eaebea7f1788dadf40bccbce90 [diff] |
refactor(kmac): Change `done` to `mubi4_t` _Related Issue: https://github.com/lowRISC/opentitan/issues/13855_ `clear_i` triggers `rst_storage` in `keccak_round`. `rst_storage` signal integrity is checked in the PR https://github.com/lowRISC/opentitan/pull/14103 However, `clear_i` may be a victim of FI attacks. Then the consequences are same to the FI attacks on `rst_storage`. Whenever the hashing operation is completed and early `clear_i` signal is issued prior to SW read, the result digest is 0. (It will be great if SW checks two shares of the digests are not all zero) This commit converts the `sha3_done` to `mubi4_t` and following logics to check the signal to `prim_mubi_pkg::MuBi4True` strictly. 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).