mbedtls/library
Daniel Axtens 301db66954 Do not include time.h without MBEDTLS_HAVE_TIME
MBEDTLS_HAVE_TIME is documented as: "System has time.h and time()."

If that is not defined, do not attempt to include time.h.

A particular problem is platform-time.h, which should only be included if
MBEDTLS_HAVE_TIME is defined, which makes everything messier. Maybe it
should be refactored to have the check inside the header.

Signed-off-by: Daniel Axtens <dja@axtens.net>
2022-03-04 15:25:42 -05:00
..
.gitignore
aes.c Merge pull request #4845 from mstarzyk-mobica/ecb-alt-ret-2.2x 2021-10-14 12:11:04 +02:00
aesni.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
arc4.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
aria.c Replace 3 byte shift with appropriate macro 2021-08-03 14:02:41 +01:00
asn1parse.c
asn1write.c Replace MBEDTLS_CHAR_x with MBEDTLS_BYTE_x 2021-08-03 14:08:06 +01:00
base64.c
bignum.c
blowfish.c
camellia.c Add Character byte reading macros 2021-08-03 14:01:51 +01:00
ccm.c Improve documentation and add more uses of MBEDTLS_PUT 2021-08-03 14:09:21 +01:00
certs.c
chacha20.c
chachapoly.c Replace instances of byte reading macros with PUT 2021-08-03 14:08:41 +01:00
check_crypto_config.h
cipher.c
cipher_wrap.c
cmac.c Allow skipping 3DES in CMAC self-test when ALT implemented 2021-04-30 10:09:52 +02:00
CMakeLists.txt
common.h
constant_time.c
constant_time_internal.h Add documentation for the functions 2021-12-08 16:24:22 +01:00
constant_time_invasive.h Add documentation for the functions 2021-12-08 16:24:22 +01:00
ctr_drbg.c
debug.c Add missing parentheses 2021-06-07 21:42:15 +02:00
des.c
dhm.c
ecdh.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
ecdsa.c avoid "maybe-uninitialized" and "free-nonheap-object" errors/warnings with gcc11 2021-05-12 09:37:00 -04:00
ecjpake.c
ecp.c
ecp_curves.c
ecp_invasive.h Move mbedtls_mpi_random to the bignum module 2021-06-02 21:31:24 +02:00
entropy.c
entropy_poll.c
error.c
gcm.c
havege.c
hkdf.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
hmac_drbg.c
Makefile Bump version to 2.28.0 2021-12-15 11:55:31 +00:00
md.c
md2.c
md4.c
md5.c
memory_buffer_alloc.c
mps_common.h Capitalise MPS trace macros 2021-04-07 12:45:35 +01:00
mps_error.h Fix Doxygen headers for MPS files 2021-03-29 14:20:18 +01:00
mps_reader.c
mps_reader.h Fix Doxygen headers for MPS files 2021-03-29 14:20:18 +01:00
mps_trace.c
mps_trace.h Capitalise MPS trace macros 2021-04-07 12:45:35 +01:00
net_sockets.c
nist_kw.c
oid.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
padlock.c
pem.c
pk.c
pk_wrap.c
pkcs5.c
pkcs11.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
pkcs12.c
pkparse.c
pkwrite.c
platform.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
platform_util.c
poly1305.c
psa_crypto.c Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_aead.c Merge pull request #5189 from gilles-peskine-arm/struct_reordering_2.x 2021-12-09 12:54:13 +01:00
psa_crypto_aead.h psa: aead: Move AEAD driver entry points to psa_crypto_aead.c 2021-04-07 16:03:31 +02:00
psa_crypto_cipher.c Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_cipher.h Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_client.c Move the inclusion of crypto_spe.h to psa/crypto_platform.h 2021-06-23 14:45:17 +02:00
psa_crypto_core.h Merge pull request #4357 from gabor-mezei-arm/3267_Implement_psa_sign_message_and_verify 2021-05-17 10:14:46 +02:00
psa_crypto_driver_wrappers.c Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_driver_wrappers.h Merge remote-tracking branch 'restricted/development_2.x-restricted' into mbedtls-2.28.0rc0-pr 2021-12-14 12:52:51 +00:00
psa_crypto_ecp.c
psa_crypto_ecp.h psa: test driver: Move driver test entry points prototypes 2021-11-30 14:49:19 +01:00
psa_crypto_hash.c psa: Fix and improve comments 2021-11-30 14:49:19 +01:00
psa_crypto_hash.h psa: test driver: Move driver test entry points prototypes 2021-11-30 14:49:19 +01:00
psa_crypto_invasive.h Rework MAC algorithm / key type validation 2021-03-03 19:58:02 +01:00
psa_crypto_its.h Update documentation 2020-11-25 13:10:50 +01:00
psa_crypto_mac.c
psa_crypto_mac.h psa: test driver: Move driver test entry points prototypes 2021-11-30 14:49:19 +01:00
psa_crypto_random_impl.h
psa_crypto_rsa.c psa: Remove test code in the library 2021-11-30 14:49:19 +01:00
psa_crypto_rsa.h psa: test driver: Move driver test entry points prototypes 2021-11-30 14:49:19 +01:00
psa_crypto_se.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
psa_crypto_se.h Update documentation 2020-11-25 13:10:50 +01:00
psa_crypto_slot_management.c
psa_crypto_slot_management.h psa: Fix error code when creating/registering a key with invalid id 2021-04-01 14:05:41 +02:00
psa_crypto_storage.c Move #include "common.h" where config.h used to be 2021-08-18 12:57:54 +01:00
psa_crypto_storage.h Rename PSA_KEY_SLOT_COUNT to MBEDTLS_PSA_KEY_SLOT_COUNT 2021-02-15 14:26:44 +01:00
psa_its_file.c Update library/psa_its_file.c 2022-02-16 15:49:29 +01:00
ripemd160.c GET macros use a target variable 2021-08-03 13:39:57 +01:00
rsa.c PKCS#1v1.5 signature: better cleanup of temporary values 2021-12-13 13:55:17 +01:00
rsa_internal.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
sha1.c
sha256.c
sha512.c
ssl_cache.c
ssl_ciphersuites.c
ssl_cli.c
ssl_cookie.c
ssl_msg.c
ssl_srv.c
ssl_ticket.c
ssl_tls.c
ssl_tls13_keys.c
ssl_tls13_keys.h Comment on hardcoding of maximum HKDF key expansion of 255 Bytes 2020-09-16 09:50:17 +01:00
threading.c
timing.c
version.c
version_features.c
x509.c
x509_create.c
x509_crl.c
x509_crt.c Do not include time.h without MBEDTLS_HAVE_TIME 2022-03-04 15:25:42 -05:00
x509_csr.c Apply MBEDTLS_ERROR_ADD to library 2021-04-15 11:19:47 +01:00
x509write_crt.c
x509write_csr.c
xtea.c