Kurt Roeckx
|
3cb7c5cfef
Use void in all function definitions that do not take any arguments
|
vor 6 Jahren |
Andy Polyakov
|
f1c00b93e2
mem_sec.c: portability fixup.
|
vor 6 Jahren |
Andy Polyakov
|
014cc4b27a
mem_sec.c: portability fixup.
|
vor 6 Jahren |
Andy Polyakov
|
5839185cdd
mem_sec.c: relax POSIX requirement.
|
vor 6 Jahren |
Benjamin Kaduk
|
63ab5ea13b
Revert the crypto "global lock" implementation
|
vor 6 Jahren |
Bernd Edlinger
|
154d8c132f
Add a configure option to opt-out secure memory
|
vor 6 Jahren |
Richard Levitte
|
48e5119a6b
Copyright update of more files that have changed this year
|
vor 6 Jahren |
Richard Levitte
|
e44c7d02dd
Only implement secure malloc if _POSIX_VERSION allows
|
vor 6 Jahren |
Rich Salz
|
cbe2964821
Consistent formatting for sizeof(foo)
|
vor 7 Jahren |
Rich Salz
|
ed6b2c7938
Add CRYPTO_thread_glock_new
|
vor 7 Jahren |
Pauli
|
07016a8a31
Move e_os.h to be the very first include.
|
vor 7 Jahren |
Rich Salz
|
bef7a81530
Use "" not <> on e_os.h include
|
vor 7 Jahren |
Bernd Edlinger
|
4dae7cd3f0
Implement the CRYPTO_secure_clear_free function
|
vor 7 Jahren |
Rich Salz
|
624265c60e
Cleanup some copyright stuff
|
vor 7 Jahren |
Todd Short
|
c8e89d58a5
Tweak sec_mem tests
|
vor 7 Jahren |
Todd Short
|
7031ddac94
Fix infinite loops in secure memory allocation.
|
vor 7 Jahren |
Todd Short
|
9dfc5b9687
Add support for MLOCK_ONFAULT to secure arena
|
vor 7 Jahren |
Rich Salz
|
332dc4fa5e
sh_malloc & sh_free prototype change to match POSIX
|
vor 7 Jahren |
Pauli
|
70e14ffbaf
Ensure minsize >= sizeof(SH_LIST)
|
vor 7 Jahren |
Guido Vranken
|
7f07149d25
Prevent allocations of size 0 in sh_init, which are not possible with the default OPENSSL_zalloc, but are possible if the user has installed their own allocator using CRYPTO_set_mem_functions. If the 0-allocations succeeds, the secure heap code will later access (at least) the first byte of that space, which is technically an OOB access. This could lead to problems with some custom allocators that only return a valid pointer for subsequent free()-ing, and do not expect that the pointer is actually dereferenced.
|
vor 7 Jahren |
Rich Salz
|
4f22f40507
Copyright consolidation 06/10
|
vor 8 Jahren |
Viktor Dukhovni
|
5c4328f04f
Fold threads.h into crypto.h making API public
|
vor 8 Jahren |
Todd Short
|
e8408681b3
Secure memory fixes
|
vor 8 Jahren |
Matt Caswell
|
9471f7760d
Convert mem_dbg and mem_sec to the new Thread API
|
vor 8 Jahren |
Rich Salz
|
a773b52a61
Remove unused parameters from internal functions
|
vor 8 Jahren |
David Woodhouse
|
6a78ae2821
RT4313: Fix build for !IMPLEMENTED code path in CRYPTO_secure_free()
|
vor 8 Jahren |
Richard Levitte
|
05c7b1631b
Implement the use of heap manipulator implementions
|
vor 8 Jahren |
Richard Levitte
|
183733f882
Make sure to always include string.h so memset gets declared.
|
vor 8 Jahren |
Rich Salz
|
3538c7da3d
Add CRYPTO_secure_zalloc
|
vor 8 Jahren |
Rich Salz
|
d594199bb4
RT41897: Add an CRYPTO_secure_actual_size
|
vor 8 Jahren |