Fix ENTROPY_LEN check
This commit is contained in:
parent
eb82a74ed2
commit
a27cd4c62e
1 changed files with 3 additions and 2 deletions
|
@ -2119,8 +2119,9 @@
|
||||||
defined(POLARSSL_CONFIG_OPTIONS) && (CTR_DRBG_ENTROPY_LEN > 64)
|
defined(POLARSSL_CONFIG_OPTIONS) && (CTR_DRBG_ENTROPY_LEN > 64)
|
||||||
#error "CTR_DRBG_ENTROPY_LEN value too high"
|
#error "CTR_DRBG_ENTROPY_LEN value too high"
|
||||||
#endif
|
#endif
|
||||||
#if defined(POLARSSL_ENTROPY_C) && !defined(POLARSSL_SHA512_C) && \
|
#if defined(POLARSSL_ENTROPY_C) && \
|
||||||
defined(POLARSSL_CONFIG_OPTIONS) && (CTR_DRBG_ENTROPY_LEN > 32)
|
( !defined(POLARSSL_SHA512_C) || defined(POLARSSL_ENTROPY_FORCE_SHA256) ) \
|
||||||
|
&& defined(POLARSSL_CONFIG_OPTIONS) && (CTR_DRBG_ENTROPY_LEN > 32)
|
||||||
#error "CTR_DRBG_ENTROPY_LEN value too high"
|
#error "CTR_DRBG_ENTROPY_LEN value too high"
|
||||||
#endif
|
#endif
|
||||||
#if defined(POLARSSL_ENTROPY_C) && \
|
#if defined(POLARSSL_ENTROPY_C) && \
|
||||||
|
|
Loading…
Reference in a new issue