mbedtls/library
Paul Elliott 8860021abc Fix false claim of variables used unitialised
GCC with TSan + O3 causes an error where it claims key_len and iv_len
may be used uninitialised. This is, as far as I can tell incorrect (the
only way it could not be set is in the error case, and then it is not
used), however the simplest option seemed to be just to fix it.

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2023-12-18 14:49:34 +00:00
..
.gitignore Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
aes.c Merge pull request #8326 from daverodgman/aesce-thumb2 2023-11-27 09:58:58 +00:00
aesce.c Remove redundant check 2023-11-30 11:02:03 +00:00
aesce.h Merge remote-tracking branch 'origin/development' into msft-aarch64 2023-11-30 11:01:50 +00:00
aesni.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
aesni.h Merge pull request #8124 from yanrayw/support_cipher_encrypt_only 2023-11-23 17:43:00 +00:00
alignment.h Merge remote-tracking branch 'origin/development' into msft-aarch64 2023-11-30 09:34:41 +00:00
aria.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
asn1parse.c update headers 2023-11-02 19:47:20 +00:00
asn1write.c update headers 2023-11-02 19:47:20 +00:00
base64.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
base64_internal.h update headers 2023-11-02 19:47:20 +00:00
bignum.c Merge remote-tracking branch 'origin/development' into msft-aarch64 2023-11-30 09:34:41 +00:00
bignum_core.c update headers 2023-11-02 19:47:20 +00:00
bignum_core.h update headers 2023-11-02 19:47:20 +00:00
bignum_mod.c update headers 2023-11-02 19:47:20 +00:00
bignum_mod.h update headers 2023-11-02 19:47:20 +00:00
bignum_mod_raw.c update headers 2023-11-02 19:47:20 +00:00
bignum_mod_raw.h update headers 2023-11-02 19:47:20 +00:00
bignum_mod_raw_invasive.h update headers 2023-11-02 19:47:20 +00:00
block_cipher.c block_cipher: add encrypt() 2023-11-10 12:14:53 +01:00
block_cipher_internal.h block_cipher: add encrypt() 2023-11-10 12:14:53 +01:00
bn_mul.h update headers 2023-11-02 19:47:20 +00:00
camellia.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
ccm.c ccm/gcm: improve code maintainability 2023-11-20 15:17:53 +01:00
chacha20.c update headers 2023-11-02 19:47:20 +00:00
chachapoly.c update headers 2023-11-02 19:47:20 +00:00
check_crypto_config.h update headers 2023-11-02 19:47:20 +00:00
cipher.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
cipher_wrap.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
cipher_wrap.h Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
cmac.c update headers 2023-11-02 19:47:20 +00:00
CMakeLists.txt Start adding internal module block_cipher.c 2023-11-10 11:21:17 +01:00
common.h tidy up macros in mbedtls_xor 2023-11-30 09:35:14 +00:00
constant_time.c Remove unused code 2023-12-01 13:53:45 +00:00
constant_time_impl.h Merge pull request #8515 from mschulz-at-hilscher/fixes/pragma-error-gcc452 2023-11-27 11:28:30 +00:00
constant_time_internal.h update headers 2023-11-02 19:47:20 +00:00
ctr_drbg.c ctr_drbg: add alternative PSA implementation when AES_C is not defined 2023-12-04 11:04:41 +01:00
debug.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
des.c update headers 2023-11-02 19:47:20 +00:00
dhm.c Use MBEDTLS_GET_UINTxx_BE macro 2023-11-21 17:09:46 +00:00
ecdh.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
ecdsa.c update headers 2023-11-02 19:47:20 +00:00
ecjpake.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
ecp.c Fix unused function/variable warnings from clang 2023-12-14 23:20:48 +00:00
ecp_curves.c update headers 2023-11-02 19:47:20 +00:00
ecp_curves_new.c update headers 2023-11-02 19:47:20 +00:00
ecp_internal_alt.h update headers 2023-11-02 19:47:20 +00:00
ecp_invasive.h update headers 2023-11-02 19:47:20 +00:00
entropy.c update headers 2023-11-02 19:47:20 +00:00
entropy_poll.c Fix types in entropy_poll.c 2023-11-21 17:09:46 +00:00
entropy_poll.h update headers 2023-11-02 19:47:20 +00:00
gcm.c ccm/gcm: improve code maintainability 2023-11-20 15:17:53 +01:00
hkdf.c update headers 2023-11-02 19:47:20 +00:00
hmac_drbg.c update headers 2023-11-02 19:47:20 +00:00
lmots.c Use standard byte conversion fns in lms 2023-11-21 17:09:46 +00:00
lmots.h Use standard byte conversion fns in lms 2023-11-21 17:09:46 +00:00
lms.c Use standard byte conversion fns in lms 2023-11-21 17:09:46 +00:00
Makefile Start adding internal module block_cipher.c 2023-11-10 11:21:17 +01:00
md.c update headers 2023-11-02 19:47:20 +00:00
md5.c update headers 2023-11-02 19:47:20 +00:00
md_psa.h update headers 2023-11-02 19:47:20 +00:00
md_wrap.h update headers 2023-11-02 19:47:20 +00:00
memory_buffer_alloc.c update headers 2023-11-02 19:47:20 +00:00
mps_common.h Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_error.h Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_reader.c Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_reader.h Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_trace.c Standardise some more headers 2023-11-03 12:15:12 +00:00
mps_trace.h Standardise some more headers 2023-11-03 12:15:12 +00:00
net_sockets.c Avoid use of ip_len as it clashes with a macro in AIX system headers 2023-12-08 21:51:15 +00:00
nist_kw.c update headers 2023-11-02 19:47:20 +00:00
oid.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
padlock.c Merge remote-tracking branch 'origin/development' into support_cipher_encrypt_only 2023-11-23 10:31:26 +08:00
padlock.h update headers 2023-11-02 19:47:20 +00:00
pem.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
pk.c pk: guard key enrollment function with PSA_CRYPTO_CLIENT 2023-12-06 11:24:50 +01:00
pk_internal.h update headers 2023-11-02 19:47:20 +00:00
pk_wrap.c pk_wrap: try both ECDSA signature schemes in ecdsa_sign_psa() 2023-12-05 07:59:01 +01:00
pk_wrap.h update headers 2023-11-02 19:47:20 +00:00
pkcs5.c update headers 2023-11-02 19:47:20 +00:00
pkcs7.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
pkcs12.c update headers 2023-11-02 19:47:20 +00:00
pkparse.c pkparse: do not set key algorithm for Montgomery keys in pk_ecc_set_key() 2023-12-06 10:07:34 +01:00
pkwrite.c update headers 2023-11-02 19:47:20 +00:00
pkwrite.h update headers 2023-11-02 19:47:20 +00:00
platform.c update headers 2023-11-02 19:47:20 +00:00
platform_util.c Shortening a comment line 2023-12-01 12:23:26 +01:00
poly1305.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto.c Merge pull request #8630 from joerchan/mbedtls-tfm-compat 2023-12-15 09:31:27 +00:00
psa_crypto_aead.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_aead.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_cipher.c Merge pull request #8444 from Mbed-TLS/cvv-code-size 2023-11-06 12:50:37 +00:00
psa_crypto_cipher.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_client.c Error out when get domain_parameters is not supported 2023-12-08 17:30:26 +08:00
psa_crypto_core.h Move enum definition to satisfy check_names.py 2023-11-13 09:52:12 +00:00
psa_crypto_core_common.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_driver_wrappers_no_static.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_ecp.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_ecp.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_ffdh.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_ffdh.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_hash.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_hash.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_invasive.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_its.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_mac.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_mac.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_pake.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_pake.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_random_impl.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_rsa.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_rsa.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_se.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_se.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_slot_management.c Revert "Refactor psa_load_persistent_key_into_slot to remove bad goto" 2023-11-23 16:34:35 +00:00
psa_crypto_slot_management.h update headers 2023-11-02 19:47:20 +00:00
psa_crypto_storage.c update headers 2023-11-02 19:47:20 +00:00
psa_crypto_storage.h update headers 2023-11-02 19:47:20 +00:00
psa_its_file.c Use MBEDTLS_GET_UINTxx_BE macro 2023-11-21 17:09:46 +00:00
psa_util.c library: Move mbedtls_ecc helper functions to psa_util 2023-12-14 13:55:11 +01:00
psa_util_internal.h update headers 2023-11-02 19:47:20 +00:00
ripemd160.c update headers 2023-11-02 19:47:20 +00:00
rsa.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
rsa_alt_helpers.c update headers 2023-11-02 19:47:20 +00:00
rsa_alt_helpers.h update headers 2023-11-02 19:47:20 +00:00
sha1.c update headers 2023-11-02 19:47:20 +00:00
sha3.c update headers 2023-11-02 19:47:20 +00:00
sha256.c Merge remote-tracking branch 'origin/development' into msft-aarch64 2023-11-30 09:34:41 +00:00
sha512.c Merge remote-tracking branch 'origin/development' into msft-aarch64 2023-11-30 09:34:41 +00:00
ssl_cache.c update headers 2023-11-02 19:47:20 +00:00
ssl_ciphersuites.c ssl: use MBEDTLS_SSL_HAVE_* in ssl_ciphersuites.c 2023-11-08 12:01:26 +08:00
ssl_client.c Fix possible integer overflows before widening 2023-12-06 17:22:53 +00:00
ssl_client.h update headers 2023-11-02 19:47:20 +00:00
ssl_cookie.c update headers 2023-11-02 19:47:20 +00:00
ssl_debug_helpers.h update headers 2023-11-02 19:47:20 +00:00
ssl_misc.h change prototype of write_early_data_ext 2023-12-06 18:21:15 +08:00
ssl_msg.c Merge pull request #8514 from mschulz-at-hilscher/fixes/uninitialized-variable-in-ssl_msg 2023-12-06 11:06:03 +00:00
ssl_ticket.c Fix possible integer overflows before widening 2023-12-06 17:22:53 +00:00
ssl_tls.c Revert "set init value for max_early_data_size in session" 2023-12-06 18:18:33 +08:00
ssl_tls12_client.c Use MBEDTLS_GET_UINTxx_BE macro 2023-11-21 17:09:46 +00:00
ssl_tls12_server.c ssl_tls12_server: do not export/import opaque keys 2023-12-06 17:05:24 +01:00
ssl_tls13_client.c change prototype of write_early_data_ext 2023-12-06 18:21:15 +08:00
ssl_tls13_generic.c change prototype of write_early_data_ext 2023-12-06 18:21:15 +08:00
ssl_tls13_invasive.h update headers 2023-11-02 19:47:20 +00:00
ssl_tls13_keys.c Fix false claim of variables used unitialised 2023-12-18 14:49:34 +00:00
ssl_tls13_keys.h Fix overlooked files 2023-11-02 20:43:00 +00:00
ssl_tls13_server.c Some minor improvement 2023-12-06 18:21:16 +08:00
threading.c Fix comment typos 2023-11-23 18:53:13 +00:00
timing.c update headers 2023-11-02 19:47:20 +00:00
version.c update headers 2023-11-02 19:47:20 +00:00
x509.c update headers 2023-11-02 19:47:20 +00:00
x509_create.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
x509_crl.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
x509_crt.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
x509_csr.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
x509write.c update headers 2023-11-02 19:47:20 +00:00
x509write_crt.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00
x509write_csr.c Use size_t cast for pointer subtractions 2023-11-21 17:09:46 +00:00