diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-27 12:24:05 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-27 12:24:05 +0000 |
commit | df29cc8f77bcf09cdd245feeaea452f5f91e4125 (patch) | |
tree | aa076e181f80d3f226b75ead2a447c5111d0b58d /CHANGES | |
parent | ec7164133d09b1a8368ad064f501ab163f5cfebb (diff) | |
download | openssl-new-df29cc8f77bcf09cdd245feeaea452f5f91e4125.tar.gz |
Add OPENSSL_cleanse() to help cleanse memory and avoid certain compiler
and linker optimizations.
PR: 343
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2116,6 +2116,14 @@ des-cbc 3624.96k 5258.21k 5530.91k 5624.30k 5628.26k Changes between 0.9.6g and 0.9.6h [xx XXX xxxx] + *) New function OPENSSL_cleanse(), which is used to cleanse a section of + memory from it's contents. This is done with a counter that will + place alternating values in each byte. This can be used to solve + two issues: 1) the removal of calls to memset() by highly optimizing + compilers, and 2) cleansing with other values than 0, since those can + be read through on certain media, for example a swap space on disk. + [Geoff Thorpe] + *) Bugfix: client side session caching did not work with external caching, because the session->cipher setting was not restored when reloading from the external cache. This problem was masked, when |