Skip to content

Commit

Permalink
Merge pull request #14741 from boraozgen/trng-def-checks
Browse files Browse the repository at this point in the history
MbedTLS: Add definition checks for TRNG
  • Loading branch information
0xc0170 authored Jun 14, 2021
2 parents 2a73d44 + eabc477 commit 1606b00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions connectivity/mbedtls/platform/inc/platform_mbed.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@
#endif // (defined(FEATURE_PSA) && defined(MBEDTLS_ENTROPY_NV_SEED))

#if DEVICE_TRNG
#if !defined(MBEDTLS_ENTROPY_HARDWARE_ALT)
#define MBEDTLS_ENTROPY_HARDWARE_ALT
#endif
#endif

#if defined(MBEDTLS_CONFIG_HW_SUPPORT)
#include "mbedtls_device.h"
Expand Down

0 comments on commit 1606b00

Please sign in to comment.