Mbed-TLS / mbedtls

An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.
https://www.trustedfirmware.org/projects/mbed-tls/
Other
5.04k stars 2.51k forks source link

Remove hacks about asm vs constant-flow testing #9319

Open mpg opened 2 days ago

mpg commented 2 days ago

Suggested enhancement

Once this task is completed, there should be no occurrence of MBEDTLS_TEST_CONSTANT_FLOW_ under library except for version_features.c. (We may want to add a check for that, with a reminder of the reason.)

Justification

Library modules should not modify which implementation they select based on how they're being tested. We need predictability in what exactly it is that we are testing.