aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/objects
Commit message (Collapse)AuthorAgeFilesLines
* Clean up EVP macros, rename DES EDE3 modes correctly, temporary support forBen Laurie2001-07-214-14/+16
| | | | | OpenBSD /dev/crypto (this will be revamped later when the appropriate machinery is available).
* Add support for MS CSP Name PKCS#12 attribute.Dr. Stephen Henson2001-06-114-5/+18
|
* Add various X9.62 OIDs. (GF(2^n) mostly left out.)Bodo Möller2001-03-114-5/+167
|
* 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 obj_... generation so that it does not generate rubbish orBodo Möller2001-03-067-25/+22
| | | | | | | | abort with errors if no name is defined for some object, which was the case for 'pilotAttributeType 27'. Also avoid this very situation by assigning the name 'pilotAttributeType27'.
* Add yet another (still empty) source code file that I forgot.Bodo Möller2001-03-051-5/+5
|
* make updateRichard Levitte2001-02-264-31/+773
| | | | | Note that all *_it variables are suddenly non-existant according to libeay.num. This is a bug that will be corrected. Please be patient.
* Add the CCITT pilot directory OIDs.Richard Levitte2001-02-261-5/+78
|
* e_os.h does not belong with the exported headers. Do not put it thereRichard Levitte2001-02-221-13/+13
| | | | | | | | 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.
* With later version of DEC C on VMS, some functions (strcmp(), forRichard Levitte2001-02-201-1/+13
| | | | | | | | example) are declared with some extra linkage information. This generates a warning when using the function name as a value to a regular function pointer with the "correct" definition of the function. Therefore, use a macro to cast the appropriate function on VMS.
* The callbacks in the NAME_FUNCS structure are not used directly as LHASHGeoff Thorpe2001-02-201-10/+10
| | | | | | | | | | callbacks, and their prototypes were consistent as they were. These casts need reversing. Also, I personally find line breaks during parameter lists (ie a line ending in a comma) easier to read at a glance than line breaks at the end of a function call and before a dereference on the return value (ie a line ending in a closed-bracket followed by a line starting with "->").
* Get the right cast for lhash callback functions.Richard Levitte2001-02-201-2/+2
|
* Make all configuration macros available for application by makingRichard Levitte2001-02-193-17/+19
| | | | | | | | | | | | 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.
* New options to 'ca' utility to support CRL entry extensions.Dr. Stephen Henson2001-02-164-5/+65
| | | | | | | | Add revelant new X509V3 extensions. Add OIDs. Fix ASN1 memory leak code to pop info if external allocation used.
* Fix AES code.Dr. Stephen Henson2001-02-074-186/+163
| | | | | | | | | | Update Rijndael source to v3.0 Add AES OIDs. Change most references of Rijndael to AES. Add new draft AES ciphersuites.
* Rijdael CBC mode and partial undebugged SSL support.Ben Laurie2001-02-064-3/+90
|
* Make depend.Ben Laurie2001-02-041-12/+14
|
* Move all the existing function pointer casts associated with LHASH's twoGeoff Thorpe2001-01-092-5/+13
| | | | | | | "doall" functions to using type-safe wrappers. As and where required, this can be replaced by redeclaring the underlying callbacks to use the underlying "void"-based prototypes (eg. if performance suffers from an extra level of function invocation).
* Whilst in the process of fixing outstanding function-pointer casts in theGeoff Thorpe2001-01-081-1/+1
| | | | | | | | LHASH code, this evil was uncovered. The cast was obscuring the fact that the function was prototyped to take 2 parameters when in fact it is being used as a callback that should take only one. Anyway, the function itself ignores the second parameter (thankfully). A proper cure is on the way but for now this corrects the inconsistency.
* Various Win32 related fixes. Doesn't compile yet onDr. Stephen Henson2000-12-211-2/+2
| | | | | | | | | | | | | | Win32 but it is getting there... Update mkdef.pl to handle ASN1_ANY and fix headers. Stop various VC++ warnings. Include some fixes from "Peter 'Luna' Runestig" <peter@runestig.com> Remove external declaration for des_set_weak_key_flag: it doesn't exist.
* Add support for the noCheck OCSP extension. This isDr. Stephen Henson2000-12-163-3/+4
| | | | just a NULL and appears in a certificate.
* Constification of the data of a hash table. This means the callbackRichard Levitte2000-12-134-26/+29
| | | | | | | functions need to be constified, and therefore meant a number of easy changes a little everywhere. Now, if someone could explain to me why OBJ_dup() cheats...
* Next step in tidying up the LHASH code.Geoff Thorpe2000-12-082-14/+23
| | | | | | | | | | | | | | | | DECLARE/IMPLEMENT macros now exist to create type (and prototype) safe wrapper functions that avoid the use of function pointer casting yet retain type-safety for type-specific callbacks. However, most of the usage within OpenSSL itself doesn't really require the extra function because the hash and compare callbacks are internal functions declared only for use by the hash table. So this change catches all those cases and reimplements the functions using the base-level LHASH prototypes and does per-variable casting inside those functions to convert to the appropriate item type. The exception so far is in ssl_lib.c where the hash and compare callbacks are not static - they're exposed in ssl.h so their prototypes should not be changed. In this last case, the IMPLEMENT_LHASH_*** macros have been left intact.
* Make the remaining LHASH macro changes. This should leave no remainingGeoff Thorpe2000-12-042-3/+9
| | | | | cases of function pointer casting in lh_new() calls - and leave only the lh_doall and lh_doall_arg cases to be finished.
* First step in tidying up the LHASH code. The callback prototypes (andGeoff Thorpe2000-12-012-7/+8
| | | | | | | | | | | | | | | | casts) used in the lhash code are about as horrible and evil as they can be. For starters, the callback prototypes contain empty parameter lists. Yuck. This first change defines clearer prototypes - including "typedef"'d function pointer types to use as "hash" and "compare" callbacks, as well as the callbacks passed to the lh_doall and lh_doall_arg iteration functions. Now at least more explicit (and clear) casting is required in all of the dependant code - and that should be included in this commit. The next step will be to hunt down and obliterate some of the function pointer casting being used when it's not necessary - a particularly evil variant exists in the implementation of lh_doall.
* Better handling of EVP names, add EVP to speed.Ben Laurie2000-11-202-13/+86
|
* Minor corrections (HPUX).Ulf Möller2000-11-031-2/+2
| | | | From: Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
* The experimental Rijndael code moved to the main trunk.Richard Levitte2000-10-145-3/+106
| | | | 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.
* 'make update'Richard Levitte2000-09-071-3/+6
|
* Avoid abort() throughout the library, except when preprocessorBodo Möller2000-09-042-7/+79
| | | | symbols for debugging are defined.
* Added OIDs from RFC 2247, 1155, and a few from 1700Richard Levitte2000-08-193-0/+113
|
* MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte2000-08-142-10/+11
| | | | test utility, I added the bits to get a EVP interface, the command line utility and the speed test
* Duplicate names detected...Richard Levitte2000-08-101-2/+2
|
* Fix for bad sorting of object names.Dr. Stephen Henson2000-08-063-17/+258
| | | | | | Add warning print out if duplicate names found: should end up as a fatal error but a warning for now until they problems are fixed...
* "make update"Richard Levitte2000-07-241-11/+11
|
* Corrected small bug that could add ',L' when it shouldn'tRichard Levitte2000-07-082-3/+14
|
* I got sick and tired of having to keep track of NIDs when such a thingRichard Levitte2000-07-058-95/+3956
| | | | | | | | | | | | | | | | | | 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-16/+23
| | | | | | | | | | | | | | | | | 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 :-)
* 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-3/+4
| | | | | | 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.
* protoypesUlf Möller2000-06-121-3/+3
|
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-013-23/+23
| | | | | | | | | 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.
* "make update" + stripping the type-specific stack functions out ofGeoff Thorpe2000-06-011-0/+31
| | | | libeay.num and ssleay.num.
* In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte2000-05-021-4/+4
| | | | | | "Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
* make updateUlf Möller2000-03-121-2/+3
|
* Fix typo and make ca get the CA and request fields correct.Dr. Stephen Henson2000-03-081-1/+1
|
* Preserve reason strings in automatically build tables.Bodo Möller2000-03-051-1/+2
|
* Make name_funcs_stack static.Dr. Stephen Henson2000-03-031-1/+1
|
* Enhance consistency by using BIO_flush() instead of fflush().Richard Levitte2000-02-251-1/+1
|