aboutsummaryrefslogtreecommitdiff
path: root/crypto/mem_clr.c
AgeCommit message (Collapse)AuthorFilesLines
2016-08-02Fix some style issues...FdaSilvaYY1-1/+1
extra spacing and 80 cols Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1366)
2016-05-17Copyright consolidation 06/10Rich Salz1-54/+5
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-25RT4116: Change cleanse to just memsetRich Salz1-16/+9
See also the discussion in https://github.com/openssl/openssl/pull/455 Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-01-26Remove /* foo.c */ commentsRich Salz1-1/+0
This was done by the following find . -name '*.[ch]' | /tmp/pl where /tmp/pl is the following three-line script: print unless $. == 1 && m@/\* .*\.[ch] \*/@; close ARGV if eof; # Close file to reset $. And then some hand-editing of other files. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2015-12-18Remove the "eay" c-file-style indicatorsRichard Levitte1-1/+1
Since we don't use the eay style any more, there's no point tryint to tell emacs to use it. Reviewed-by: Matt Caswell <matt@openssl.org>
2015-11-21Declare cleanse_ctr variable as externAlessandro Ghedini1-0/+1
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-09-17Make sure OPENSSL_cleanse checks for NULLMatt Caswell1-0/+4
In master we have the function OPENSSL_clear_free(x,y), which immediately returns if x == NULL. In <=1.0.2 this function does not exist so we have to do: OPENSSL_cleanse(x, y); OPENSSL_free(x); However, previously, OPENSSL_cleanse did not check that if x == NULL, so the real equivalent check would have to be: if (x != NULL) OPENSSL_cleanse(x, y); OPENSSL_free(x); It would be easy to get this wrong during cherry-picking to other branches and therefore, for safety, it is best to just ensure OPENSSL_cleanse also checks for NULL. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell1-16/+16
Reviewed-by: Tim Hudson <tjh@openssl.org>
2007-06-23Fix warning.Ben Laurie1-1/+2
2007-06-20Optimize OPENSSL_cleanse.Andy Polyakov1-5/+6
2005-04-29avoid warnings when building on systems where sizeof(void *) > sizeof(int)Nils Larsch1-1/+1
2002-12-03Make CRYPTO_cleanse() independent of endianness.Richard Levitte1-1/+1
2002-11-27Add OPENSSL_cleanse() to help cleanse memory and avoid certain compilerRichard Levitte1-0/+75
and linker optimizations. PR: 343