Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: added 54H kms doc #18785

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/nrf/app_dev/device_guides/nrf54h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ Zephyr and the |NCS| provide support and contain board definitions for developin
working_with_nrf/nrf54h/ug_nrf54h20_logging
working_with_nrf/nrf54h/ug_nrf54h20_debugging
working_with_nrf/nrf54h/ug_nrf54h20_custom_pcb
working_with_nrf/nrf54h/ug_nrf54h20_kms
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.. _ug_nrf54h20_kms:

SDFW platform key management
############################

.. contents::
:local:
:depth: 2

Platform keys are non-volatile keys that defines the ownership of a local domain.
There are two types of platform keys: symmetric AES256 keys and asymmetric ECC public keys (Twisted Edwards).
These keys are imported using ``psa_import_key`` as any other key, using a specific set of attributes.

Preconditions
-------------

It is only possible to import platform keys for local domains that are not in a protected :ref:`Local Domain Life Cycle State (LDLCS) <_secdom_LDLCS>`.
A platform key can only be stored if a key with the same key identifier has not already been stored.
The only way to erase a platform key is to purge the corresponding local domain.

Importing and managing keys
---------------------------

##To be defined
##nrfutil support to be clarified

Post-condition
--------------

Once a platform key has been imported it can be leveraged by SDFW.
To verify that a key has been correctly imported it must be used in a cryptographic operation where the host knows the expected result.
For symmetric keys this can be done by decrypting some data with a known plaintext using ``AEAD``.
For asymmetric keys this is done by invoking ``psa_export_public_key`` and checking the result.
Loading