We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f18e336 + 4feb15c commit b050a9dCopy full SHA for b050a9d
features/mbedtls/platform/inc/platform_mbed.h
@@ -33,6 +33,14 @@
33
#define MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO mbed_default_seed_write
34
#endif
35
36
+/* Automatically enable the Mbed Crypto entropy injection API if
37
+ * MBEDTLS_ENTROPY_NV_SEED is enabled. WARNING: the current implementation of
38
+ * the Mbed Crypto entropy injection API is incompatible with other entropy
39
+ * sources. When MBEDTLS_ENTROPY_NV_SEED is used on PSA target, the NV Seed is
40
+ * the sole source of entropy and all other entropy sources are ignored. */
41
+#define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES
42
+#define MBEDTLS_PSA_INJECT_ENTROPY
43
+
44
#endif // (defined(TARGET_PSA) && defined(MBEDTLS_ENTROPY_NV_SEED))
45
46
#if DEVICE_TRNG
0 commit comments