switch-l4t-atf/docs
dp-arm d35dee23b6 tbbr: Fix updating of Non-Trusted NV counter
The previous code required that a certificate be signed with the ROT
key before the platform's NV counter could be updated with the value
in the certificate.  This implies that the Non-Trusted NV counter was
not being updated for Non-Trusted content certificates, as they cannot
be signed with the ROT key in the TBBR CoT scheme.

The code is reworked to only allow updating the platform's Trusted NV
counter when a certificate protected by the Trusted NV counter is
signed with the ROT key.

Content certificates protected by the Non-Trusted NV counter are
allowed to update the platform's Non-Trusted NV counter, assuming
that the certificate value is higher than the platform's value.

A new optional platform API has been introduced, named
plat_set_nv_ctr2().  Platforms may choose to implement it and perform
additional checks based on the authentication image descriptor before
modifying the NV counters.  A default weak implementation is available
that just calls into plat_set_nv_ctr().

Fixes ARM-software/tf-issues#426

Change-Id: I4fc978fd28a3007bc0cef972ff1f69ad0413b79c
Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
2016-12-15 14:12:35 +00:00
..
diagrams Initialize secondary CPUs during cold boot 2016-03-07 09:23:38 +00:00
plat Merge pull request #651 from Xilinx/zynqmp_uart 2016-07-04 18:05:15 +01:00
spd spd: dispatcher for interacting with the Trusty TEE 2016-11-08 15:50:04 -08:00
auth-framework.md Remove dashes from image names: 'BL3-x' --> 'BL3x' 2015-12-14 12:31:37 +00:00
change-log.md Release v1.3: update change-log.md 2016-10-13 15:17:39 +01:00
cpu-specific-build-macros.md Doc: Add links to the A53/A57 Errata Notice documents 2016-04-21 13:00:28 +01:00
firmware-design.md firmware-design.md: Fix broken link 2016-11-14 16:04:01 +00:00
firmware-update.md Documentation: Fix broken links in ToCs 2016-01-12 11:19:39 +00:00
interrupt-framework-design.md Docs: Clarify IRQ/FIQ handler API in Interrupt Design Guide 2016-11-17 10:04:49 +00:00
platform-migration-guide.md Remove dashes from image names: 'BL3-x' --> 'BL3x' 2015-12-14 12:31:37 +00:00
porting-guide.md tbbr: Fix updating of Non-Trusted NV counter 2016-12-15 14:12:35 +00:00
psci-lib-integration-guide.md Docs: Add the PSCI library integration guide 2016-09-28 16:56:10 +01:00
psci-pd-tree.md Rework type usage in Trusted Firmware 2016-07-18 17:52:15 +01:00
reset-design.md Introduce the ARM TF reset design document 2015-12-15 15:14:43 +00:00
rt-svc-writers-guide.md Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
trusted-board-boot.md Replace fip_create with fiptool 2016-07-29 10:38:46 +01:00
user-guide.md Docs: Fix monospace formatting in user guide 2016-12-13 13:38:00 +00:00