Dr. Stephen Henson [Fri, 1 Oct 2004 11:21:53 +0000 (11:21 +0000)]
Don't use C++ reserved work "explicit".
Andy Polyakov [Tue, 28 Sep 2004 20:45:10 +0000 (20:45 +0000)]
Fix Solaris 10_x86 shared build. -Bsymbolic is required to avoid
"remaining relocations" in assembler modules. The latter seems to
be new behaviour, elder as/ld managed to resolve this relocations
as internal. It's possible to address this problem differently,
but I settle for -Bsymbolic...
PR: 546
Richard Levitte [Tue, 28 Sep 2004 13:10:16 +0000 (13:10 +0000)]
usr/doc has recently changed to usr/share/doc on Cygwin.
Notified by Corinna Vinschen <vinschen@redhat.com>
Richard Levitte [Mon, 27 Sep 2004 21:59:44 +0000 (21:59 +0000)]
Move the declaration of alloca() so it's ony declared when really
necessary.
Andy Polyakov [Mon, 27 Sep 2004 09:37:03 +0000 (09:37 +0000)]
SHA1 asm Pentium tune-up. Performance loss is not as bad anymore.
Andy Polyakov [Mon, 27 Sep 2004 09:35:59 +0000 (09:35 +0000)]
sha256_block advances the input pointer double as fast sometimes. Fix the
bug and test that it's actually gone.
PR: 950
Geoff Thorpe [Fri, 24 Sep 2004 23:37:52 +0000 (23:37 +0000)]
Nils Larsch reported that this include is required. Strange that this had
gone unnoticed ...
Richard Levitte [Thu, 23 Sep 2004 22:11:39 +0000 (22:11 +0000)]
Import changed files from LPlib. The changes are logged as follows
for LPdir_unix.c in LPlib. For the other files, only the last log
entry applies.
----------------------------
revision 1.11
date: 2004/09/23 22:07:22; author: _cvs_levitte; state: Exp; lines: +20 -6
Define my own macro LP_ENTRY_SIZE to express the size of my own
buffering of directory entries, and make it depend on whichever comes
first of PATH_MAX and NAME_MAX. As a fallback, make sure it's set to
255 if neither PATH_MAX or NAME_MAX were defined. Also, if the size
given from PATH_MAX or NAME_MAX is less than 255, force LP_ENTRY_SIZE
to be 255.
It makes no harm whatsoever if LP_ENTRY_SIZE is larger than the
maximum local path name limit. It does make a lot of harm if
LP_ENTRY_SIZE is smaller. 255 seemed like a fairly acceptable default
when nothing else is available.
----------------------------
revision 1.10
date: 2004/08/26 13:36:05; author: _cvs_levitte; state: Exp; lines: +13 -13
License correction. I am not REGENTS, just a COPYRIGHT HOLDER.
----------------------------
Geoff Thorpe [Sun, 19 Sep 2004 04:55:15 +0000 (04:55 +0000)]
Remove distracting comments and code. Thanks to Nils for picking up on the
outstanding ticket.
PR: 926
Geoff Thorpe [Sun, 19 Sep 2004 04:43:46 +0000 (04:43 +0000)]
Two TODO comments taken care of. Nils pointed out that one of them had already
been done, and took care of the other one (which hadn't).
Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
Geoff Thorpe [Sat, 18 Sep 2004 01:32:32 +0000 (01:32 +0000)]
Make -Werror happy again.
Dr. Stephen Henson [Wed, 15 Sep 2004 23:47:25 +0000 (23:47 +0000)]
Check ASN1_TYPE structure type is a SEQUENCE in PKCS7_get_smimecap().
Dr. Stephen Henson [Mon, 13 Sep 2004 22:33:56 +0000 (22:33 +0000)]
Change values of MBSTRING_* to the form MBSTRING_FLAG|nbyte as assumed
in ASN1_STRING_to_UTF8().
Richard Levitte [Mon, 13 Sep 2004 09:15:06 +0000 (09:15 +0000)]
- There's no more need for the snprintf macro.
- Move the inclusion of malloc.h until after all other includes, so we
can do proper tests of system macros.
- Make sure the correct header file is included to get the builtin
"alloca" under VMS, and define a macro to map the symbol 'alloca' to
it.
Richard Levitte [Sun, 12 Sep 2004 13:02:04 +0000 (13:02 +0000)]
Synchronise with Unix build.
Dr. Stephen Henson [Fri, 10 Sep 2004 20:20:54 +0000 (20:20 +0000)]
When looking for request extensions in a certificate look first
for the PKCS#9 OID then the non standard MS OID.
Richard Levitte [Fri, 10 Sep 2004 10:30:33 +0000 (10:30 +0000)]
make update
Andy Polyakov [Thu, 9 Sep 2004 14:54:12 +0000 (14:54 +0000)]
Make VIA Padlock engine more platform friendly and eliminate compiler
warning.
Submitted by: Doug Kaufman <dkaufman@rahul.net>
Andy Polyakov [Thu, 9 Sep 2004 14:50:32 +0000 (14:50 +0000)]
x86 assembler updates: more instructions, new OPENSSL_instrument_halt
[for DJGPP]...
Richard Levitte [Wed, 8 Sep 2004 08:13:34 +0000 (08:13 +0000)]
Synchronise VMS build files with Unixly Makefiles.
Richard Levitte [Wed, 8 Sep 2004 08:13:03 +0000 (08:13 +0000)]
Another symbol longer than 31 characters...
Dr. Stephen Henson [Tue, 7 Sep 2004 18:38:46 +0000 (18:38 +0000)]
Reformat smime utility.
Add support for policy checking in verify utility.
Dr. Stephen Henson [Tue, 7 Sep 2004 00:31:08 +0000 (00:31 +0000)]
Don't use 'explicit' for variable name.
Dr. Stephen Henson [Tue, 7 Sep 2004 00:28:17 +0000 (00:28 +0000)]
Reformat smime.c
Dr. Stephen Henson [Mon, 6 Sep 2004 18:43:01 +0000 (18:43 +0000)]
New X509_VERIFY_PARAM structure and associated functionality.
This tidies up verify parameters and adds support for integrated policy
checking.
Add support for policy related command line options. Currently only in smime
application.
WARNING: experimental code subject to change.
Dr. Stephen Henson [Mon, 6 Sep 2004 18:37:46 +0000 (18:37 +0000)]
Stop compiler warnings.
Andy Polyakov [Sun, 29 Aug 2004 22:05:02 +0000 (22:05 +0000)]
TABLE OpenBSD-i386 update
Andy Polyakov [Sun, 29 Aug 2004 21:36:37 +0000 (21:36 +0000)]
Proper support for OpenBSD-i386 shared build, including assember modules!
"Proper" means "compiles and passes test." Versioning is broken (I think).
Andy Polyakov [Sun, 29 Aug 2004 16:36:05 +0000 (16:36 +0000)]
OPENSSL_ia32cap final touches. Note that OPENSSL_ia32cap is no longer a
symbol, but a macro expanded as (*(OPENSSL_ia32cap_loc())). The latter
is the only one to be exported to application.
Andy Polyakov [Sun, 29 Aug 2004 16:19:27 +0000 (16:19 +0000)]
Fix compiler warnings in crypto/evp/bio_ok.c as pointed out by Geoff.
Andy Polyakov [Sun, 29 Aug 2004 16:10:27 +0000 (16:10 +0000)]
crypto/perlasm update primarily to unify Netware modules. Once it's verified
x86*_nw.pl will be deleted. In addition this update implements initseg
on several additional [in addition to ELF] platforms. Functions registered
with initseg are supposed to be called prior main().
Andy Polyakov [Tue, 24 Aug 2004 09:01:09 +0000 (09:01 +0000)]
Minor VIA Padlock engine update: eliminate -Wunused warning when *not*
compiling the engine and inline memcpy in performance critical pathes.
Andy Polyakov [Mon, 23 Aug 2004 22:19:51 +0000 (22:19 +0000)]
Make aes_ctr.c 64-bit savvy.
Richard Levitte [Wed, 18 Aug 2004 15:48:33 +0000 (15:48 +0000)]
'compatibility', not 'computability' :-)...
Richard Levitte [Thu, 12 Aug 2004 08:58:55 +0000 (08:58 +0000)]
On systems that use case-insensitive symbol names (i.e. they're all
converted to upper case or something like that), the application-
level bio_dump_cb() has a name clash with the new library function
BIO_dump_cb(). The easiest fix is to rename the function at the
application level.
Richard Levitte [Wed, 11 Aug 2004 21:13:57 +0000 (21:13 +0000)]
Basically, I wanted to be able to make a dump to a FILE*, and not have
to bother creating a BIO around it. So here's a few more functions to
make it possible to make the dump using a printing callback, and to
print to a FILE* (based on the callback variant), done in the same
style as the functions in crypto/err/err_prn.c.
Richard Levitte [Wed, 11 Aug 2004 17:41:15 +0000 (17:41 +0000)]
Stupid casts...
Dr. Stephen Henson [Wed, 11 Aug 2004 17:22:13 +0000 (17:22 +0000)]
Update FAQ.
Dr. Stephen Henson [Tue, 10 Aug 2004 17:40:14 +0000 (17:40 +0000)]
Make ASN1_INTEGER_cmp() work as expected with negative integers.
Dr. Stephen Henson [Fri, 6 Aug 2004 12:44:34 +0000 (12:44 +0000)]
Call setup_engine after autoconfig.
Dr. Stephen Henson [Thu, 5 Aug 2004 18:09:50 +0000 (18:09 +0000)]
Don't ignore return value of EVP_DigestInit_ex() in md BIOs and dgst utility.
Geoff Thorpe [Wed, 4 Aug 2004 22:42:29 +0000 (22:42 +0000)]
Make a note of the new engine.
Andy Polyakov [Wed, 4 Aug 2004 12:58:26 +0000 (12:58 +0000)]
Padlock engine update to fix a typo in MSC assembler and to address
potential corruption problem if user manages to inter-leave aligined
and misaligned requests [as well as some MSC-specific tweaks].
Richard Levitte [Tue, 3 Aug 2004 19:15:21 +0000 (19:15 +0000)]
DJGPP has opendir() and friends, according to Gisle Vanem <giva@bgnett.no>.
Andy Polyakov [Mon, 2 Aug 2004 22:41:19 +0000 (22:41 +0000)]
If they ask for 386, keep it as 386 as possible...
Andy Polyakov [Mon, 2 Aug 2004 22:02:17 +0000 (22:02 +0000)]
Avoid a.out name table pollition.
Andy Polyakov [Mon, 2 Aug 2004 21:54:40 +0000 (21:54 +0000)]
Minor clean-up to make Microsoft compiler shut up.
Andy Polyakov [Mon, 2 Aug 2004 21:48:11 +0000 (21:48 +0000)]
VIA C3 processor extends IA-32 instruction set with instuctions
performing AES encryption in hardware, as well as one accessing
hardware RNG. As you surely imagine this engine access this
extended instruction set. Well, only AES for the moment, support
for RNG is to be added later on...
PR: 889
Submitted by: Michal Ludvig <michal@logix.cz>
Obtained from: http://www.logix.cz/michal/devel/padlock/
Andy Polyakov [Sun, 1 Aug 2004 21:24:34 +0000 (21:24 +0000)]
Cygwin fix-up for shared build.
Andy Polyakov [Sun, 1 Aug 2004 21:16:26 +0000 (21:16 +0000)]
OpenBSD fix-up for new a.out targets. OpenBSD .s.o rule is busted...
Andy Polyakov [Sun, 1 Aug 2004 17:33:58 +0000 (17:33 +0000)]
Clean-up GAS targets: get rid of "cpp" stuff and replace it with "purified"
COFF and a.out targets [similar to ELF targets]. You might notice some
rudementary support for shared mingw builds under cygwin. It works (it
produces cryptoeay32.dll and ssleay32.dll with everything exported by
name), but it's primarily for testing/debugging purposes, at least for
now...
Andy Polyakov [Sun, 1 Aug 2004 17:03:50 +0000 (17:03 +0000)]
Deprecate cpp and gaswin targets. New coff fills in for gaswin, but cpp is
going out...
Andy Polyakov [Sun, 1 Aug 2004 14:27:43 +0000 (14:27 +0000)]
DLLEntryPoint is a collective name, not what linker looks for. However,
if we explicitly intruct the linker to set entry point, then we become
obliged to initialize run-time library. Instead we can pick name run-time
will call and such name is DllMain. Note that this applies to both
"native" Win32 environment and Cygwin:-)
Richard Levitte [Thu, 29 Jul 2004 22:25:59 +0000 (22:25 +0000)]
We build the crypto stuff, not the ssl stuff, in this command procedure...
Richard Levitte [Tue, 27 Jul 2004 13:58:27 +0000 (13:58 +0000)]
The compiler may complain about what looks like a double definition of a
static variable
Dr. Stephen Henson [Tue, 27 Jul 2004 00:19:58 +0000 (00:19 +0000)]
Oops, wrong version...
Dr. Stephen Henson [Tue, 27 Jul 2004 00:19:18 +0000 (00:19 +0000)]
Add FIPS library name to error routines.
Andy Polyakov [Mon, 26 Jul 2004 22:01:50 +0000 (22:01 +0000)]
This is so to say "damage control" for jumbo "cpuid" patch, see
http://cvs.openssl.org/chngview?cn=12493. Now all platform should
be operational, while SSE2 code pathes get engaged on ELF platforms
only.
Andy Polyakov [Mon, 26 Jul 2004 20:18:55 +0000 (20:18 +0000)]
Add framework for yet another assembler module dubbed "cpuid." Idea
is to have a placeholder to small routines, which can be written only
in assembler. In IA-32 case this includes processor capability
identification and access to Time-Stamp Counter. As discussed earlier
OPENSSL_ia32cap is introduced to control recently added SSE2 code
pathes (see docs/crypto/OPENSSL_ia32cap.pod). For the moment the
code is operational on ELF platforms only. I haven't checked it yet,
but I have all reasons to believe that Windows build should fail to
link too. I'll be looking into it shortly...
Andy Polyakov [Sun, 25 Jul 2004 20:24:49 +0000 (20:24 +0000)]
Zero key-length for HMAC is apparently OK.
Andy Polyakov [Sun, 25 Jul 2004 20:13:30 +0000 (20:13 +0000)]
Make bio_ok.c Microsoft compiler savvy.
Andy Polyakov [Sun, 25 Jul 2004 20:09:56 +0000 (20:09 +0000)]
Typos, typos...
Andy Polyakov [Sun, 25 Jul 2004 19:37:41 +0000 (19:37 +0000)]
Make bio_ok.c 64-bit savvy.
Andy Polyakov [Sun, 25 Jul 2004 19:25:05 +0000 (19:25 +0000)]
Stricter boundary condition check in HMAC_Init_ex.
Andy Polyakov [Sun, 25 Jul 2004 19:10:43 +0000 (19:10 +0000)]
Minor 64-bit md32_common.h update and minor unsignification of digests.
Andy Polyakov [Sun, 25 Jul 2004 18:57:35 +0000 (18:57 +0000)]
'apps/openssl dgst -help' update and minor apps/speed.c update.
Andy Polyakov [Sun, 25 Jul 2004 18:25:24 +0000 (18:25 +0000)]
Make SHA-256/-512 optional. Note that no-sha switches off *all* SHA.
Andy Polyakov [Sun, 25 Jul 2004 17:00:56 +0000 (17:00 +0000)]
Some compilers are just too whiny. Nothing makes Microsoft compiler
stop complaining about loss of precision, but explicit cast.
Andy Polyakov [Sun, 25 Jul 2004 16:54:08 +0000 (16:54 +0000)]
Some compilers are just too whiny. DEC C doesn't like long long...
Andy Polyakov [Sun, 25 Jul 2004 16:48:28 +0000 (16:48 +0000)]
Typos and due casts. As for the latter. It's "safe" to cast as below,
because "wrong" casts will either be optimized away or never performed.
Andy Polyakov [Sat, 24 Jul 2004 14:17:32 +0000 (14:17 +0000)]
Minor HP-UX make update. IA-64-based HP-UX favor .so extension for shared
libraries. Old .sl extension works just fine, but it .so which is default.
Andy Polyakov [Fri, 23 Jul 2004 23:29:25 +0000 (23:29 +0000)]
TABLE update.
Andy Polyakov [Fri, 23 Jul 2004 23:27:10 +0000 (23:27 +0000)]
Build-n-link new IA-64 modules on Linux and HP-UX.
Andy Polyakov [Fri, 23 Jul 2004 22:54:18 +0000 (22:54 +0000)]
Various IA-64 assembler fix-ups.
Andy Polyakov [Fri, 23 Jul 2004 20:46:41 +0000 (20:46 +0000)]
VC-NT was taken away by mistake, putting it back...
Andy Polyakov [Fri, 23 Jul 2004 19:18:20 +0000 (19:18 +0000)]
Win64 placeholder targets. This is merely naming suggestion. As we know
Win64 comes in two flavors, IA-64/Itanium and AMD64/Opteron. The
suggestion is to refer to former as WIN64I and latter - WIN64A
Andy Polyakov [Fri, 23 Jul 2004 17:51:17 +0000 (17:51 +0000)]
Adapt rc4-amd64.pl for Win64/AMD64 assembler.
Richard Levitte [Thu, 22 Jul 2004 18:34:06 +0000 (18:34 +0000)]
From LPlib:
Apparently, the length *including* the NUL byte should be used.
Contributed by Andy Polyakov <appro@fy.chalmers.se>
Richard Levitte [Thu, 22 Jul 2004 13:00:14 +0000 (13:00 +0000)]
From LPlib:
Make a nicer comment, as we don't really know for sure that it's
really needed, and just want to play on the safe side.
Suggest by Andy Polyakov <appro@fy.chalmers.se>
Andy Polyakov [Thu, 22 Jul 2004 11:08:31 +0000 (11:08 +0000)]
WinCE should always be compiled as UNICODE, even debugging version...
Andy Polyakov [Thu, 22 Jul 2004 10:53:26 +0000 (10:53 +0000)]
#include <limits.h> is required at least on HP-UX and IRIX. And what's
with HP-UX offering 14 for NAME_MAX?
Andy Polyakov [Thu, 22 Jul 2004 10:25:52 +0000 (10:25 +0000)]
EVP_Digest is size_t-fied, clean up test programs accordingly.
Andy Polyakov [Thu, 22 Jul 2004 10:21:13 +0000 (10:21 +0000)]
Run SHA-256/-512 tests through EVP...
Andy Polyakov [Thu, 22 Jul 2004 09:32:11 +0000 (09:32 +0000)]
All SIXTY_FOUR_BIT platforms (mind the difference between SIXTY_FOUR_BIT and
SIXTY_FOUR_BIT_LONG) were failing to pass 'cd test; make test_bn'.
Richard Levitte [Wed, 21 Jul 2004 21:16:21 +0000 (21:16 +0000)]
From LPlib:
Some code beautification.
Change the macro CP_THREAD_ACP to CP_ACP, because the latter is more
widely defined.
Add a conditional macro definition in case FindFirstFile and
FindNextFile aren't properly defined (might happen on WinCE).
Suggested by Andy Polyakov <appro@fy.chalmers.se>
Andy Polyakov [Wed, 21 Jul 2004 17:17:30 +0000 (17:17 +0000)]
Make rand_win.c UNICODE savvy.
Richard Levitte [Tue, 20 Jul 2004 21:24:43 +0000 (21:24 +0000)]
From LPlib:
Windows changes that detects if multibyte characters are available and
deals with them properly.
Contributed by Andy Polyakov <appro@fy.chalmers.se>
Richard Levitte [Mon, 19 Jul 2004 16:36:28 +0000 (16:36 +0000)]
Imported from LPlib, making sure the entry name (at least on Unix) is
NUL-teminated at all times, and that we don't make unneeded calls to
free().
Richard Levitte [Mon, 19 Jul 2004 07:50:43 +0000 (07:50 +0000)]
Since version 7.0, The C RTL in VMS handles time in terms of UTC
instead of local time.
Andy Polyakov [Sun, 18 Jul 2004 17:26:01 +0000 (17:26 +0000)]
Anchor AES and SHA-256/-512 assembler from C.
Andy Polyakov [Sun, 18 Jul 2004 16:22:53 +0000 (16:22 +0000)]
Type in Configure and TABLE update.
Andy Polyakov [Sun, 18 Jul 2004 16:19:34 +0000 (16:19 +0000)]
Add anchors for AES, SHA-256/-512 assembler modules and SSE2 code pathes.
I also used this opportunity to clean up some out-of-date targets and
re-group targets by OS.
Andy Polyakov [Sat, 17 Jul 2004 13:24:58 +0000 (13:24 +0000)]
Add licensing terms.
Andy Polyakov [Sat, 17 Jul 2004 12:55:55 +0000 (12:55 +0000)]
IA-64 is intolerant to misaligned access. It was a problem on Win64 as
we were mislead by _MSC_VER macro, which is defined by *all* Windows
Microsoft compilers.
Geoff Thorpe [Fri, 16 Jul 2004 03:24:51 +0000 (03:24 +0000)]
Quick fix.
Submitted by: Nils Larsch
Geoff Thorpe [Fri, 16 Jul 2004 03:24:19 +0000 (03:24 +0000)]
Using Horner's algorithm to evaluate the ec polynomial
(suggested by Adam Young <ayoung@cigital.com>)
Submitted by: Nils Larsch
Richard Levitte [Mon, 12 Jul 2004 12:25:54 +0000 (12:25 +0000)]
I think it could be a good thing to know what went wrong with the tests...
Richard Levitte [Mon, 12 Jul 2004 11:25:48 +0000 (11:25 +0000)]
make update
(incidently, this also tells VMS that there exists a new symbol in the
SSL library)
Richard Levitte [Mon, 12 Jul 2004 11:24:55 +0000 (11:24 +0000)]
Because it's one of our libraries calling new functions in the other,
we need to have them among the symbols that should appear in the
transfer table, at least on VMS (and it wouldn't surprise me if
Windows would whine as well).
Bodo Möller [Mon, 12 Jul 2004 06:23:28 +0000 (06:23 +0000)]
improve wording