Skip to content

Commit f45ca72

Browse files
committed
[M252KG] Remove TRNG support
Reasons to remove TRNG support: 1. M252 just has 32KiB SRAM and cannot afford mbedtls application. 2. Implementing TRNG HAL with PRNG H/W has security concern.
1 parent b478a19 commit f45ca72

File tree

5 files changed

+0
-473
lines changed

5 files changed

+0
-473
lines changed

targets/TARGET_NUVOTON/TARGET_M251/crypto/crypto-misc.cpp

Lines changed: 0 additions & 274 deletions
This file was deleted.

targets/TARGET_NUVOTON/TARGET_M251/crypto/crypto-misc.h

Lines changed: 0 additions & 104 deletions
This file was deleted.

targets/TARGET_NUVOTON/TARGET_M251/objects.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@ struct sleep_s {
126126
int powerdown;
127127
};
128128

129-
struct trng_s {
130-
uint8_t dummy;
131-
};
132-
133129
#ifdef __cplusplus
134130
}
135131
#endif

0 commit comments

Comments
 (0)