-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Description
This issue is created for (Nuvoton) targets that don't have TRNG H/W but still want to support mbedtls and Pelion application.
-
For Nuvoton targets like below, they have PRNG H/W but no TRNG H/W. Could come out with an acceptable solution to implementing TRNG HAL with PRNG H/W, or ADC+PRNG? If the criteria requires real TRNG H/W, then PRNG H/W gets of no use. It's a pity.
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M487
- NUMAKER_IOT_M487
-
Discard TRNG and go NV seed (
MBEDTLS_ENTROPY_NV_SEED
). See that:- For PSA targets,
MBEDTLS_ENTROPY_NV_SEED
,MBEDTLS_PSA_INJECT_ENTROPY
,MBEDTLS_PSA_CRYPTO_C
,MBEDTLS_PSA_CRYPTO_STORAGE_C
are necessary. PSA ITS is implemented with KVStore on secure side. - For non-PSA targets (like NUC472/M487), besides above,
MBEDTLS_PSA_ITS_FILE_C
andMBEDTLS_FS_IO
are also needed. WithMBEDTLS_PSA_ITS_FILE_C
, PSA ITS is emulated over files, but the files are not protected. WithMBEDTLS_FS_IO
, mbedtls library doesn't compile. I guess on mbed-os, mbedtls with file system access is not supported yet. To go NV seed, could PSA ITS implement with KVStore just like on PSA targets?
- For PSA targets,
Related PR
Continuation of #11176 (comment)
Issue request type
[x] Question
[ ] Enhancement
[ ] Bug
@yanesca @kjbracey-arm @cyliangtw
Metadata
Metadata
Assignees
Labels
No labels