aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/d2i_pr.c
Commit message (Collapse)AuthorAgeFilesLines
* d2i: don't update input pointer on failureKurt Roeckx2015-09-141-3/+8
| | | | | Reviewed-by: Dr. Stephen Henson <steve@openssl.org> MR #1005
* 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>
* free NULL cleanupRich Salz2015-03-281-1/+1
| | | | | | | | | EVP_.*free; this gets: EVP_CIPHER_CTX_free EVP_PKEY_CTX_free EVP_PKEY_asn1_free EVP_PKEY_asn1_set_free EVP_PKEY_free EVP_PKEY_free_it EVP_PKEY_meth_free; and also EVP_CIPHER_CTX_cleanup Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* Move some ASN.1 internals to asn1_int.hDr. Stephen Henson2015-03-241-1/+1
| | | | | | | | Move ASN.1 internals used across multiple directories into new internal header file asn1_int.h remove crypto/Makefile hack which allowed other directories to include "asn1_locl.h" Reviewed-by: Matt Caswell <matt@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-94/+92
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Revert the size_t modifications from HEAD that had led to moreGeoff Thorpe2008-11-121-1/+1
| | | | | | knock-on work than expected - they've been extracted into a patch series that can be completed elsewhere, or in a different branch, before merging back to HEAD.
* More size_tification.Ben Laurie2008-11-011-1/+1
|
* Submitted by: "Victor B. Wagner" <vitus@cryptocom.ru>Dr. Stephen Henson2007-11-201-3/+35
| | | | | Make {d2i,i2d}_PrivateKey() fall back to PKCS#8 format if no legacy format supported. Add support in d2i_AutoPrivateKey().
* Initial, incomplete support for typesafe macros without using functionDr. Stephen Henson2006-11-161-2/+1
| | | | casts.
* Fix obvious typo.Andy Polyakov2006-06-051-1/+1
|
* Clarify comment and add #ifdef.Dr. Stephen Henson2006-06-051-0/+4
|
* Complete EVP_PKEY_ASN1_METHOD ENGINE support.Dr. Stephen Henson2006-06-051-12/+15
|
* Add support for legacy PEM format private keys in EVP_PKEY_ASN1_METHOD.Dr. Stephen Henson2006-03-231-37/+7
|
* Make EVP_PKEY_ASN1_METHOD opaque. Add application level functions toDr. Stephen Henson2006-03-221-1/+1
| | | | initialize it. Initial support for application added public key ASN1.
* Transfer parameter handling and key comparison to algorithm methods.Dr. Stephen Henson2006-03-201-0/+1
|
* ecc api cleanup; summary:Nils Larsch2005-05-161-1/+1
| | | | | | | | | | - hide the EC_KEY structure definition in ec_lcl.c + add some functions to use/access the EC_KEY fields - change the way how method specific data (ecdsa/ecdh) is attached to a EC_KEY - add ECDSA_sign_ex and ECDSA_do_sign_ex functions with additional parameters for pre-computed values - rebuild libeay.num from 0.9.7
* Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte2004-03-151-3/+3
| | | | | | | | 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.
* use a generic EC_KEY structure (EC keys are not ECDSA specific)Bodo Möller2002-08-071-6/+6
| | | | Submitted by: Nils Larsch
* ECDSA supportBodo Möller2002-02-131-1/+17
| | | | Submitted by: Nils Larsch <nla@trustcenter.de>
* NO_DSA, NO_RSA patches.Dr. Stephen Henson2001-12-011-0/+4
|
* Header bloat reduction for EVP_PKEY.Ben Laurie2001-08-031-0/+2
|
* 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.
* Constify DSA-related code.Richard Levitte2000-11-071-1/+2
|
* Constify the RSA parts of the ASN.1 library. Note some ugly castsRichard Levitte2000-11-061-1/+2
| | | | | that are needed in the ASN.1 macros. Hopefully, we can get rid of those in an elegant way in the future.
* ispell (and minor modifications)Ulf Möller2000-02-031-1/+1
|
* Fix some of the command line password stuff. New functionDr. Stephen Henson2000-01-011-0/+23
| | | | | | | that can automatically determine the type of a DER encoded "traditional" format private key and change some of the d2i functions to use it instead of requiring the application to work out the key type.
* Don't include x509.h when we just need asn1.hBodo Möller1999-07-241-1/+1
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-4/+4
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-5/+2
|
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-1/+1
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-1/+1
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+117