1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00
Files
mbedtls/library
Manuel Pégourié-Gonnard 79b99f47a1 Fix definition of MD_OR_PSA macros
The code will make the decision based on availability of MD, not of
MD+this_hash. The later would only be possible at runtime (the hash
isn't known until then, that's the whole point of MD), so we'd need to
have both MD-based and PSA-based code paths in a single build, which
would have a very negative impact on code size. So, instead, we choose
based on the presence of MD, which is know at compile time, so we only
have one of the two code paths in each build.

Adjust the macros so that they match the logic of the code using them.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-08-11 12:50:06 +02:00
..
2022-06-29 16:17:50 +01:00
2022-05-06 10:55:10 +02:00
2022-07-27 14:43:38 +01:00
2022-07-28 10:31:16 +01:00
2022-07-26 10:20:52 +02:00
2022-07-26 10:20:52 +02:00
2022-07-21 12:11:53 +02:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2021-12-06 07:50:27 +01:00
2022-07-28 23:08:00 +08:00
2022-07-20 11:07:29 +08:00
2022-03-29 17:43:56 +02:00