mbedtls/3rdparty/everest/library
Gilles Peskine 945b23c46f Include platform.h unconditionally: automatic part
We used to include platform.h only when MBEDTLS_PLATFORM_C was enabled, and
to define ad hoc replacements for mbedtls_xxx functions on a case-by-case
basis when MBEDTLS_PLATFORM_C was disabled. The only reason for this
complication was to allow building individual source modules without copying
platform.h. This is not something we support or recommend anymore, so get
rid of the complication: include platform.h unconditionally.

There should be no change in behavior since just including the header should
not change the behavior of a program.

This commit replaces most occurrences of conditional inclusion of
platform.h, using the following code:

```
perl -i -0777 -pe 's!#if.*\n#include "mbedtls/platform.h"\n(#else.*\n(#define (mbedtls|MBEDTLS)_.*\n|#include <(stdarg|stddef|stdio|stdlib|string|time)\.h>\n)*)?#endif.*!#include "mbedtls/platform.h"!mg' $(git grep -l '#include "mbedtls/platform.h"')
```

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-09-15 20:33:07 +02:00
..
kremlib ECDH: Everest: Remove unnecessary file 2019-08-19 13:36:44 +01:00
legacy 3rdparty: Add additional build facilities for 3rd-party code 2019-08-19 13:37:46 +01:00
everest.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
Hacl_Curve25519.c ECDH: Add Everest Curve25519 to 3rdparty/everest 2019-08-19 13:19:38 +01:00
Hacl_Curve25519_joined.c Improve comments 2022-05-12 09:22:50 +01:00
x25519.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00