aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp/m_sha1.c
Commit message (Collapse)AuthorAgeFilesLines
* Copyright consolidation 04/10Rich Salz2016-05-171-54/+6
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove #error from include files.Rich Salz2016-03-201-3/+1
| | | | | | | | Don't have #error statements in header files, but instead wrap the contents of that file in #ifndef OPENSSL_NO_xxx This means it is now always safe to include the header file. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove /* foo.c */ commentsRich Salz2016-01-261-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>
* Add inclusion of internal/evp_int.h to all crypto/ files that need itRichard Levitte2015-12-071-0/+1
| | | | | | These are the files that add new EVP_MDs. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Adjust all accesses to EVP_MD_CTX to use accessor functions.Richard Levitte2015-12-071-12/+12
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove legacy sign/verify from EVP_MD.Dr. Stephen Henson2015-12-021-10/+5
| | | | | | | | | | | | | Remove sign/verify and required_pkey_type fields of EVP_MD: these are a legacy from when digests were linked to public key types. All signing is now handled by the corresponding EVP_PKEY_METHOD. Only allow supported digest types in RSA EVP_PKEY_METHOD: other algorithms already block unsupported types. Remove now obsolete EVP_dss1() and EVP_ecdsa(). Reviewed-by: Richard Levitte <levitte@openssl.org>
* Add ctrl for SHA1 and SSLv3Dr. Stephen Henson2015-11-241-0/+55
| | | | | | | Add SSLv3 ctrl to EVP_sha1() this is only needed if SSLv3 client authentication is used with DSA/ECDSA. Reviewed-by: Tim Hudson <tjh@openssl.org>
* Identify and move common internal libcrypto header filesRichard Levitte2015-05-141-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>
* OPENSSL_NO_xxx cleanup: SHARich Salz2015-01-271-13/+6
| | | | | | | | | | | | | | | Remove support for SHA0 and DSS0 (they were broken), and remove the ability to attempt to build without SHA (it didn't work). For simplicity, remove the option of not building various SHA algorithms; you could argue that SHA_224/256/384/512 should be kept, since they're like crypto algorithms, but I decided to go the other way. So these options are gone: GENUINE_DSA OPENSSL_NO_SHA0 OPENSSL_NO_SHA OPENSSL_NO_SHA1 OPENSSL_NO_SHA224 OPENSSL_NO_SHA256 OPENSSL_NO_SHA384 OPENSSL_NO_SHA512 Reviewed-by: Richard Levitte <levitte@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-121/+151
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* remove FIPS module code from crypto/evpDr. Stephen Henson2014-12-081-10/+5
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove unnecessary dependencies.Dr. Stephen Henson2011-02-211-1/+1
|
* Add FIPS flags to AES ciphers and SHA* digests.Dr. Stephen Henson2011-02-151-5/+5
|
* FIPS mode EVP changes:Dr. Stephen Henson2011-01-261-5/+11
| | | | | | | | | | | | | | Set EVP_CIPH_FLAG_FIPS on approved ciphers. Support "default ASN1" flag which avoids need for ASN1 dependencies in FIPS code. Include some defines to redirect operations to a "tiny EVP" implementation in some FIPS source files. Change m_sha1.c to use EVP_PKEY_NULL_method: the EVP_MD sign/verify functions are not used in OpenSSL 1.0 and later for SHA1 and SHA2 ciphers: the EVP_PKEY API is used instead.
* And so it begins...Dr. Stephen Henson2008-03-121-5/+5
| | | | | | | | | | Initial support for CMS. Add zlib compression BIO. Add AES key wrap implementation. Generalize S/MIME MIME code to support CMS and/or PKCS7.
* add support for ecdsa-with-sha256 etc.Nils Larsch2006-12-201-4/+4
|
* Remove link between digests and signature algorithms.Dr. Stephen Henson2006-04-191-1/+1
| | | | | Use cross reference table in ASN1_item_sign(), ASN1_item_verify() to eliminate the need for algorithm specific code.
* makeNils Larsch2005-07-161-0/+2
| | | | | | | | ./configure no-deprecated [no-dsa] [no-dh] [no-ec] [no-rsa] make depend all test work again PR: 1159
* EVP bindings to new SHA algorithms.Andy Polyakov2004-05-311-0/+104
|
* size_t-fication of message digest APIs. We should size_t-fy more APIs...Andy Polyakov2004-05-151-1/+1
|
* (oops) Apologies all, that last header-cleanup commit was from the wrongGeoff Thorpe2004-04-191-0/+1
| | | | | tree. This further reduces header interdependencies, and makes some associated cleanups.
* Make sure we get the definition of OPENSSL_NO_SHA.Richard Levitte2003-03-201-1/+3
|
* Add a cleanup function for MDs.Ben Laurie2001-09-071-0/+1
|
* Make MD functions take EVP_MD_CTX * instead of void *, add copy() function.Ben Laurie2001-09-021-3/+14
|
* Change the EVP_somecipher() and EVP_somedigest()Dr. Stephen Henson2001-03-091-2/+2
| | | | | | | functions to return constant EVP_MD and EVP_CIPHER pointers. Update docs.
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-1/+1
| | | | | | | | | | | | 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.
* Message digest stuff.Ulf Möller1999-04-271-0/+2
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-3/+3
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-1/+1
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-1/+3
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+79