mbedtls/library
Piotr Nowicki 26c33692b0 Fix CI failure.
For ASanDbg tests of the earlier implementation of the
mbedtls_platform_random_in_range(), there was no case where ‘shift’
value was zero. Such a case generated a bit shift of 32, which is treated
as an error by ASanDbg. Increasing the ‘shift’ value by one ensures that
it will always be non-zero.

Signed-off-by: Piotr Nowicki <piotr.nowicki@arm.com>
2020-08-11 16:41:34 +02:00
..
.gitignore
aes.c aes: move the fake key operations to AES_SCA_COUNTERMEASURES define 2020-07-19 05:01:44 -04: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
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 Revert a part of the sensitive information duplication changes 2020-07-15 16:31:27 -04:00
certs.c
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 Remove redundant block_size validity check 2020-03-13 15:37:54 +00:00
cmac.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
CMakeLists.txt Merge mbedtls 2.16.6 into baremetal 2020-05-18 11:47:25 -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 Merge mbedtls 2.16.6 into baremetal 2020-05-18 11:47:25 -04:00
entropy_poll.c Changed every memcpy to SCA equivalent mbedtls_platform_memcpy 2019-10-30 14:07:04 +02:00
entropy.c Duplicate sensitive buffer and buffer length information 2020-07-06 14:28:12 -04: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 Add Makefile option to exclude TinyCrypt files 2019-11-22 15:09:39 +00: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 Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +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 CI failure. 2020-08-11 16:41:34 +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 Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +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 Introduce sha256 security review fixes 2020-07-18 00:42:39 -04: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
ssl_cli.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
ssl_cookie.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
ssl_srv.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
ssl_ticket.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
ssl_tls.c Rename mbedtls_platform_memcmp() to mbedtls_platform_memequal() 2020-08-10 12:41:00 +02:00
threading.c
timing.c
version_features.c Add user pointer and data size duplication to ssl context. 2020-08-05 15:01:05 +03: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