openssl/crypto
Rich Salz 9ee344f5cd Cleanup RAND_load_file,RAND_write_file
Document an internal assumption that these are only for use with files,
and return an error if not. That made the code much simpler.
Leave it as writing 1024 bytes, even though we don't need more than 256
from a security perspective.  But the amount isn't specified, now, so we
can change it later if we want.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3864)
2017-07-06 13:59:11 -04:00
..
aes x86_64 assembly pack: fill some blanks in Ryzen results. 2017-07-03 18:17:00 +02:00
aria Correct Oracle copyrights & clarify. 2017-06-15 15:50:50 +10:00
asn1 Memory bounds checking in asn1 code. 2017-07-06 12:59:51 +10:00
async make error tables const and separate header file 2017-06-07 15:12:03 -04:00
bf
bio Undo commit d420ac2 2017-07-05 11:32:35 +10:00
blake2
bn Undo commit d420ac2 2017-07-05 11:32:35 +10:00
buffer make error tables const and separate header file 2017-06-07 15:12:03 -04:00
camellia
cast
chacha x86_64 assembly pack: fill some blanks in Ryzen results. 2017-07-03 18:17:00 +02:00
cmac
cms make error tables const and separate header file 2017-06-07 15:12:03 -04:00
comp make error tables const and separate header file 2017-06-07 15:12:03 -04:00
conf Undo commit d420ac2 2017-07-05 11:32:35 +10:00
ct Fix memory leaks in CTLOG_new_from_base64 2017-06-09 13:32:29 -04:00
des Undo commit d420ac2 2017-07-05 11:32:35 +10:00
dh Change to check last return value of BN_CTX_get 2017-06-26 15:40:16 +02:00
dsa Fix a possible crash in dsa_builtin_paramgen2. 2017-06-14 09:35:48 -04:00
dso Put message strings in state files 2017-06-12 15:03:40 -04:00
ec Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
engine Undo commit d420ac2 2017-07-05 11:32:35 +10:00
err Cleanup RAND_load_file,RAND_write_file 2017-07-06 13:59:11 -04:00
evp Fix small UI issues 2017-07-05 11:15:37 +02:00
hmac
idea
include/internal Add fork handlers, based on pthread_atfork 2017-06-29 16:19:41 -04:00
kdf make error tables const and separate header file 2017-06-07 15:12:03 -04:00
lhash Add a lock around the OBJ_NAME table 2017-06-07 11:23:37 -04:00
md2
md4
md5 Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
mdc2
modes Undo commit cd359b2 2017-07-05 17:06:57 -04:00
objects Add two trivial fixes from old commits 2017-07-05 19:20:33 -04:00
ocsp Fix return-value checks in OCSP_resp_get1_id() 2017-06-27 10:49:53 -05:00
pem Undo commit d420ac2 2017-07-05 11:32:35 +10:00
perlasm perlasm/ppc-xlate.pl: add PowerISA 3.0B instructions. 2017-06-13 18:37:08 +02:00
pkcs7 make error tables const and separate header file 2017-06-07 15:12:03 -04:00
pkcs12 make error tables const and separate header file 2017-06-07 15:12:03 -04:00
poly1305 x86_64 assembly pack: fill some blanks in Ryzen results. 2017-07-03 18:17:00 +02:00
rand Cleanup RAND_load_file,RAND_write_file 2017-07-06 13:59:11 -04:00
rc2
rc4 Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
rc5
ripemd
rsa Change to check last return value of BN_CTX_get 2017-06-26 15:40:16 +02:00
seed
sha sha/keccak1600.c: internalize KeccakF1600 and simplify SHA3_absorb. 2017-07-03 18:18:10 +02:00
siphash
srp
stack
store STORE 'file' scheme loader: fix try_decode_params() to check ambiguity 2017-07-05 22:38:00 +02:00
ts Put message strings in state files 2017-06-12 15:03:40 -04:00
txt_db
ui Fix small UI issues 2017-07-05 11:15:37 +02:00
whrlpool Fix a read off the end of the input buffer 2017-06-08 16:05:52 -04:00
x509 Undo commit d420ac2 2017-07-05 11:32:35 +10:00
x509v3 Avoid possible memleak in X509_policy_check() 2017-07-05 11:14:07 +02:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c Modify type of variable in OPENSSL_cpuid_setup function 2017-06-16 16:58:51 -04:00
armv4cpuid.pl
build.info
c64xpluscpuid.pl
cpt_err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00
cryptlib.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
cversion.c Undo commit d420ac2 2017-07-05 11:32:35 +10:00
dllmain.c
ebcdic.c
ex_data.c Fix ex_data and session_dup issues 2017-06-02 12:11:38 -04:00
ia64cpuid.S
init.c Fix atfork flag. Avoid double-negatives :) 2017-06-30 14:47:02 -04:00
LPdir_nyi.c Fix typo (note by oneton@users.github) 2017-06-20 08:15:00 -04:00
LPdir_unix.c Fix typo (note by oneton@users.github) 2017-06-20 08:15:00 -04:00
LPdir_vms.c Fix typo (note by oneton@users.github) 2017-06-20 08:15:00 -04:00
LPdir_win32.c Fix typo (note by oneton@users.github) 2017-06-20 08:15:00 -04:00
LPdir_win.c Fix typo (note by oneton@users.github) 2017-06-20 08:15:00 -04:00
LPdir_wince.c Fix typo (note by oneton@users.github) 2017-06-20 08:15:00 -04:00
mem_clr.c
mem_dbg.c Undo commit d420ac2 2017-07-05 11:32:35 +10:00
mem_sec.c Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
mem.c Use the return value from write(2) 2017-07-04 09:56:05 +10:00
mips_arch.h
o_dir.c
o_fips.c
o_fopen.c
o_init.c
o_str.c
o_time.c
pariscid.pl
ppc_arch.h
ppccap.c
ppccpuid.pl
s390xcap.c
s390xcpuid.S
sparc_arch.h
sparccpuid.S
sparcv9cap.c
threads_none.c Fix build with no-threads no-ec 2017-06-30 19:55:47 +01:00
threads_pthread.c Add fork handlers, based on pthread_atfork 2017-06-29 16:19:41 -04:00
threads_win.c Add fork handlers, based on pthread_atfork 2017-06-29 16:19:41 -04:00
uid.c
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl