commit | c81e63db2be3abf4358267b4c35dfe6f79d89717 | [log] [tgz] |
---|---|---|
author | Pirmin Vogel <vogelpi@lowrisc.org> | Sat Jul 25 09:55:33 2020 +0200 |
committer | Greg Chadwick <gac@lowrisc.org> | Mon Jul 27 13:43:46 2020 +0100 |
tree | 5ca85e94abb5930ca5f5ecc6fb53e69e50b5da6a | |
parent | d266c68b1cd8c51e10b19a4d54cc0872f7c295c7 [diff] |
[aes/rtl] Fix status tracking for initial key and IV registers Whenever the key is used, this must be signaled. When starting decryption, the key is declared as not new any more to re-trigger decryption key generation upon future key updates. When performing encryption, the key is now declared as armed: It is still new and will trigger decryption key generation, but any future write to a key register will reset the status tracking (declares the key as dirty) to prevent partial key updates. Similarly, when the IV has been fully updated internally, any write by software must reset the status tracking to prevent partial updates by software. This resolves lowRISC/OpenTitan#2913. 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 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).