You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* M2354: Update TF-M import document
For Nuvoton M2354, this updates document to be consistent with
TF-M import.
* M2354: Pre-create cmake target mbed-m2354-tfm for custom_targets
For M2354 custom target, there is dilemma on cmake target mbed-m2354-tfm:
1. mbed-m2354-tfm is created in mbed-os M2354 cmake listfile, but may be used
in custom_targets M2354 cmake listfile in advance.
2. Build system requires add_subdirectory(custom_targets) be placed in front of
add_subdirectory(mbed-os).
To overcome above, mbed-m2354-tfm is pre-created on request and as singleton,
E.g.:
if(NOT TARGET mbed-m2354-tfm)
add_library(mbed-m2354-tfm INTERFACE)
endif()
A default RSA key pair is given to the Nuvoton M2354 target.
3
+
Two default RSA key pairs are given to the Nuvoton M2354 target.
4
4
5
-
Public key was pre-compiled to `targets/TARGET_NUVOTON/TARGET_M2354/TARGET_TFM/TARGET_NU_M2354/COMPONENT_TFM_S_FW/bl2.bin` and private key is in `nuvoton_m2354-root-rsa-3072.pem` for Secure image and `nuvoton_m2354-root-rsa-3072_1.pem` for Non-Secure image.
5
+
Public keys were pre-compiled to `bl2.bin` and private keys are in
6
+
`nuvoton_m2354-root-rsa-3072.pem` and `nuvoton_m2354-root-rsa-3072_1.pem`
7
+
for Secure image and Non-Secure image separately.
6
8
7
9
DO NOT use them in production code, they are exclusively for testing!
8
10
9
-
Private key must be stored in a safe place outside of the repository.
11
+
Private keys must be stored in a safe place outside of the repository.
10
12
11
-
`tools/psa/tfm/bin_utils/imgtool.py` can be used to generate new key pairs.
0 commit comments