boringssl/crypto/cipher_extra
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
..
asm Enable extra_in with the ChaCha20-Poly1305 AEAD. 2017-07-14 22:13:25 +00:00
test Add EVP_AEAD_CTX_{seal_scatter,open_gather}. 2017-06-09 23:10:49 +00:00
aead_test.cc Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
cipher_extra.c Move cipher/ into crypto/fipsmodule/ 2017-05-05 22:39:40 +00:00
cipher_test.cc Convert a number of tests to GTest. 2017-06-01 17:02:13 +00:00
CMakeLists.txt Convert a number of tests to GTest. 2017-06-01 17:02:13 +00:00
derive_key.c Move cipher/ into crypto/fipsmodule/ 2017-05-05 22:39:40 +00:00
e_aesctrhmac.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
e_aesgcmsiv.c Zero memory in |OPENSSL_free|. 2017-09-06 19:22:46 +00:00
e_chacha20poly1305.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
e_null.c Move cipher/ into crypto/fipsmodule/ 2017-05-05 22:39:40 +00:00
e_rc2.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
e_rc4.c Move cipher/ into crypto/fipsmodule/ 2017-05-05 22:39:40 +00:00
e_ssl3.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
e_tls.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
tls_cbc.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00