mbedtls/library
Manuel Pégourié-Gonnard 54526c3c89 Use plain memset() for freshly allocated objects
This commits reverts to plain memset() for cases like:

    some_type foo;
    memset( &foo, 0, sizeof( foo ) );

(Sometimes there is code between declaration in memset(), but it doesn't
matter as long as it doesn't touch foo.)

The reasoning is the same as in the previous commit: the stack shouldn't
contain sensitive data as we carefully wipe it after use.
2019-10-22 10:03:07 +02:00
..
.gitignore
aes.c Use plain memset() in context init functions 2019-10-22 10:03:07 +02:00
aesni.c
arc4.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
aria.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
asn1parse.c Use plain memset() for freshly allocated objects 2019-10-22 10:03:07 +02:00
asn1write.c
base64.c
bignum.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
blowfish.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
camellia.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
ccm.c Use plain memset() for freshly allocated objects 2019-10-22 10:03:07 +02:00
certs.c Fixup certs.c: Remove redundant TinyCrypt guard 2019-09-04 16:19:49 +01:00
chacha20.c
chachapoly.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
cipher_wrap.c
cipher.c Use plain memset() in context init functions 2019-10-22 10:03:07 +02:00
cmac.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
CMakeLists.txt Merge remote-tracking branch 'public/pr/2835' into baremetal 2019-09-24 15:28:35 +01:00
ctr_drbg.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
debug.c Fix missing include in some files 2019-10-22 10:03:07 +02:00
des.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +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 Merge branch 'baremetal' into baremetal-2.16-20190909 2019-09-12 09:58:14 +02:00
ecjpake.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
ecp_curves.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
ecp.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
entropy_poll.c Fix missing include in some files 2019-10-22 10:03:07 +02:00
entropy.c Use plain memset() for freshly allocated objects 2019-10-22 10:03:07 +02:00
error.c Fix missing include in some files 2019-10-22 10:03:07 +02:00
gcm.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
havege.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
hkdf.c Introduce MD handle type 2019-09-09 09:45:57 +01:00
hmac_drbg.c Use plain memset() for freshly allocated objects 2019-10-22 10:03:07 +02:00
Makefile Merge pk_wrap into pk.c 2019-09-19 10:45:14 +02:00
md2.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
md4.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
md5.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
md.c Use plain memset() in context init functions 2019-10-22 10:03:07 +02:00
memory_buffer_alloc.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
net_sockets.c Fix missing include in some files 2019-10-22 10:03:07 +02:00
nist_kw.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
oid.c Fixup: Add missing TinyCrypt guards 2019-09-04 16:17:45 +01:00
padlock.c
pem.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
pk.c Use plain memset() in context init functions 2019-10-22 10:03:07 +02:00
pkcs5.c Fix missing include in some files 2019-10-22 10:03:07 +02:00
pkcs11.c Fix missing include in some files 2019-10-22 10:03:07 +02:00
pkcs12.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
pkparse.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
pkwrite.c Merge remote-tracking branch 'public/pr/2835' into baremetal 2019-09-24 15:28:35 +01:00
platform_util.c Use platform_memset() in platform_zeroize() 2019-10-22 10:03:07 +02:00
platform.c
poly1305.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
ripemd160.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
rsa_internal.c
rsa.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
sha1.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
sha256.c Use plain memset() in context init functions 2019-10-22 10:03:07 +02:00
sha512.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
ssl_cache.c Fix missing include in some files 2019-10-22 10:03:07 +02:00
ssl_ciphersuites.c Fixup: Add missing TinyCrypt guards 2019-09-04 16:17:45 +01:00
ssl_cli.c Remove dependency from SSL on PK internals 2019-09-19 10:45:14 +02:00
ssl_cookie.c Review corrections 2 2019-09-09 17:21:18 +03:00
ssl_srv.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
ssl_ticket.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
ssl_tls.c Use plain memset() for freshly allocated objects 2019-10-22 10:03:07 +02:00
threading.c
timing.c
version_features.c Merge remote-tracking branch 'origin/pr/609' into baremetal 2019-09-10 14:50:04 +01:00
version.c
x509_create.c
x509_crl.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
x509_crt.c Use plain memset() for freshly allocated objects 2019-10-22 10:03:07 +02:00
x509_csr.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
x509.c Use plain memset() for freshly allocated objects 2019-10-22 10:03:07 +02:00
x509write_crt.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
x509write_csr.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00
xtea.c Replace memset() with mbedtls_platform_memset() 2019-10-22 10:03:07 +02:00