mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
We do support builds where NV seed is the only entropy source
We want to support builds where there are no platform entropy sources (`MBEDTLS_NO_PLATFORM_ENTROPY` enabled), and no custom entropy sources (`MBEDTLS_ENTROPY_HARDWARE_ALT` disabled), but `mbedtls_entropy_init()` sets up a working entropy without needing to add sources manually with `mbedtls_entropy_add_source()` (`MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES` disabled) thanks to a nonvolatile seed file injected outside the library's control (`MBEDTLS_ENTROPY_NV_SEED` enabled). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -86,10 +86,6 @@ class CoverageTask(outcome_analysis.CoverageTask):
|
|||||||
# Untested platform-specific optimizations.
|
# Untested platform-specific optimizations.
|
||||||
# https://github.com/Mbed-TLS/mbedtls/issues/9588
|
# https://github.com/Mbed-TLS/mbedtls/issues/9588
|
||||||
'Config: MBEDTLS_HAVE_SSE2',
|
'Config: MBEDTLS_HAVE_SSE2',
|
||||||
# Obsolete configuration option, to be replaced by
|
|
||||||
# PSA entropy drivers.
|
|
||||||
# https://github.com/Mbed-TLS/mbedtls/issues/8150
|
|
||||||
'Config: MBEDTLS_NO_PLATFORM_ENTROPY',
|
|
||||||
# Untested aspect of the platform interface.
|
# Untested aspect of the platform interface.
|
||||||
# https://github.com/Mbed-TLS/mbedtls/issues/9589
|
# https://github.com/Mbed-TLS/mbedtls/issues/9589
|
||||||
'Config: MBEDTLS_PLATFORM_NO_STD_FUNCTIONS',
|
'Config: MBEDTLS_PLATFORM_NO_STD_FUNCTIONS',
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
# Interesting combinations of low-level crypto options
|
# Interesting combinations of low-level crypto options
|
||||||
|
|
||||||
|
# Entropy: available in mbedtls_entropy_init(), thanks to NV seed, no platform sources, no custom source
|
||||||
|
Config: entropy: NV seed only
|
||||||
|
depends_on:!MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES:MBEDTLS_ENTROPY_NV_SEED:MBEDTLS_NO_PLATFORM_ENTROPY:!MBEDTLS_ENTROPY_HARDWARE_ALT
|
||||||
|
pass:
|
||||||
|
|
||||||
Config: ECC: Weierstrass curves only
|
Config: ECC: Weierstrass curves only
|
||||||
depends_on:MBEDTLS_ECP_SHORT_WEIERSTRASS_ENABLED:!MBEDTLS_ECP_MONTGOMERY_ENABLED
|
depends_on:MBEDTLS_ECP_SHORT_WEIERSTRASS_ENABLED:!MBEDTLS_ECP_MONTGOMERY_ENABLED
|
||||||
pass:
|
pass:
|
||||||
|
Reference in New Issue
Block a user