openssl/crypto
Rich Salz b51bce9420 Add and use OPENSSL_zalloc
There are many places (nearly 50) where we malloc and then memset.
Add an OPENSSL_zalloc routine to encapsulate that.
(Missed one conversion; thanks Richard)
Also fixes GH328

Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-09-02 22:05:37 -04:00
..
aes RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
asn1 Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
bf RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
bio Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
bn Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
buffer More secure storage of key material. 2015-06-23 17:09:35 -04:00
camellia RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
cast RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
cmac
cms Add X509_up_ref function. 2015-08-31 23:18:55 +01:00
comp Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
conf RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
des RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
dh RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
dsa GH367 follow-up, for more clarity 2015-08-31 13:46:12 -04:00
dso Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
ec Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
ecdh RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
ecdsa RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
engine Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
err
evp Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
hmac Fix ABI break with HMAC 2015-06-12 13:16:09 +01:00
idea RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
include/internal make X509_CRL opaque 2015-09-02 21:26:17 +01:00
jpake
lhash RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
md2 RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
md4 RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
md5 RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
mdc2
modes Conversion to UTF-8 where needed 2015-07-14 01:10:01 +02:00
objects Add new GOST OIDs 2015-08-17 15:34:30 +01:00
ocsp Add X509_up_ref function. 2015-08-31 23:18:55 +01:00
pem RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
perlasm
pkcs7 Add X509_up_ref function. 2015-08-31 23:18:55 +01:00
pkcs12 RT4002: check for NULL cipher in p12_crpt.c 2015-09-01 20:01:38 +02:00
pqueue Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
rand RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
rc2 RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
rc4 RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
rc5 RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
ripemd RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
rsa Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
seed
sha RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
srp
stack RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
store Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
threads Cleanup mttest.c : because we no longer use stdio here, don't include it 2015-06-21 21:45:48 +02:00
ts Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
txt_db RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
ui Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
whrlpool Conversion to UTF-8 where needed 2015-07-14 01:10:01 +02:00
x509 Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
x509v3 Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c
armv4cpuid.pl
c64xpluscpuid.pl
cpt_err.c Rewrite crypto/ex_data 2015-07-20 01:16:28 -04:00
cryptlib.c
crypto-lib.com Remove obsolete key formats. 2015-07-16 01:06:48 -04:00
cversion.c
ebcdic.c
ex_data.c Rewrite crypto/ex_data 2015-07-20 01:16:28 -04:00
fips_err.h
fips_ers.c
ia64cpuid.S
install-crypto.com
lock.c
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
Makefile More secure storage of key material. 2015-06-23 17:09:35 -04:00
mem_clr.c
mem_dbg.c
mem.c Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
o_dir_test.c
o_dir.c
o_fips.c
o_init.c
o_str.c
o_time.c
opensslconf.h.in Make preprocessor error into real preprocessor error 2015-06-16 13:10:24 +02:00
pariscid.pl
ppc_arch.h
ppccap.c RT3990: Fix #include path. 2015-08-05 22:06:01 -04:00
ppccpuid.pl
s390xcap.c
s390xcpuid.S
sec_mem.c Add and use OPENSSL_zalloc 2015-09-02 22:05:37 -04:00
sparc_arch.h
sparccpuid.S Conversion to UTF-8 where needed 2015-07-14 01:10:01 +02:00
sparcv9cap.c
thr_id.c
uid.c
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl