mbedtls/library
Andrzej Kurek 42ed2d3c59 Fix the usage of ssl context after its nullified
Previously, it was possible to access a null pointer
even though the given configuration should work.
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
2021-01-04 09:36:53 -05:00
..
.gitignore
aes.c aes masking bug fix 2020-12-13 18:32:09 +02:00
aesni.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
arc4.c Changed mbedtls_platform_memcpy back to memcpy for selftest and test functions 2019-10-30 14:07:04 +02:00
aria.c Changed mbedtls_platform_memset/cpy/cmp in selftest functions back to original methods 2019-10-30 14:07:04 +02:00
asn1parse.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
asn1write.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
base64.c Changed every memcmp to SCA equivalent mbedtls_platform_memcmp 2019-10-03 13:14:33 +03:00
bignum.c Add new error code PLATFORM_ALLOC_FAILED for mbedtls_platform_memmove() 2020-06-10 13:51:32 +02:00
blowfish.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
camellia.c Changed mbedtls_platform_memset/cpy/cmp in selftest functions back to original methods 2019-10-30 14:07:04 +02:00
ccm.c Make CCM shuffling and masking optional 2020-11-26 06:35:04 -05:00
certs.c Fixup certs.c: Remove redundant TinyCrypt guard 2019-09-04 16:19:49 +01:00
chacha20.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
chachapoly.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
cipher_wrap.c Wrap AES 192 and 256 info structures in !AES_ONLY_128_BIT_KEY_LENGTH 2020-06-30 05:03:19 -04:00
cipher.c [baremetal] Avoid narrow loop counters etc 2020-11-06 10:56:16 +02:00
cmac.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
CMakeLists.txt Add a CRC module to mbedtls and baremetal config 2020-08-08 02:10:52 -04:00
crc.c Add a CRC module to mbedtls and baremetal config 2020-08-08 02:10:52 -04:00
ctr_drbg.c Catch AES failure in mbedtls_ctr_drbg_random 2020-03-13 15:36:04 +00:00
debug.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
des.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
dhm.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
ecdh.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
ecdsa.c hmac_drbg: make no reseeding behaviour explicit 2020-07-19 09:00:18 -04:00
ecjpake.c Changed mbedtls_platform_memset/cpy/cmp in selftest functions back to original methods 2019-10-30 14:07:04 +02:00
ecp_curves.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
ecp.c [baremetal] Avoid narrow loop counters etc 2020-11-06 10:56:16 +02:00
entropy_poll.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
entropy.c Checking in critical places if secured memset() and memcpy() was successful 2020-08-12 15:22:20 +02:00
error.c Add new error code PLATFORM_ALLOC_FAILED for mbedtls_platform_memmove() 2020-06-10 13:51:32 +02:00
gcm.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
havege.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
hkdf.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
hmac_drbg.c hmac_drbg: make no reseeding behaviour explicit 2020-07-19 09:00:18 -04:00
Makefile Makefile: alphabetically order object files 2020-08-08 19:08:26 -04:00
md2.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
md4.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
md5.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
md.c Include platform.h in hmac_drbg.c and md.c 2019-11-25 17:32:28 +02:00
memory_buffer_alloc.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
net_sockets.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
nist_kw.c Add new error code PLATFORM_ALLOC_FAILED for mbedtls_platform_memmove() 2020-06-10 13:51:32 +02:00
oid.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
padlock.c Added include platform_util.h to padlock.c to fix compile with all defines variants 2019-10-30 14:07:04 +02:00
pem.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
pk.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
pkcs5.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
pkcs11.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
pkcs12.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
pkparse.c Checking in critical places if secured memset() and memcpy() was successful 2020-08-12 15:22:20 +02:00
pkwrite.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
platform_util.c fix flow control check 2020-12-14 18:57:52 +02:00
platform.c
poly1305.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
ripemd160.c Changed mbedtls_platform_memset/cpy/cmp in selftest functions back to original methods 2019-10-30 14:07:04 +02:00
rsa_internal.c
rsa.c Checking in critical places if secured memset() and memcpy() was successful 2020-08-12 15:22:20 +02:00
sha1.c Changed mbedtls_platform_memset/cpy/cmp in selftest functions back to original methods 2019-10-30 14:07:04 +02:00
sha256.c Add random delays to sha256 to protect against fault injection 2020-11-25 06:38:05 -05:00
sha512.c Changed mbedtls_platform_memset/cpy/cmp in selftest functions back to original methods 2019-10-30 14:07:04 +02:00
ssl_cache.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
ssl_ciphersuites.c Fixup: Add missing TinyCrypt guards 2019-09-04 16:17:45 +01:00
ssl_cli.c Introduce additional fault injection protection to ssl_cli.c 2020-12-23 03:45:53 -05:00
ssl_cookie.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
ssl_srv.c Add an "SSL" infix to MBEDTLS_IMMEDIATE_TRANSMISSION 2020-12-21 07:56:57 -05:00
ssl_ticket.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
ssl_tls.c Fix the usage of ssl context after its nullified 2021-01-04 09:36:53 -05:00
threading.c
timing.c
version_features.c Add an "SSL" infix to MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION 2020-12-21 08:11:36 -05:00
version.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
x509_create.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
x509_crl.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
x509_crt.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
x509_csr.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
x509.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
x509write_crt.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
x509write_csr.c Add missing return code check on call to mbedtls_md() 2020-03-13 15:36:05 +00:00
xtea.c Changed mbedtls_platform_memcpy back to memcpy for selftest and test functions 2019-10-30 14:07:04 +02:00