Richard Levitte
26a3a48d65
There have been a number of complaints from a number of sources that names
...
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.
2000-06-01 22:19:21 +00:00
Ulf Möller
2453890463
#include <stdio.h> not needed.
2000-05-31 22:25:44 +00:00
Ulf Möller
991f0706d8
MacOS changes.
2000-05-15 18:59:55 +00:00
Richard Levitte
82271cee5b
In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
...
"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.
2000-05-02 12:16:01 +00:00
Richard Levitte
c2359eb18c
_lrotl and _lrotr are defined in MSVC but nowhere else that we know
...
off.
2000-04-01 10:39:33 +00:00
Richard Levitte
6e9aee5724
Removed, especially since it conflicts with des.pod on
...
case-insensitive file systems.
2000-03-27 12:34:58 +00:00
Dr. Stephen Henson
e77066ea0a
Fix a memory leak in PKCS12_parse.
...
Don't copy private key to X509 etc public key structures.
Fix for warning.
2000-03-22 13:50:23 +00:00
Richard Levitte
be1755f1cf
make update
2000-03-20 07:35:38 +00:00
Ulf Möller
48b83a2504
Integrate podd.h sk.h into set_key.c
2000-03-19 12:13:44 +00:00
Ulf Möller
1f39d082c6
make update
2000-03-19 02:18:45 +00:00
Ulf Möller
edb93ae643
cleanup.
2000-03-19 02:10:17 +00:00
Ulf Möller
395df2fe30
libdes manpage.
...
This may still contain a few errors from the old documentation,
but most of it should make sense.
2000-03-19 02:09:37 +00:00
Ulf Möller
7af4816f0e
des_quad_cksum() byte order bug fix.
...
See http://www.pdc.kth.se/kth-krb/
Their solution for CRAY is somewhat awkward.
I'll assume that a "short" is 32 bits on CRAY to avoid the
#ifdef _CRAY
typedef struct {
unsigned int a:32;
unsigned int b:32;
} XXX;
#else
typedef DES_LONG XXX;
#endif
2000-03-19 02:06:37 +00:00
Ulf Möller
fc79993620
DES in Perl was incomplete and not very useful
2000-03-18 18:39:58 +00:00
Ulf Möller
7043a4fc4a
superseded by des_modes.pod
2000-03-18 18:37:43 +00:00
Ulf Möller
50c16ed350
change manpages to pod. Contents are not up to date!
2000-03-18 17:55:09 +00:00
Bodo Möller
82dccbd72a
Insert a comment: This is one of the few files in this directory
...
that is actually used (even though it may not appear so at first
sight).
2000-03-14 14:33:11 +00:00
Bodo Möller
24aaff588a
Remove "Makefile.uni" files and some related stuff.
...
This was meant for building individual ciphers separately;
but nothing of this is maintained, it does not work
because we rely on central configuration by the Configure
utility with <openssl/opensslconf.h> etc., so the files
are only wasting space and time.
2000-03-14 13:56:00 +00:00
Bodo Möller
88f17a5e98
Remove Win32 assembler files. They are always rebuilt (with some
...
choice of parameters) when they are needed.
2000-03-13 08:04:20 +00:00
Ulf Möller
3a6a39c373
asm workaround for SuSE Linux
...
proposed by Holger Reif
2000-03-12 12:52:36 +00:00
Ulf Möller
9e03333fd5
Use L for all constants.
2000-03-10 17:43:05 +00:00
Ulf Möller
837174dd63
bug fix.
...
Submitted by: "Yoram Meroz" <yoram@mail.idrive.com>
2000-03-09 17:07:19 +00:00
Bodo Möller
743e7be913
Add missing dependencies.
2000-03-02 19:30:41 +00:00
Ulf Möller
3167f68faf
The main() return value is a program's exit code.
2000-02-25 16:04:52 +00:00
Geoff Thorpe
4621a00063
More VC++ pickiness. (destest.c doesn't have a "return" and the usual
...
signed/unsigned stuff in s3_pkt.c)
Submitted by:
Reviewed by:
PR:
2000-02-25 15:09:04 +00:00
Bodo Möller
37e48b88ad
Generate just one error code if iterated SSL_CTX_get() fails.
...
Avoid enabled 'assert()' in production library.
2000-02-05 19:29:00 +00:00
Ulf Möller
981b87f712
Replace ridiculous libdes PRNG with RAND_bytes. These functions are not
...
used anywhere in OpenSSL, but might be used by libdes applications.
2000-02-05 10:39:54 +00:00
Andy Polyakov
d716308288
New xcbc_ok test vector is required after the parity bits in cbc2_key
...
were fixed up. The catch is that in the DESX test the cbc2_key is used
as whitening key where *all* 64 bits are significant.
2000-02-04 15:16:22 +00:00
Ulf Möller
657e60fa00
ispell (and minor modifications)
2000-02-03 23:23:24 +00:00
Ulf Möller
9d1a01be8f
Source code cleanups: Use void * rather than char * in lhash,
...
eliminate some of the -Wcast-qual warnings (debug-ben-strict target)
2000-01-30 22:20:28 +00:00
Bodo Möller
1d7d74647a
Give the correct e-mail address even though the message is not quite serious
2000-01-24 10:20:45 +00:00
Bodo Möller
7be5af1ddf
The des_xcbc_encrypt apparently always fails.
...
Workaround so that "make test" continues anyway.
2000-01-24 09:24:28 +00:00
Dr. Stephen Henson
dd9d233e2a
Tidy up CRYPTO_EX_DATA structures.
2000-01-23 23:41:49 +00:00
Ulf Möller
fcb76baeb0
fail on all errors.
2000-01-22 21:25:36 +00:00
Ulf Möller
e7f97e2d22
Check RAND_bytes() return value or use RAND_pseudo_bytes().
2000-01-21 01:15:56 +00:00
Andy Polyakov
76997b7dd0
MacOS updates. Initial support for GUSI (MacOS socket implementation)
...
is added.
1999-12-26 22:46:49 +00:00
Andy Polyakov
404fb7149e
Even more late break-in MacOS tidbits...
1999-12-19 22:56:23 +00:00
Andy Polyakov
9a1e34e5de
MacOS updates.
1999-12-19 16:07:19 +00:00
Bodo Möller
cddfe788fb
Add functions des_set_key_checked, des_set_key_unchecked.
...
Never use des_set_key (it depends on the global variable des_check_key),
but usually des_set_key_unchecked.
Only destest.c bothered to look at the return values of des_set_key,
but it did not set des_check_key -- if it had done so,
most checks would have failed because of wrong parity and
because of weak keys.
1999-12-03 20:24:21 +00:00
Bodo Möller
798757762a
Improve support for running everything as a monolithic application.
...
Submitted by: Lennart Bång, Bodo Möller
1999-10-25 19:36:01 +00:00
Andy Polyakov
17f389bbbf
Initial support for MacOS.
...
This will soon be complemented with MacOS specific source code files and
INSTALL.MacOS.
I (Andy) have decided to get rid of a number of #include <sys/types.h>.
I've verified it's ok (both by examining /usr/include/*.h and compiling)
on a number of Unix platforms. Unfortunately I don't have Windows box
to verify this on. I really appreciate if somebody could try to compile
it and contact me a.s.a.p. in case a problem occurs.
Submitted by: Roy Wood <roy@centricsystems.ca>
Reviewed by: Andy Polyakov <appro@fy.chalmers.se>
1999-09-11 17:54:18 +00:00
Ulf Möller
b357e95cc4
make testapps after the library.
1999-08-28 12:50:48 +00:00
Ulf Möller
1bf0b46b13
Add pkcs7 and des apps to "make all".
1999-08-13 19:21:53 +00:00
Ulf Möller
27ad06a627
Compile pkcs7 and des apps.
1999-08-13 18:04:04 +00:00
Bodo Möller
927ddaffeb
avoid cast
1999-08-02 19:55:51 +00:00
Ulf Möller
fd556cbfb6
No use in naming the cblock _; the structure still is incompatible
...
to Kerberos.
1999-07-29 16:15:48 +00:00
Ulf Möller
37b7185b5d
Restore compability with kerberos/des.h (I had deleted some seemingly useless
...
definitions such as C_Block earlier).
1999-07-29 00:09:49 +00:00
Ulf Möller
8c197cc55e
VMS updates.
...
Submitted by: Richard Levitte <levitte@stacken.kth.se>
1999-07-28 23:25:59 +00:00
Bodo Möller
458cddc104
Have CRYPTO_MDEBUG_TIME automatically set CRYPTO_MDEBUG,
...
and make it the default for some debugging configurations.
1999-07-19 09:25:35 +00:00
Ulf Möller
cfa3747ba9
More DES library cleanups: remove references to srand/rand
...
and delete an unused file.
1999-07-15 23:47:02 +00:00