aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_err.c
Commit message (Collapse)AuthorAgeFilesLines
* Make PKCS8_PRIV_KEY_INFO opaque.Dr. Stephen Henson2016-03-071-2/+1
| | | | | | | | | | Make PKCS8_PRIV_KEY_INFO opaque. Several accessor functions already exist for this structure. Two new ones were added to handle attributes. The old handling of broken formats has been removed and the corresponding structures simplified. Reviewed-by: Rich Salz <rsalz@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 EVP_PKEY_get0_* functions.Dr. Stephen Henson2015-12-141-5/+5
| | | | Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* crypto/evp: add e_chacha20_poly1305.c.Andy Polyakov2015-12-101-6/+5
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Rebuild error source files.Dr. Stephen Henson2015-11-051-15/+18
| | | | | | | Rebuild error source files: the new mkerr.pl functionality will now pick up and translate static function names properly. Reviewed-by: Richard Levitte <levitte@openssl.org>
* Error if memory limit exceeded.Dr. Stephen Henson2015-05-261-0/+2
| | | | | | | Set a specific error if the parameters are otherwise valid but exceed the memory limit. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add scrypt PBE algorithm code.Dr. Stephen Henson2015-05-211-5/+5
| | | | | | | | This adds support for the ASN.1 structures in draft-josefsson-scrypt-kdf-03 Private keys encrypted by scrypt can now be decrypted transparently as long as they don't exceed the memory limits. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-169/+180
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* EVP support for wrapping algorithms.Dr. Stephen Henson2013-07-171-1/+2
| | | | | | | | | Add support for key wrap algorithms via EVP interface. Generalise AES wrap algorithm and add to modes, making existing AES wrap algorithm a special case. Move test code to evptests.txt
* correct error function codeDr. Stephen Henson2012-11-051-1/+2
|
* fix error codeDr. Stephen Henson2012-10-181-0/+1
|
* PR: 2840Dr. Stephen Henson2012-07-031-0/+8
| | | | | | Reported by: David McCullough <david_mccullough@mcafee.com> Restore fips configuration module from 0.9.8.
* make updateBodo Möller2011-09-051-3/+5
|
* Add length limitation from SP800-38E.Dr. Stephen Henson2011-04-151-0/+2
|
* make updateRichard Levitte2011-03-241-0/+2
|
* Add non-FIPS algorithm blocking and selftest checking.Dr. Stephen Henson2011-02-151-0/+1
|
* Fix error codes.Bodo Möller2011-02-031-0/+4
|
* Add AES counter mode to EVP.Andy Polyakov2010-02-231-1/+2
|
* Add missing function EVP_CIPHER_CTX_copy(). Current code uses memcpy() to copyDr. Stephen Henson2010-02-071-0/+1
| | | | | an EVP_CIPHER_CTX structure which may have problems with external ENGINEs who need to duplicate internal handles etc.
* PR: 2127Dr. Stephen Henson2009-12-171-0/+2
| | | | | | Submitted by: Tomas Mraz <tmraz@redhat.com> Check for lookup failures in EVP_PBE_CipherInit().
* Split PBES2 into cipher and PBKDF2 versions. This tidies the code somewhatDr. Stephen Henson2009-11-251-0/+1
| | | | and is a pre-requisite to adding password based CMS support.
* Fix error code.Dr. Stephen Henson2009-08-061-2/+3
|
* If we're going to return errors (no matter how stupid), then we shouldBen Laurie2008-12-291-1/+3
| | | | test for them!
* New function EVP_PKEY_asn1_copy(). Use default MD if type param is NULL.Dr. Stephen Henson2007-05-151-1/+3
|
* Update from 0.9.8 stable. Eliminate duplicate error codes.Dr. Stephen Henson2006-11-211-7/+4
|
* Fix various error codes to match functions.Dr. Stephen Henson2006-07-171-0/+1
|
* Camellia cipher, contributed by NTTBodo Möller2006-06-091-0/+2
| | | | | Submitted by: Masashi Fujita Reviewed by: Bodo Moeller
* Complete EVP_PKEY_ASN1_METHOD ENGINE support.Dr. Stephen Henson2006-06-051-0/+2
|
* Add ENGINE support for EVP_PKEY_METHOD including lookups of ENGINEDr. Stephen Henson2006-06-021-0/+2
| | | | | implementations and functional reference counting when a context is allocated, free or copied.
* Use more flexible method of determining output length, by setting &outlenDr. Stephen Henson2006-04-151-3/+4
| | | | | | | | value of the passed output buffer is NULL. The old method of using EVP_PKEY_size(pkey) isn't flexible enough to cover all cases where the output length may depend on the operation or the parameters associated with it.
* Complete key derivation support.Dr. Stephen Henson2006-04-131-0/+3
|
* Add key derivation support.Dr. Stephen Henson2006-04-131-0/+2
|
* Initial DSA EVP_PKEY_METHOD. Fixup some error codes.Dr. Stephen Henson2006-04-121-4/+7
|
* Initial keygen support.Dr. Stephen Henson2006-04-111-0/+4
|
* Support for digest signing and X931 in rsa_pkey_meth.Dr. Stephen Henson2006-04-091-0/+1
|
* New utility 'pkeyutl' a general purpose version of 'rsautl'.Dr. Stephen Henson2006-04-071-10/+10
|
* Initial functions for main EVP_PKEY_METHOD operations.Dr. Stephen Henson2006-04-071-3/+13
| | | | No method implementations yet.
* Updated to EVP_PKEY_METHOD code... still doesn't do much.Dr. Stephen Henson2006-04-061-0/+4
|
* Initial support for pluggable public key ASN1 support. Process most publicDr. Stephen Henson2006-03-201-0/+4
| | | | | | key ASN1 handling through a single EVP_PKEY_ASN1_METHOD structure and move the spaghetti algorithm specific code to a single ASN1 module for each algorithm.
* Fix more error codes.Bodo Möller2005-05-111-8/+10
| | | | | (Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
* Rebuild error codes.Dr. Stephen Henson2005-04-121-80/+84
|
* Add the missing parts for DES CFB1 and CFB8.Richard Levitte2004-01-281-1/+3
| | | | | Add the corresponding AES parts while I'm at it. make update
* use a generic EC_KEY structure (EC keys are not ECDSA specific)Bodo Möller2002-08-071-2/+5
| | | | Submitted by: Nils Larsch
* ECDSA supportBodo Möller2002-02-131-0/+4
| | | | Submitted by: Nils Larsch <nla@trustcenter.de>
* This changes EVP's cipher and digest code to hook via the ENGINE support.Geoff Thorpe2001-09-251-0/+2
| | | | | | | | | | See crypto/engine/README for details. - it also removes openbsd_hw.c from the build (that functionality is going to be available in the openbsd ENGINE in a upcoming commit) - evp_test has had the extra initialisation added so it will use (if possible) any ENGINEs supporting the algorithms required.
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-2/+2
| | | | | | | | | | | | 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.
* Option to disable standard block padding with EVP API.Dr. Stephen Henson2001-02-141-0/+2
| | | | | | Add -nopad option to enc command. Update docs.
* The experimental Rijndael code moved to the main trunk.Richard Levitte2000-10-141-0/+3
| | | | make update done.
* More EVP cipher revision.Dr. Stephen Henson2000-05-301-0/+6
| | | | | | | | | | | | Change EVP_SealInit() and EVP_OpenInit() to handle cipher parameters. Make it possible to set RC2 and RC5 params. Make RC2 ASN1 code use the effective key bits and not the key length. TODO: document how new API works.
* Third phase of EVP cipher overhaul.Dr. Stephen Henson2000-05-281-0/+2
| | | | Remove duplicated code in EVP.