mbedtls/library
Manuel Pégourié-Gonnard 7fe2c5f086 Add mbedtls_ssl_cf_memcpy_offset() with tests
The tests are supposed to be failing now (in all.sh component
test_memsan_constant_flow), but they don't as apparently MemSan doesn't
complain when the src argument of memcpy() is uninitialized, see
https://github.com/google/sanitizers/issues/1296

The next commit will add an option to test constant flow with valgrind, which
will hopefully correctly flag the current non-constant-flow implementation.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-08-19 11:56:02 +02:00
..
.gitignore
aes.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
aesni.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
arc4.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
aria.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
asn1parse.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
asn1write.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
base64.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
bignum.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
blowfish.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
camellia.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ccm.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
certs.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
chacha20.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
chachapoly.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
cipher_wrap.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
cipher.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
cmac.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
CMakeLists.txt Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
common.h New header common.h; define MBEDTLS_STATIC_TESTABLE 2020-03-24 22:57:11 +01:00
ctr_drbg.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
debug.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
des.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
dhm.c Merge pull request #709 from mpg/protect-base-blinding-dev-restricted 2020-07-29 10:58:53 +02:00
ecdh.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecdsa.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecjpake.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ecp_curves.c Add guards around code that is specific to dynamically-loaded groups 2020-07-22 03:17:23 +02:00
ecp.c Minor documentation improvements 2020-07-22 03:17:25 +02:00
entropy_poll.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
entropy.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
error.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
gcm.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
havege.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
hkdf.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
hmac_drbg.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
Makefile Merge pull request #3454 from gilles-peskine-arm/include-common-h-development 2020-07-03 09:44:18 +02:00
md2.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
md4.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
md5.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
md.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
memory_buffer_alloc.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
net_sockets.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
nist_kw.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
oid.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
padlock.c Use local labels in padlock.c 2020-07-04 01:43:41 +08:00
pem.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pk_wrap.c Merge pull request #3392 from paul-elliott-arm/psa_ecc_dh_macros 2020-07-07 09:20:44 +02:00
pk.c Merge pull request #3392 from paul-elliott-arm/psa_ecc_dh_macros 2020-07-07 09:20:44 +02:00
pkcs5.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkcs11.c Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
pkcs12.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkparse.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
pkwrite.c Merge remote-tracking branch 'mbedtls/development' into montgomery-keys-clarification 2020-07-13 11:48:21 +02:00
platform_util.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
platform.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
poly1305.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto_core.h Remove ECP internal representation from key slot 2020-07-24 23:44:31 +02:00
psa_crypto_invasive.h
psa_crypto_its.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_se.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto_se.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_service_integration.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_slot_management.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
psa_crypto_slot_management.h Merge pull request #3382 from stevew817/feature/volatile-keys-in-SE 2020-06-26 20:27:11 +02:00
psa_crypto_storage.c Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_storage.h Switch storage functions over to psa_core_key_attributes_t 2019-07-31 14:15:27 +02:00
psa_crypto.c Initialize key pointer in ecdh to NULL 2020-08-05 17:38:47 +02:00
psa_its_file.c Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
ripemd160.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
rsa_internal.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
rsa.c Merge branch 'development' into development-restricted 2020-08-14 10:11:21 +02:00
sha1.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
sha256.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
sha512.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_cache.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_ciphersuites.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_cli.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_cookie.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_invasive.h Add mbedtls_ssl_cf_memcpy_offset() with tests 2020-08-19 11:56:02 +02:00
ssl_msg.c Add mbedtls_ssl_cf_memcpy_offset() with tests 2020-08-19 11:56:02 +02:00
ssl_srv.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_ticket.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
ssl_tls.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
threading.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
timing.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
version_features.c Add MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN 2020-07-15 12:26:22 +02:00
version.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_create.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_crl.c Merge pull request #721 from gilles-peskine-arm/x509parse_crl-empty_entry-development 2020-08-14 23:22:31 +02:00
x509_crt.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509_csr.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509write_crt.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00
x509write_csr.c Merge pull request #3464 from CodeMonkeyLeet/csr_heap_alloc 2020-07-10 10:57:22 +02:00
xtea.c Include common.h instead of config.h in library source files 2020-07-02 11:26:57 +02:00