aboutsummaryrefslogtreecommitdiff
path: root/crypto
AgeCommit message (Collapse)AuthorFilesLines
2002-12-29make updateRichard Levitte15-3285/+1701
2002-12-29Finally get rid of all the algorithm inclusions that were done fromRichard Levitte1-54/+0
evp.h. Application authors BEWARE! If you have had the habit to count on evp.h to provide all those lower-level algorithm functions, you need to think again! Please change your programs NOW, or you will be sorry when 0.9.8 gets release (it's quite some time away...).
2002-12-28make updateRichard Levitte1-1/+2
2002-12-28Merge from 0.9.7-stable.Richard Levitte3-2/+6
2002-12-27UltraSPARC performance "tune-up."Andy Polyakov1-1/+1
2002-12-23Finally, a bn_div_words() in VAX assembler that goes through all tests.Richard Levitte1-55/+81
PR: 413
2002-12-20Make AES_ENCRYPT and AES_DECRYPT macros instead of static constants.Richard Levitte1-2/+3
PR: 411
2002-12-20Fix for "shift count too large" when compiling for hpux-parisc2 andAndy Polyakov1-1/+1
irix-mips. The bug was introduced with accelerated support for x86_64. My fault! Fixed now.
2002-12-20More accurate comments.Richard Levitte1-2/+2
2002-12-20A little debugging.Richard Levitte1-0/+10
2002-12-20Propagate MAKEDEPPROG to the subdirs under crypto/.Richard Levitte1-1/+1
2002-12-20Keep the internal lowercase 'surname', for programmer's sake.Richard Levitte4-8/+9
2002-12-20Be consistent with capitalisation of object names.Richard Levitte3-12/+12
2002-12-20Be consistent with capitalisation of object names.Richard Levitte1-2/+2
2002-12-18Fix for RT#405, Solaris refuses to invoke preprocessor if egrep returns 1.Andy Polyakov1-4/+4
Linux for example doesn't exhibit this behaviour, but I add "exit 0" to all potentially affected rules, just to be on the safe side.
2002-12-17Make "perl des-586.pl a.out" work, see RT#402Andy Polyakov1-1/+1
2002-12-15Synchronise with Makefiles.Richard Levitte1-4/+6
2002-12-15DES PIC-ification. "Cygwin" companion. Problem was that preprocessor macroAndy Polyakov1-1/+1
is not expanded if prepended with a $-sign.
2002-12-15Don't define macros in terms of asm() when __STRICT_ANSI is defined.Richard Levitte1-1/+1
2002-12-15Bring des_locl.h at the same level as in the 0.9.7 branch.Richard Levitte1-2/+5
Don't define macros in terms of asm() when __STRICT_ANSI is defined.
2002-12-15Ooops! No ROTATE on some platforms after x86_64 performance patch...Andy Polyakov2-2/+6
2002-12-14As you might have noticed I tried to change for . prefix, because it'sAndy Polyakov1-3/+3
the one to be used to denote local labels in single function scope. Problem is that SHA uses same label set across functions, therefore I have to switch back to $ prefix.
2002-12-14x86_64 performance patch.Andy Polyakov11-80/+684
2002-12-14DES PIC-ification. Windows companion.Andy Polyakov2-5/+11
2002-12-13The ampersand is not required in these constructs, and was giving AIXGeoff Thorpe8-16/+16
warnings. Reported by: Bernhard Simon.
2002-12-13IA-32 assembler modules (primarily DES) PIC-ification. Idea is to keepAndy Polyakov7-70/+108
shared libraries shared.
2002-12-11In CRYPTO_lock(), check that the application cares about locking (providedRichard Levitte1-7/+7
callbacks) before attempting to lock.
2002-12-11sk_*_push() returns the number of items on the stack, not the index of theRichard Levitte1-3/+13
pushed item. The index is the number of items - 1. And if a NULL item was found, actually use it. Finally, provide a little bit of safety in CRYPTO_lock() by asserting the a requested dynamic lock really must exist, instead of just being silent about it
2002-12-11Let's not forget the other places where HEADER_DES_H and HEADER_DES_OLD_HRichard Levitte1-1/+1
were defined.
2002-12-11Let's not forget the other places where HEADER_DES_H and HEADER_DES_OLD_HRichard Levitte1-1/+1
were defined.
2002-12-11Since HEADER_DES_H has been the protector of des.h since libdesRichard Levitte2-4/+4
(before SSLeay, maybe?), it's better to have that macro protect the compatibility header des_old.h. In the new des.h, let's use a slightly different protecting macro. The rationale is that there are application that might include (via other header files, perhaps) both an old libdes des.h and OpenSSL's des.h. Whichever comes first would overshadow the other because of the clash in protecting macro. This fix solves that problem.
2002-12-10A memset() too many got converted into a OPENSSL_cleanse().Richard Levitte1-1/+1
PR: 393
2002-12-09make updateRichard Levitte4-0/+46
2002-12-08Nils Larsch submitted;Geoff Thorpe7-29/+23
- a patch to fix a memory leak in rsa_gen.c - a note about compiler warnings with unions - a note about improving structure element names This applies his patch and implements a solution to the notes.
2002-12-08This is a first-cut at improving the callback mechanisms used inGeoff Thorpe23-115/+594
key-generation and prime-checking functions. Rather than explicitly passing callback functions and caller-defined context data for the callbacks, a new structure BN_GENCB is defined that encapsulates this; a pointer to the structure is passed to all such functions instead. This wrapper structure allows the encapsulation of "old" and "new" style callbacks - "new" callbacks return a boolean result on the understanding that returning FALSE should terminate keygen/primality processing. The BN_GENCB abstraction will allow future callback modifications without needing to break binary compatibility nor change the API function prototypes. The new API functions have been given names ending in "_ex" and the old functions are implemented as wrappers to the new ones. The OPENSSL_NO_DEPRECATED symbol has been introduced so that, if defined, declaration of the older functions will be skipped. NB: Some openssl-internal code will stick with the older callbacks for now, so appropriate "#undef" logic will be put in place - this is in case the user is *building* openssl (rather than *including* its headers) with this symbol defined. There is another change in the new _ex functions; the key-generation functions do not return key structures but operate on structures passed by the caller, the return value is a boolean. This will allow for a smoother transition to having key-generation as "virtual function" in the various ***_METHOD tables.
2002-12-08Implement a stateful variant if the ZLIB compression method. The oldRichard Levitte3-10/+186
stateless variant is kept, but isn't used anywhere.
2002-12-06Workaround for GCC-ia64 compiler bug.Andy Polyakov1-0/+5
Submitted by: <appro> Reviewed by: PR:
2002-12-06Some compilers are quite picky about non-void functions that don't returnRichard Levitte2-0/+2
anything.
2002-12-05SSL_CERT_FILE should be used in place of the system default file, not asRichard Levitte1-1/+1
a first alternative to try
2002-12-05Make sure to implement the cryptodev engine only when /dev/crypto exists.Richard Levitte1-0/+13
2002-12-05make updateRichard Levitte6-12/+44
2002-12-05Make sure using SSL_CERT_FILE actually works, and has priority over system ↵Richard Levitte1-8/+9
defaults. PR: 376
2002-12-05Only check for a result buffer if the allocated string is a prompt string.Richard Levitte1-1/+2
PR: 381
2002-12-04Do not implement RC4 stuff if RC4 is disabled. Concequently, apply the sameRichard Levitte1-0/+15
rule for SHA stuff. PR: 381
2002-12-04In ECPKParameters_print, output the private key length correctlyBodo Möller1-2/+8
(length of the order of the group, not length of the actual key, which will be shorter in some cases). Submitted by: Nils Larsch
2002-12-04Don't compute timings here, we can do this elsewhere.Bodo Möller1-453/+352
Include X9.62 signature examples. Submitted by: Nils Larsch
2002-12-04Make ASN1_TYPE_get() work for V_ASN1_NULL type.Dr. Stephen Henson1-1/+1
2002-12-04Typo in X509v3_get_ext_by_criticalDr. Stephen Henson1-1/+1
2002-12-03In asn1_d2i_read_bio, don't assume BIO_read willDr. Stephen Henson1-5/+10
return the requested number of bytes when reading content.
2002-12-03Make CRYPTO_cleanse() independent of endianness.Richard Levitte1-1/+1