mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-05 01:23:39 +02:00
test: revert fixes for PSA entropy
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
@@ -8,10 +8,6 @@
|
||||
#include "entropy_poll.h"
|
||||
|
||||
/* Calculating the minimum allowed entropy size in bytes */
|
||||
#if !defined(MBEDTLS_ENTROPY_BLOCK_SIZE)
|
||||
#define MBEDTLS_ENTROPY_BLOCK_SIZE MBEDTLS_ENTROPY_MIN_PLATFORM
|
||||
#endif
|
||||
|
||||
#define MBEDTLS_PSA_INJECT_ENTROPY_MIN_SIZE MAX(MBEDTLS_ENTROPY_MIN_PLATFORM, \
|
||||
MBEDTLS_ENTROPY_BLOCK_SIZE)
|
||||
|
||||
|
||||
@@ -24,9 +24,6 @@ static int check_stats(void)
|
||||
exit:
|
||||
return 0;
|
||||
}
|
||||
#if !defined(MBEDTLS_ENTROPY_BLOCK_SIZE)
|
||||
#define MBEDTLS_ENTROPY_BLOCK_SIZE MBEDTLS_ENTROPY_MIN_PLATFORM
|
||||
#endif
|
||||
|
||||
#define ENTROPY_MIN_NV_SEED_SIZE \
|
||||
MAX(MBEDTLS_ENTROPY_MIN_PLATFORM, MBEDTLS_ENTROPY_BLOCK_SIZE)
|
||||
|
||||
Reference in New Issue
Block a user