zephyr/samples/tfm_integration
Kevin Townsend 5d72b5b1a4 samples: tfm: Add fixed PID to custom partition
As per 'Adding Secure Partition' in the TF-M documentation,
every secure partition must have a unique 32-bit partition ID.

If no value is provided, one will be auto-allocated by the
TF-M build system, but this can lead to unpredictable behaviour
in some cases. One example is key derivation where the partition
ID is used as part of the key derivation inputs. Different builds
can results in different PID values being assigned, resulting
in inconsistent key derivation output.

To avoid these problems, this commit sets a fixed PID as a
best pratice.

A value of 1000 has been set to place it within the
'PSA and user Partitions' range (256 - 2999) described in the
documentation.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
2022-05-27 15:18:01 -07:00
..
psa_crypto samples: tfm_integration: Add missing MPS3 support 2022-05-23 15:28:36 +02:00
psa_firmware samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
psa_protected_storage samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
tfm_ipc samples: tfm_integration: Add missing MPS3 support 2022-05-23 15:28:36 +02:00
tfm_psa_test tests: psa: Allow more time between watchdog resets in qemu 2022-05-12 10:33:52 +02:00
tfm_regression_test samples: tfm_integration: Remove LPC55s69 tests 2022-05-23 15:28:36 +02:00
tfm_secure_partition samples: tfm: Add fixed PID to custom partition 2022-05-27 15:18:01 -07:00
tfm_integration.rst