commit | c198b4e83dde7bc082bcd8b0894ea4d784afae69 | [log] [tgz] |
---|---|---|
author | Eunchan Kim <eunchan@opentitan.org> | Wed Aug 26 14:19:27 2020 -0700 |
committer | Eunchan Kim <eunchan@opentitan.org> | Thu Sep 10 21:13:14 2020 -0700 |
tree | 360ec644f9934496fb4801be07ce933095a3801c | |
parent | c0c98536bdd3d687fe1a0dfbbc689603606ba799 [diff] |
[kmac] SHA3/SHAKE/cSHAKE padding logic This commit implements SHA3/SHAKE/cSHAKE padding logic. cSHAKE needs extra inputs to add Function-name N and Customization string S. Other than that, SHA3/SHAKE/cSHAKE shares similar datapath except the last part added next to the end of the message. SHA3 adds 2'b10 (little-endian), SHAKE adds 4'b1111, cSHAKE adds 2'b00 then `pad10*1()` follows. Interface between this padding logic and the MSG_FIFO follows conventional FIFO interface. This module talks to Keccak round logic with more memory-like interface (having address port). 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 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).