Andy Polyakov
7306ab29bc
bswapl usage should be masked by I386_ONLY.
...
PR: 1195
2005-09-19 13:17:07 +00:00
Richard Levitte
07f7b4b470
Update for Stratus VOS.
...
PR: 1130
2005-06-23 21:27:13 +00:00
Andy Polyakov
76ef6ac956
Refine PowerPC platform support.
2004-12-20 13:44:34 +00:00
Andy Polyakov
16ab8a93bc
Minor 64-bit md32_common.h update and minor unsignification of digests.
2004-07-25 19:10:43 +00:00
Andy Polyakov
385c8e89f4
SHA fails to compile on x86_64 if compiled with custom flags, without
...
recommended -DMD32_REG_T=int in particular.
PR: 893
Submitted by: Michal Ludvig <michal-list@logix.cz>
2004-06-11 17:50:57 +00:00
Andy Polyakov
a2eb9688a4
Kill unused macro and reimplement it for that single context it can
...
actually be used, namely x86* platforms [because they don't bomb on
unaligned access]. This resulted in 30-40% [depending on message
length] improvement for SHA-256 compiled with gcc and running on P4.
In the lack of assembler implementation I give the compiler all the
help it can possibly get:-)
2004-05-31 12:06:27 +00:00
Andy Polyakov
9e0aad9fd6
size_t-fication of message digest APIs. We should size_t-fy more APIs...
2004-05-15 11:29:55 +00:00
Andy Polyakov
1a979201d5
This is essentially Intel 32-bit compiler tune-up. To start with all
...
available compiler versions generated bogus machine code trying to
compile new crypto/des/cfb_enc.c. Secondly, 8th version defines
__GNUC__ macro, but fails to compile *some* inline assembler correctly.
Note that all versions of icc implement MSC-like _lrot[rl] intrinsic,
which is used now instead of offensive asm. Finally, unnecessary linker
dependencies are eliminated. Most notably dependency from libirc.a
caused trouble at application start-up, if libcrypto.so is linked with
-Bsymbolic (which it is).
2004-03-28 21:27:47 +00:00
Richard Levitte
4d8743f490
Netware-specific changes,
...
PR: 780
Submitted by: Verdon Walker <VWalker@novell.com>
Reviewed by: Richard Levitte
2003-11-28 13:10:58 +00:00
Geoff Thorpe
8087d8f7ea
Make md32_common.h friendlier to compiler warnings.
...
Obtained from: Andy Polyakov <appro@openssl.org>
2003-10-29 20:55:03 +00:00
Andy Polyakov
2f98abbcb6
x86_64 performance patch.
2002-12-14 20:42:05 +00:00
Richard Levitte
4579924b7e
Cleanse memory using the new OPENSSL_cleanse() function.
...
I've covered all the memset()s I felt safe modifying, but may have missed some.
2002-11-28 08:04:36 +00:00
Bodo Möller
8a09b3866a
avoid uninitialized memory read
...
Submitted by: Nils Larsch
2002-11-20 10:55:27 +00:00
Ulf Möller
5dd955dcd2
openbsd-x86 macros
...
Submitted by: Toomas Kiisk <vix@cyber.ee>
2001-10-14 00:57:30 +00:00
Dr. Stephen Henson
2dc769a1c1
Make EVP_Digest*() routines return a value.
...
TODO: update docs, and make soe other routines
which use EVP_Digest*() check return codes.
2001-03-08 14:04:22 +00:00
Richard Levitte
cf1b7d9664
Make all configuration macros available for application by making
...
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.
2001-02-19 16:06:34 +00:00
Ulf Möller
7db2fcaa81
_lrotl() is a call to the C runtime library!
2000-10-30 20:14:27 +00:00
Ben Laurie
bd44570322
Fix signed/unsigned warnings.
2000-02-16 12:09:17 +00:00
Andy Polyakov
89cee61b45
New NO_INLINE_ASM macro. Primary target for the moment is Solaris x86
...
which can't stand GNU C assembler templates.
2000-02-15 17:20:52 +00:00
Andy Polyakov
0fad6cb7e7
Support for MacOS X (Rhapsody) is added. Also get rid of volatile
...
qualifier in asm definitions as it prevents compiler from moving
the instruction(s) during optimization pass.
2000-02-06 11:15:20 +00:00
Andy Polyakov
1eab9a1fbb
Metrowerks for Motorola tune-up.
2000-01-02 22:03:10 +00:00
Andy Polyakov
a7c5241f5f
Late break-in patch for MacOS support.
1999-12-19 21:35:29 +00:00
Andy Polyakov
9a1e34e5de
MacOS updates.
1999-12-19 16:07:19 +00:00
Ulf Möller
3b14cb717d
Solaris x86 assembler problem is already addressed in ./config
...
(bug reports keep coming in because that was still missing in 0.9.4)
1999-12-14 15:28:10 +00:00
Ulf Möller
a4af39ac44
Don't use inline assembler on x86 Solaris (would need a different syntax).
1999-12-08 22:55:06 +00:00
Andy Polyakov
1cbde6e4fa
md32_common.h update and accompanying MD5 update.
1999-08-28 12:41:03 +00:00
Bodo Möller
946cbf67af
Don't use inline assembler when configured for "no-asm".
1999-06-23 12:18:31 +00:00
Ulf Möller
0a78c29760
Borland C fix.
...
Submitted by: Andy Polyakov
1999-06-01 09:41:13 +00:00
Bodo Möller
4d5d543e3c
Some solaris-usparc MD5 fixes.
1999-05-20 13:11:43 +00:00
Bodo Möller
db2b98359b
Make MD5 work on Alpha, and fix a bug.
...
Submitted by: Andy Polyakov
1999-05-17 11:21:52 +00:00
Ben Laurie
ac7d07851c
Get rid of casts.
1999-05-15 16:03:26 +00:00
Bodo Möller
cdfb093fc3
Get rid of another cast.
1999-05-15 13:31:53 +00:00
Ben Laurie
531b2cf7e9
Get rid of the cast.
1999-05-15 11:54:21 +00:00
Bodo Möller
dbd1e38482
Change cast in function calls to that which is, I think, the right
...
one for those functions (is it?).
1999-05-14 11:47:29 +00:00
Ulf Möller
bd3576d2dd
Reorganize and speed up MD5.
...
Submitted by: Andy Polyakov <appro@fy.chalmers.se>
1999-05-13 13:16:42 +00:00