boringssl/crypto
Martin Kreichgauer c0e15d1d9d Zero memory in |OPENSSL_free|.
Allocations by |OPENSSL_malloc| are prefixed with their length.
|OPENSSL_free| zeros the allocation before calling free(), eliminating
the need for a separate call to |OPENSSL_cleanse| for sensitive data.

This change will be followed up by the cleanup in
https://boringssl-review.googlesource.com/c/boringssl/+/19824.

Change-Id: Ie272f07e9248d7d78af9aea81dacec0fdb7484c4
Reviewed-on: https://boringssl-review.googlesource.com/19544
Reviewed-by: Martin Kreichgauer <martinkr@google.com>
Commit-Queue: Martin Kreichgauer <martinkr@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-09-06 19:22:46 +00:00
..
asn1 Fix miscellaneous clang-tidy warnings. 2017-08-01 20:39:46 +00:00
base64 Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
bio Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
bn_extra Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
buf Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
bytestring Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
chacha Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
cipher_extra Zero memory in |OPENSSL_free|. 2017-09-06 19:22:46 +00:00
cmac Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
conf Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
curve25519 Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
dh Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
digest_extra Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
dsa Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
ec_extra Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
ecdh Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
ecdsa_extra Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
engine Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
err Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
evp Print errors better in FileTestGTest. 2017-09-05 17:24:15 +00:00
fipsmodule Fix build when linux-headers are not installed. 2017-08-24 00:35:05 +00:00
hkdf Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
hmac_extra Convert a number of tests to GTest. 2017-06-01 17:02:13 +00:00
lhash Use OPENSSL_hash32 in lh_strhash. 2017-08-21 21:10:22 +00:00
obj Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
pem OPENSSL_cleanse some buffers. 2017-08-09 00:17:52 +00:00
perlasm Sync ARM assembly up to 609b0852e4d50251857dbbac3141ba042e35a9ae. 2017-06-13 17:47:20 +00:00
pkcs7 Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
pkcs8 Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
poly1305 Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
pool Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
rand_extra Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
rc4
rsa_extra Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
stack Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
test Clarify ERR_print_errors_* clear the error queue. 2017-09-05 17:31:25 +00:00
x509 Add default cert store on Fuchsia 2017-08-15 18:58:58 +00:00
x509v3 Use functions that do not depend on the current locale. 2017-07-25 22:53:33 +00:00
CMakeLists.txt Tidy up some Windows compiler assumptions. 2017-08-16 19:57:06 +00:00
compiler_test.cc Test that nullptr has the obvious memory representation. 2017-07-28 17:39:28 +00:00
constant_time_test.cc Switch constant-time functions to using |crypto_word_t|. 2017-04-21 22:06:05 +00:00
cpu-aarch64-linux.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
cpu-arm-linux.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
cpu-arm.c
cpu-intel.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
cpu-ppc64le.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
crypto.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
ex_data.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
internal.h Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
mem.c Zero memory in |OPENSSL_free|. 2017-09-06 19:22:46 +00:00
refcount_c11.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
refcount_lock.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
refcount_test.cc Convert various tests to GTest. 2017-05-23 22:34:09 +00:00
thread_none.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
thread_pthread.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
thread_test.cc Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
thread_win.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
thread.c