aboutsummaryrefslogtreecommitdiff
path: root/crypto/evp/p5_crpt.c
AgeCommit message (Collapse)AuthorFilesLines
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-07Cleanup: fix all sources that used EVP_MD_CTX_(create|init|destroy)Richard Levitte1-2/+2
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-12-07Have other crypto/evp files include evp_locl.hRichard Levitte1-10/+15
Note: this does not include the files in crypto/evp that are just instanciations of EVP_MD. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-05-14Identify and move common internal libcrypto header filesRichard Levitte1-1/+1
There are header files in crypto/ that are used by a number of crypto/ submodules. Move those to crypto/include/internal and adapt the affected source code and Makefiles. The header files that got moved are: crypto/cryptolib.h crypto/md32_common.h Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-03-30Remove duplicate code.Dr. Stephen Henson1-3/+2
Update code to use ASN1_TYPE_pack_sequence and ASN1_TYPE_unpack_sequence instead of performing the same operation manually. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell1-68/+74
Reviewed-by: Tim Hudson <tjh@openssl.org>
2012-03-22fix leakDr. Stephen Henson1-0/+1
2009-09-23Audit libcrypto for unchecked return values: fix all cases enounteredDr. Stephen Henson1-11/+21
2008-12-29If we're going to return errors (no matter how stupid), then we shouldBen Laurie1-1/+5
test for them!
2008-11-05Update obsolete email address...Dr. Stephen Henson1-1/+1
2006-05-15Change builting PBE to use static table. Add entries for HMAC and MD5, GOST.Dr. Stephen Henson1-33/+1
2006-05-14Extend PBE code to support non default PKCS#5 v2.0 PRFs.Dr. Stephen Henson1-0/+1
2005-07-26improved error checking and some fixesNils Larsch1-2/+7
PR: 1170 Submitted by: Yair Elharrar Reviewed and edited by: Nils Larsch
2004-03-15Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte1-1/+2
functions and macros. This change has associated tags: LEVITTE_before_const and LEVITTE_after_const. Those will be removed when this change has been properly reviewed.
2003-10-29A general spring-cleaning (in autumn) to fix up signed/unsigned warnings.Geoff Thorpe1-1/+1
I have tried to convert 'len' type variable declarations to unsigned as a means to address these warnings when appropriate, but when in doubt I have used casts in the comparisons instead. The better solution (that would get us all lynched by API users) would be to go through and convert all the function prototypes and structure definitions to use unsigned variables except when signed is necessary. The proliferation of (signed) "int" for strictly non-negative uses is unfortunate.
2002-11-28Cleanse memory using the new OPENSSL_cleanse() function.Richard Levitte1-3/+3
I've covered all the memset()s I felt safe modifying, but may have missed some.
2002-11-13Security fixes brought forward from 0.9.7.Ben Laurie1-0/+2
2002-07-10Reorder inclusion of header files:Lutz Jänicke1-1/+1
des_old.h redefines crypt: #define crypt(b,s)\ DES_crypt((b),(s)) This scheme leads to failure, if header files with the OS's true definition of crypt() are processed _after_ des_old.h was processed. This is e.g. the case on HP-UX with unistd.h. As evp.h now again includes des.h (which includes des_old.h), this problem only came up after this modification. Solution: move header files (indirectly) including e_os.h before the header files (indirectly) including evp.h. Submitted by: Reviewed by: PR:
2001-10-17Modify EVP cipher behaviour in a similar wayDr. Stephen Henson1-1/+1
to digests to retain compatibility.
2001-10-16Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()Dr. Stephen Henson1-8/+8
with existing code. Modify library to use digest *_ex() functions.
2001-07-30Really add the EVP and all of the DES changes.Ben Laurie1-0/+2
2001-03-09Change the EVP_somecipher() and EVP_somedigest()Dr. Stephen Henson1-1/+1
functions to return constant EVP_MD and EVP_CIPHER pointers. Update docs.
2001-02-19Make all configuration macros available for application by makingRichard Levitte1-9/+9
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
2000-05-04Make PKCS#12 code handle missing passwords.Dr. Stephen Henson1-0/+3
Add a couple of FAQs.
1999-06-30More no-xxx option tweaks.Ulf Möller1-0/+14
1999-06-10Two new functions to write out PKCS#8 private keys. Also fixes for some ofDr. Stephen Henson1-1/+1
the the PBE code and a new constant PKCS5_DEFAULT_ITER for the default iteration count if it is passed as zero.
1999-06-08Complete support for PKCS#5 v2.0. Still needs extensive testing.Dr. Stephen Henson1-0/+1
1999-06-07This is the main PKCS#5 v2.0 key generation function, it parses the ASN1Dr. Stephen Henson1-3/+3
structure and decides what key to generate (if any). Not currently added to the PBE algorithm list because it is largely untested.
1999-06-06Change PBE handling a bit more: now the key and iv generator does callsDr. Stephen Henson1-3/+8
EVP_CipherInit() this because the IV wont be easily available when doing PKCS#5 v2.0
1999-06-06Rewrite PBE handling read to support PKCS#5 v2.0 and update the functionDr. Stephen Henson1-2/+20
list for Win32.
1999-06-04Add PKCS#5 v1.5 compatible algorithms and initial PKCS#8 support. PKCS#8 needsDr. Stephen Henson1-0/+108
more work: need an application and make the private key routines automatically handle PKCS#8.