mbedtls/library
Gilles Peskine e9b55929dc Remove useless platform macro redefinitions: automatic part
Some source files had code to set mbedtls_xxx aliases when
MBEDTLS_PLATFORM_C is not defined. These aliases are defined unconditionally
by mbedtls/platform.h, so these macro definitions were redundant. Remove
them.

This commit used the following code:
```
perl -i -0777 -pe 's~#if !defined\(MBEDTLS_PLATFORM_C\)\n(#define (mbedtls|MBEDTLS)_.*\n|#include <(stdarg|stddef|stdio|stdlib|string|time)\.h>\n)*#endif.*\n~~mg' $(git grep -l -F '#if !defined(MBEDTLS_PLATFORM_C)')
```

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-09-15 20:34:15 +02:00
..
.gitignore
aes.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
aesni.c Refactor AES context to be shallow-copyable 2022-06-29 16:17:50 +01:00
aesni.h
aria.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
asn1parse.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
asn1write.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
base64.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
bignum.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
bignum_core.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
bignum_core.h Remove confusing const qualifier 2022-08-22 11:19:10 +01:00
bignum_internal.h
bignum_mod.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
bignum_mod.h Improve documentation 2022-08-19 13:11:22 +01:00
bignum_mod_raw.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
bignum_mod_raw.h Fix typos 2022-08-22 09:08:04 +01:00
bn_mul.h Merge pull request #6090 from hanno-arm/fix_bnmul_arm_v7a 2022-08-18 08:48:03 +01:00
camellia.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
ccm.c
chacha20.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
chachapoly.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
check_crypto_config.h Style & formatting fixes 2022-08-23 05:26:02 -04:00
cipher.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
cipher_wrap.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
cipher_wrap.h
cmac.c
CMakeLists.txt Fix alphabetic order in makefiles 2022-08-15 11:38:30 +01:00
common.h
constant_time.c Merge pull request #6095 from gabor-mezei-arm/6016_add_new_modulus_and_residue_structures 2022-08-23 09:02:43 +01:00
constant_time_internal.h Fix typos 2022-08-22 09:08:04 +01:00
constant_time_invasive.h
ctr_drbg.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
debug.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
des.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
dhm.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ecdh.c Reintroduce enum validation ecdh.c 2022-07-27 14:43:38 +01:00
ecdsa.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ecjpake.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ecp.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ecp_curves.c
ecp_internal_alt.h
ecp_invasive.h
entropy.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
entropy_poll.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
entropy_poll.h
gcm.c Remove useless platform macro redefinitions: automatic part 2022-09-15 20:34:15 +02:00
hash_info.c Fix include file path 2022-08-11 12:50:06 +02:00
hash_info.h hash_info.h: add MBEDTLS_MAX_HASH_SIZE macro 2022-09-06 14:18:39 +02:00
hkdf.c
hmac_drbg.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
legacy_or_psa.h Include psa/crypto.h in legacy_or_psa.h 2022-08-19 10:15:56 +02:00
Makefile Merge pull request #6095 from gabor-mezei-arm/6016_add_new_modulus_and_residue_structures 2022-08-23 09:02:43 +01:00
md.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
md5.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
md_wrap.h
memory_buffer_alloc.c
mps_common.h
mps_error.h
mps_reader.c
mps_reader.h
mps_trace.c
mps_trace.h Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
net_sockets.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
nist_kw.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
oid.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
padlock.c Add fallback when rk unaligned with padlock 2022-07-05 11:55:15 +01:00
padlock.h
pem.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
pk.c Migrate from old inline to new actual function. 2022-07-18 21:28:38 +02:00
pk_wrap.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
pk_wrap.h
pkcs5.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
pkcs12.c Make use of MBEDTLS_MAX_HASH_SIZE macro 2022-09-06 14:18:45 +02:00
pkparse.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
pkwrite.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
pkwrite.h
platform.c Fix code formatting 2022-07-01 16:43:25 +01:00
platform_util.c
poly1305.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
psa_crypto.c Remove useless platform macro redefinitions: automatic part 2022-09-15 20:34:15 +02:00
psa_crypto_aead.c Remove useless platform macro redefinitions: automatic part 2022-09-15 20:34:15 +02:00
psa_crypto_aead.h
psa_crypto_cipher.c Use double quotes to include private header file psa_crypto_cipher.h 2022-08-02 12:44:35 +02:00
psa_crypto_cipher.h
psa_crypto_client.c Remove useless platform macro redefinitions: automatic part 2022-09-15 20:34:15 +02:00
psa_crypto_core.h
psa_crypto_driver_wrappers.h
psa_crypto_ecp.c Remove useless platform macro redefinitions: automatic part 2022-09-15 20:34:15 +02:00
psa_crypto_ecp.h
psa_crypto_hash.c Rm now-duplicate helper function 2022-07-18 21:28:38 +02:00
psa_crypto_hash.h Rm now-duplicate helper function 2022-07-18 21:28:38 +02:00
psa_crypto_invasive.h
psa_crypto_its.h
psa_crypto_mac.c
psa_crypto_mac.h
psa_crypto_random_impl.h
psa_crypto_rsa.c Remove useless platform macro redefinitions: automatic part 2022-09-15 20:34:15 +02:00
psa_crypto_rsa.h
psa_crypto_se.c Remove useless platform macro redefinitions: automatic part 2022-09-15 20:34:15 +02:00
psa_crypto_se.h
psa_crypto_slot_management.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
psa_crypto_slot_management.h
psa_crypto_storage.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
psa_crypto_storage.h
psa_its_file.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ripemd160.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
rsa.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
rsa_alt_helpers.c
rsa_alt_helpers.h
sha1.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
sha256.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
sha512.c Include platform.h unconditionally: second automatic part 2022-09-15 20:34:10 +02:00
ssl_cache.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ssl_ciphersuites.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ssl_client.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ssl_client.h Mark internal int SSL functions CHECK_RETURN_CRITICAL 2022-06-20 21:12:55 +02:00
ssl_cookie.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ssl_debug_helpers.h
ssl_misc.h Style & formatting fixes 2022-08-23 05:26:02 -04:00
ssl_msg.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ssl_ticket.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ssl_tls.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ssl_tls12_client.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ssl_tls12_server.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
ssl_tls13_client.c Replace hard-coded zeroes for constant 2022-07-26 16:13:23 +01:00
ssl_tls13_generic.c Rename the sha384 checksum context to reflect its purpose 2022-08-22 17:02:04 -04:00
ssl_tls13_invasive.h Merge remote-tracking branch 'mbedtls-restricted/development-restricted' into mbedtls-3.2.0rc0-pr 2022-07-11 10:22:37 +02:00
ssl_tls13_keys.c fix various issues 2022-08-25 11:09:35 +08:00
ssl_tls13_keys.h fix various issues. 2022-08-23 17:53:43 +08:00
ssl_tls13_server.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
threading.c
timing.c
version.c
x509.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
x509_create.c
x509_crl.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
x509_crt.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
x509_csr.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
x509write_crt.c Make use of MBEDTLS_MAX_HASH_SIZE macro 2022-09-06 14:18:45 +02:00
x509write_csr.c Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00