summaryrefslogtreecommitdiff
path: root/crypto/pkcs12
Commit message (Collapse)AuthorAgeFilesLines
* "make update"Lutz Jänicke2002-07-301-246/+243
|
* Replace 'ecdsaparam' commandline utility by 'ecparam'Bodo Möller2002-07-141-120/+240
| | | | | | | | | | | | | | (the same keys can be used for ECC schemes other than ECDSA) and add some new options. Similarly, use string "EC PARAMETERS" instead of "ECDSA PARAMETERS" in 'PEM' format. Fix ec_asn1.c (take into account the desired conversion form). 'make update'. Submitted by: Nils Larsch
* Pass CFLAG to dependency makers, so non-standard system include paths areRichard Levitte2002-06-271-1/+1
| | | | | handled properly. Part of PR 75
* Use bg instead of bag as argument to macros, to avoid clashes withRichard Levitte2002-06-271-2/+2
| | | | | structure field names. PR: 112
* Initialize cipher context in KRB5Dr. Stephen Henson2002-03-141-4/+4
| | | | | | ("D. Russell" <russelld@aol.net>) Allow HMAC functions to use an alternative ENGINE.
* ECDSA supportBodo Möller2002-02-131-140/+158
| | | | Submitted by: Nils Larsch <nla@trustcenter.de>
* remove redundant ERR_load_... declarationsBodo Möller2001-12-171-1/+0
|
* Improve back compatibility.Ben Laurie2001-12-091-1/+1
|
* make updateRichard Levitte2001-11-151-1/+1
| | | | perl util/mkerr.pl -recurse -write -rebuild
* PKCS#12 code fixes: initialize and cleanup digests and ciphersDr. Stephen Henson2001-11-062-8/+12
| | | | properly.
* Modify EVP cipher behaviour in a similar wayDr. Stephen Henson2001-10-172-2/+2
| | | | to digests to retain compatibility.
* Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()Dr. Stephen Henson2001-10-161-7/+7
| | | | | | with existing code. Modify library to use digest *_ex() functions.
* 'make update'Richard Levitte2001-10-041-70/+70
|
* Start to reduce some of the header bloat.Ben Laurie2001-08-051-30/+37
|
* make updateRichard Levitte2001-07-311-13/+15
|
* Really add the EVP and all of the DES changes.Ben Laurie2001-07-303-179/+116
|
* More linker bloat reorganisation:Dr. Stephen Henson2001-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | Split private key PEM and normal PEM handling. Private key handling needs to link in stuff like PKCS#8. Relocate the ASN1 *_dup() functions, to the relevant ASN1 modules using new macro IMPLEMENT_ASN1_DUP_FUNCTION. Previously these were all in crypto/x509/x_all.c along with every ASN1 BIO/fp function which linked in *every* ASN1 function if a single dup was used. Move the authority key id ASN1 structure to a separate file. This is used in the X509 routines and its previous location linked in all the v3 extension code. Also move ASN1_tag2bit to avoid linking in a_bytes.c which is now largely obsolete. So far under Linux stripped binary with single PEM_read_X509 is now 238K compared to 380K before these changes.
* First of several reorganisations toDr. Stephen Henson2001-07-264-44/+167
| | | | | | | | | | | | reduce linker bloat. For example the single line: PEM_read_X509() results in a binary of around 400K in Linux! This first step separates some of the PEM functions and avoids linking in some PKCS#7 and PKCS#12 code.
* Change all calls to low level digest routines in the library andDr. Stephen Henson2001-06-191-0/+1
| | | | | | | | | | applications to use EVP. Add missing calls to HMAC_cleanup() and don't assume HMAC_CTX can be copied using memcpy(). Note: this is almost identical to the patch submitted to openssl-dev by Verdon Walker <VWalker@novell.com> except some redundant EVP_add_digest_()/EVP_cleanup() calls were removed and some changes made to avoid compiler warnings.
* Add support for MS CSP Name PKCS#12 attribute.Dr. Stephen Henson2001-06-112-124/+33
|
* Plug a memory leak. Spotted by "Shijin" <shijin@comex.com>Richard Levitte2001-04-031-0/+1
|
* Fix PKCS#12 key generation bug.Dr. Stephen Henson2001-03-181-2/+9
|
* Instead of telling both 'make' and the user that ranlibBodo Möller2001-03-091-2/+1
| | | | | | errors can be tolerated, hide the error from 'make'. This gives shorter output both if ranlib fails and if it works.
* Change the EVP_somecipher() and EVP_somedigest()Dr. Stephen Henson2001-03-093-6/+6
| | | | | | | functions to return constant EVP_MD and EVP_CIPHER pointers. Update docs.
* make updateRichard Levitte2001-02-261-32/+31
| | | | | Note that all *_it variables are suddenly non-existant according to libeay.num. This is a bug that will be corrected. Please be patient.
* Get rid of ASN1_ITEM_FUNCTIONS dummy functionDr. Stephen Henson2001-02-231-6/+6
| | | | | | prototype hack. This unfortunately means that every ASN1_*_END construct cannot have a trailing ;
* Initial support for ASN1_ITEM_FUNCTION option toDr. Stephen Henson2001-02-232-16/+16
| | | | | | | | change the way ASN1 modules are exported. Still needs a bit of work for example the hack which a dummy function prototype to avoid compilers warning about multiple ;s.
* e_os.h does not belong with the exported headers. Do not put it thereRichard Levitte2001-02-221-79/+79
| | | | | | | | and make all files the depend on it include it without prefixing it with openssl/. This means that all Makefiles will have $(TOP) as one of the include directories.
* Make all configuration macros available for application by makingRichard Levitte2001-02-195-138/+135
| | | | | | | | | | | | 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.
* Make depend.Ben Laurie2001-02-041-137/+144
|
* Add debugging info to new ASN1 code to trace memory leaks.Dr. Stephen Henson2001-01-241-8/+0
| | | | | | Fix PKCS7 and PKCS12 memory leaks. Initialise encapsulated content type properly.
* Change PKCS#12 key derivation routines to cope withDr. Stephen Henson2001-01-144-9/+13
| | | | non null terminated passwords.
* Fix uni2asc() so it can properly convert zero lengthDr. Stephen Henson2001-01-101-1/+1
| | | | | unicode strings. Certain PKCS#12 files contain these in BMPStrings and it used to crash on them.
* Rewrite PKCS#12 code and remove some of the oldDr. Stephen Henson2000-12-318-121/+167
| | | | | | | | | | horrible macros. Fix two evil ASN1 bugs. Attempt to use 'ctx' when NULL if input is indefinite length constructed in asn1_check_tlen() and invalid pointer to ASN1_TYPE when reusing existing structure (this took *ages* to find because the new PKCS#12 code triggered it).
* Delete PKCS#12 redundant files.Dr. Stephen Henson2000-12-304-647/+0
|
* Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson2000-12-084-112/+150
| | | | | | to main trunk. Lets see if the makes it to openssl-cvs :-)
* in some new file names the first 8 characters were not uniqueUlf Möller2000-11-121-72/+69
|
* The experimental Rijndael code moved to the main trunk.Richard Levitte2000-10-141-58/+77
| | | | make update done.
* 'ranlib' doesn't always run on some systems. That's actuallyRichard Levitte2000-09-251-1/+2
| | | | | acceptable, since all that happens if it fails is a library with an index, which makes linking slower, but still working correctly.
* Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte2000-09-174-11/+11
| | | | | of complaints from the compiler about data pointers and function pointers not being compatible with each other.
* Two new PKCS#12 demo programs.Dr. Stephen Henson2000-09-071-11/+25
| | | | | | Update PKCS12_parse(). Make the keyid in certificate aux info more usable.
* 'make update'Richard Levitte2000-09-071-32/+41
|
* New option to CA.pl to sign request using CA extensions.Dr. Stephen Henson2000-08-241-0/+2
| | | | | | | | | | | | | This allows intermediate CAs to be created more easily. PKCS12_create() now checks private key matches certificate. Fix typo in x509 app. Update docs. New function ASN1_STRING_to_UTF8() converts any ASN1_STRING type to UTF8.
* MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte2000-08-141-96/+106
| | | | test utility, I added the bits to get a EVP interface, the command line utility and the speed test
* I got sick and tired of having to keep track of NIDs when such a thingRichard Levitte2000-07-051-74/+80
| | | | | | | | | | | | | | | | | | could be done automagically, much like the numbering in libeay.num and ssleay.num. The solution works as follows: - New object identifiers are inserted in objects.txt, following the syntax given in objects.README. - objects.pl is used to process obj_mac.num and create a new obj_mac.h. - obj_dat.pl is used to create a new obj_dat.h, using the data in obj_mac.h. This is currently kind of a hack, and the perl code in objects.pl isn't very elegant, but it works as I intended. The simplest way to check that it worked correctly is to look in obj_dat.h and check the array nid_objs and make sure the objects haven't moved around (this is important!). Additions are OK, as well as consistent name changes.
* Fixes for Win32 build.Dr. Stephen Henson2000-06-212-4/+4
| | | | | | | | | | | | | | | | | This is mostly a work around for the old VC++ problem that it treats func() as func(void). Various prototypes had been added to 'compare' function pointers that triggered this. This could be fixed by removing the prototype, adding function pointer casts to every call or changing the passed function to use the expected arguments. I mostly did the latter. The mkdef.pl script was modified to remove the typesafe functions which no longer exist. Oh and some functions called OPENSSL_freeLibrary() were changed back to FreeLibrary(), wonder how that happened :-)
* Handle ASN1_SET_OF and PKCS12_STACK_OF using functionDr. Stephen Henson2000-06-202-15/+15
| | | | casts in the same way as STACK_OF.
* Safe stack reorganisation in terms of function casts.Dr. Stephen Henson2000-06-161-31/+0
| | | | | | | | | | | | After some messing around this seems to work but needs a few more tests. Working out the syntax for sk_set_cmp_func() (cast it to a function that itself returns a function pointer) was painful :-( Needs some testing to see what other compilers think of this syntax. Also needs similar stuff for ASN1_SET_OF etc etc.
* Enable DSO support on alpha (OSF1), cc and gcc.Geoff Thorpe2000-06-131-94/+105
| | | | | | Also, "make update" has added some missing functions to libeay.num, updated the TABLE for the alpha changes, and updated thousands of dependancies that have changed from recent commits.
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-019-25/+25
| | | | | | | | | like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.