mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
test: revert fixes for PSA entropy
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
f5f505240a
commit
762a12bdf8
@ -8,10 +8,6 @@
|
|||||||
#include "entropy_poll.h"
|
#include "entropy_poll.h"
|
||||||
|
|
||||||
/* Calculating the minimum allowed entropy size in bytes */
|
/* 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, \
|
#define MBEDTLS_PSA_INJECT_ENTROPY_MIN_SIZE MAX(MBEDTLS_ENTROPY_MIN_PLATFORM, \
|
||||||
MBEDTLS_ENTROPY_BLOCK_SIZE)
|
MBEDTLS_ENTROPY_BLOCK_SIZE)
|
||||||
|
|
||||||
|
@ -24,9 +24,6 @@ static int check_stats(void)
|
|||||||
exit:
|
exit:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#if !defined(MBEDTLS_ENTROPY_BLOCK_SIZE)
|
|
||||||
#define MBEDTLS_ENTROPY_BLOCK_SIZE MBEDTLS_ENTROPY_MIN_PLATFORM
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define ENTROPY_MIN_NV_SEED_SIZE \
|
#define ENTROPY_MIN_NV_SEED_SIZE \
|
||||||
MAX(MBEDTLS_ENTROPY_MIN_PLATFORM, MBEDTLS_ENTROPY_BLOCK_SIZE)
|
MAX(MBEDTLS_ENTROPY_MIN_PLATFORM, MBEDTLS_ENTROPY_BLOCK_SIZE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user