commit | faf057e54e93b403882180446cc04f1af9065a1a | [log] [tgz] |
---|---|---|
author | Cindy Chen <chencindy@google.com> | Wed Dec 02 09:41:17 2020 -0800 |
committer | cindychip <cindy.chen0316@gmail.com> | Thu Dec 03 11:11:22 2020 -0800 |
tree | c560111071cd00fb000100c1cbf5b82a124b9a56 | |
parent | 46e01b59c3d4ad7a59d594bdacf18e04fed52014 [diff] |
[dv/otp] Support SW partition write lock (write digest) This PR has two main changes: 1. Update function `is_secret`. Current is_secret function returns 1 when it is NOT secret partition. This logic is not correct and this PR fixed it. 2. Support lock SW partitions by using DAI to write digest. Because the digest check is depend on SW (OTP won't check if the digest is correct), this PR writes random data to SW partition digests. Also there is an issue related to this PR #4363, so in this PR, scb only checks digest_0 for sw partitions. Signed-off-by: Cindy Chen <chencindy@google.com>
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).