mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-01 01:16:36 -04:00
test: revert fixes for PSA entropy
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
31cca13779
commit
5278ebd186
@ -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