16 years agoPadlock engine update to fix a typo in MSC assembler and to address
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].

16 years agoDJGPP has opendir() and friends, according to Gisle Vanem <>.
Richard Levitte [Tue, 3 Aug 2004 19:15:21 +0000 (19:15 +0000)]
DJGPP has opendir() and friends, according to Gisle Vanem <>.

16 years agoIf they ask for 386, keep it as 386 as possible...
Andy Polyakov [Mon, 2 Aug 2004 22:41:19 +0000 (22:41 +0000)]
If they ask for 386, keep it as 386 as possible...

16 years agoAvoid a.out name table pollition.
Andy Polyakov [Mon, 2 Aug 2004 22:02:17 +0000 (22:02 +0000)]
Avoid a.out name table pollition.

16 years agoMinor clean-up to make Microsoft compiler shut up.
Andy Polyakov [Mon, 2 Aug 2004 21:54:40 +0000 (21:54 +0000)]
Minor clean-up to make Microsoft compiler shut up.

16 years agoVIA C3 processor extends IA-32 instruction set with instuctions
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 <>

Obtained from:

16 years agoCygwin fix-up for shared build.
Andy Polyakov [Sun, 1 Aug 2004 21:24:34 +0000 (21:24 +0000)]
Cygwin fix-up for shared build.

16 years agoOpenBSD fix-up for new a.out targets. OpenBSD .s.o rule is busted...
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...

16 years agoClean-up GAS targets: get rid of "cpp" stuff and replace it with "purified"
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

16 years agoDeprecate cpp and gaswin targets. New coff fills in for gaswin, but cpp is
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...

16 years agoDLLEntryPoint is a collective name, not what linker looks for. However,
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:-)

16 years agoWe build the crypto stuff, not the ssl stuff, in this command procedure...
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...

16 years agoThe compiler may complain about what looks like a double definition of a
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

16 years agoOops, wrong version...
Dr. Stephen Henson [Tue, 27 Jul 2004 00:19:58 +0000 (00:19 +0000)]
Oops, wrong version...

16 years agoAdd FIPS library name to error routines.
Dr. Stephen Henson [Tue, 27 Jul 2004 00:19:18 +0000 (00:19 +0000)]
Add FIPS library name to error routines.

16 years agoThis is so to say "damage control" for jumbo "cpuid" patch, see
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 Now all platform should
be operational, while SSE2 code pathes get engaged on ELF platforms

16 years agoAdd framework for yet another assembler module dubbed "cpuid." Idea
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...

16 years agoZero key-length for HMAC is apparently OK.
Andy Polyakov [Sun, 25 Jul 2004 20:24:49 +0000 (20:24 +0000)]
Zero key-length for HMAC is apparently OK.

16 years agoMake bio_ok.c Microsoft compiler savvy.
Andy Polyakov [Sun, 25 Jul 2004 20:13:30 +0000 (20:13 +0000)]
Make bio_ok.c Microsoft compiler savvy.

16 years agoTypos, typos...
Andy Polyakov [Sun, 25 Jul 2004 20:09:56 +0000 (20:09 +0000)]
Typos, typos...

16 years agoMake bio_ok.c 64-bit savvy.
Andy Polyakov [Sun, 25 Jul 2004 19:37:41 +0000 (19:37 +0000)]
Make bio_ok.c 64-bit savvy.

16 years agoStricter boundary condition check in HMAC_Init_ex.
Andy Polyakov [Sun, 25 Jul 2004 19:25:05 +0000 (19:25 +0000)]
Stricter boundary condition check in HMAC_Init_ex.

16 years agoMinor 64-bit md32_common.h update and minor unsignification of digests.
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.

16 years ago'apps/openssl dgst -help' update and minor apps/speed.c update.
Andy Polyakov [Sun, 25 Jul 2004 18:57:35 +0000 (18:57 +0000)]
'apps/openssl dgst -help' update and minor apps/speed.c update.

16 years agoMake SHA-256/-512 optional. Note that no-sha switches off *all* SHA.
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.

16 years agoSome compilers are just too whiny. Nothing makes Microsoft compiler
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.

16 years agoSome compilers are just too whiny. DEC C doesn't like long long...
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...

16 years agoTypos and due casts. As for the latter. It's "safe" to cast as below,
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.

16 years agoMinor HP-UX make update. IA-64-based HP-UX favor .so extension for shared
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.

16 years agoTABLE update.
Andy Polyakov [Fri, 23 Jul 2004 23:29:25 +0000 (23:29 +0000)]
TABLE update.

16 years agoBuild-n-link new IA-64 modules on Linux and HP-UX.
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.

16 years agoVarious IA-64 assembler fix-ups.
Andy Polyakov [Fri, 23 Jul 2004 22:54:18 +0000 (22:54 +0000)]
Various IA-64 assembler fix-ups.

16 years agoVC-NT was taken away by mistake, putting it back...
Andy Polyakov [Fri, 23 Jul 2004 20:46:41 +0000 (20:46 +0000)]
VC-NT was taken away by mistake, putting it back...

16 years agoWin64 placeholder targets. This is merely naming suggestion. As we know
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

16 years agoAdapt for Win64/AMD64 assembler.
Andy Polyakov [Fri, 23 Jul 2004 17:51:17 +0000 (17:51 +0000)]
Adapt for Win64/AMD64 assembler.

16 years agoFrom LPlib:
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 <>

16 years agoFrom LPlib:
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 <>

16 years agoWinCE should always be compiled as UNICODE, even debugging version...
Andy Polyakov [Thu, 22 Jul 2004 11:08:31 +0000 (11:08 +0000)]
WinCE should always be compiled as UNICODE, even debugging version...

16 years ago#include <limits.h> is required at least on HP-UX and IRIX. And what's
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?

16 years agoEVP_Digest is size_t-fied, clean up test programs accordingly.
Andy Polyakov [Thu, 22 Jul 2004 10:25:52 +0000 (10:25 +0000)]
EVP_Digest is size_t-fied, clean up test programs accordingly.

16 years agoRun SHA-256/-512 tests through EVP...
Andy Polyakov [Thu, 22 Jul 2004 10:21:13 +0000 (10:21 +0000)]
Run SHA-256/-512 tests through EVP...

16 years agoAll SIXTY_FOUR_BIT platforms (mind the difference between SIXTY_FOUR_BIT and
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'.

16 years agoFrom LPlib:
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 <>

16 years agoMake rand_win.c UNICODE savvy.
Andy Polyakov [Wed, 21 Jul 2004 17:17:30 +0000 (17:17 +0000)]
Make rand_win.c UNICODE savvy.

16 years agoFrom LPlib:
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 <>

16 years agoImported from LPlib, making sure the entry name (at least on Unix) is
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

16 years agoSince version 7.0, The C RTL in VMS handles time in terms of UTC
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.

16 years agoAnchor AES and SHA-256/-512 assembler from C.
Andy Polyakov [Sun, 18 Jul 2004 17:26:01 +0000 (17:26 +0000)]
Anchor AES and SHA-256/-512 assembler from C.

16 years agoType in Configure and TABLE update.
Andy Polyakov [Sun, 18 Jul 2004 16:22:53 +0000 (16:22 +0000)]
Type in Configure and TABLE update.

16 years agoAdd anchors for AES, SHA-256/-512 assembler modules and SSE2 code pathes.
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.

16 years agoAdd licensing terms.
Andy Polyakov [Sat, 17 Jul 2004 13:24:58 +0000 (13:24 +0000)]
Add licensing terms.

16 years agoIA-64 is intolerant to misaligned access. It was a problem on Win64 as
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.

16 years agoQuick fix.
Geoff Thorpe [Fri, 16 Jul 2004 03:24:51 +0000 (03:24 +0000)]
Quick fix.

Submitted by: Nils Larsch

16 years agoUsing Horner's algorithm to evaluate the ec polynomial
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 <>)

Submitted by: Nils Larsch

16 years agoI think it could be a good thing to know what went wrong with the tests...
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...

16 years agomake update
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)

16 years agoBecause it's one of our libraries calling new functions in the other,
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).

16 years agoimprove wording
Bodo Möller [Mon, 12 Jul 2004 06:23:28 +0000 (06:23 +0000)]
improve wording

16 years agoSome test programs in crypto/sha were named differently than usual...
Richard Levitte [Sun, 11 Jul 2004 20:30:33 +0000 (20:30 +0000)]
Some test programs in crypto/sha were named differently than usual...

16 years ago'SSL_add_dir_cert_subjects_to_stack' is longer than 31 characters.
Richard Levitte [Sun, 11 Jul 2004 20:22:37 +0000 (20:22 +0000)]
'SSL_add_dir_cert_subjects_to_stack' is longer than 31 characters.
Lucky me, I had prepared for this :-).

16 years agoo_dir needs to be compiler with the warnings about dollar signs in
Richard Levitte [Sun, 11 Jul 2004 20:21:56 +0000 (20:21 +0000)]
o_dir needs to be compiler with the warnings about dollar signs in
identities disabled.

16 years agoIn some cases, EVMSERR isn't visible (that's fairly new...).
Richard Levitte [Sun, 11 Jul 2004 20:21:19 +0000 (20:21 +0000)]
In some cases, EVMSERR isn't visible (that's fairly new...).

Don't have a constant that you're going to assign to, that's just
plain stupid (I was the stupidhead here...).

16 years agoIntegration of RC4 AMD64 module.
Andy Polyakov [Sun, 11 Jul 2004 16:49:09 +0000 (16:49 +0000)]
Integration of RC4 AMD64 module.

16 years agoRC4 tune-up for AMD64. Performance improvement of 2.22x is measured for
Andy Polyakov [Sun, 11 Jul 2004 16:44:07 +0000 (16:44 +0000)]
RC4 tune-up for AMD64. Performance improvement of 2.22x is measured for
linux-x86_64 target.

16 years agoBIS correction/addition
Bodo Möller [Sun, 11 Jul 2004 08:58:43 +0000 (08:58 +0000)]
BIS correction/addition

16 years agomake update
Richard Levitte [Sat, 10 Jul 2004 13:18:23 +0000 (13:18 +0000)]
make update

16 years agoUse the new directory reading functions.
Richard Levitte [Sat, 10 Jul 2004 13:17:16 +0000 (13:17 +0000)]
Use the new directory reading functions.

16 years agoCopy a few files from LPlib (a new project of mine), add a wrapper.
Richard Levitte [Sat, 10 Jul 2004 13:16:02 +0000 (13:16 +0000)]
Copy a few files from LPlib (a new project of mine), add a wrapper.
Now we have directory reading capabilities for VMS as well, and all
of it in a fairly general manner.

16 years agoo_str.c: Windows doesn't have <strings.h>, and since we use _strnicmp() and
Richard Levitte [Thu, 8 Jul 2004 08:32:48 +0000 (08:32 +0000)]
o_str.c: Windows doesn't have <strings.h>, and since we use _strnicmp() and
_stricmp() on that platform, use the appropriate header file for it,
o_str.h: we only want to get size_t, which is defined in <stddef.h>.

Philippe Bougeret <> notified us about Windows
not having a <strings.h>

16 years agoDelta CRL support in extension code.
Dr. Stephen Henson [Tue, 6 Jul 2004 17:16:40 +0000 (17:16 +0000)]
Delta CRL support in extension code.

16 years agoImprove error handling if decompression of an ec point fails, and cleanup
Geoff Thorpe [Tue, 6 Jul 2004 15:50:04 +0000 (15:50 +0000)]
Improve error handling if decompression of an ec point fails, and cleanup
ec_curve.c (unify comments, etc).

Submitted by: Nils Larsch
Reviewed by: Bodo Moeller, Geoff Thorpe

16 years agoDelete non-POSIX header file.
Dr. Stephen Henson [Sun, 4 Jul 2004 16:48:27 +0000 (16:48 +0000)]
Delete non-POSIX header file.

16 years agoPKCS#8 fixes from stable branch.
Dr. Stephen Henson [Sun, 4 Jul 2004 16:44:52 +0000 (16:44 +0000)]
PKCS#8 fixes from stable branch.

16 years agoDon't try to parse non string types.
Dr. Stephen Henson [Thu, 1 Jul 2004 18:15:33 +0000 (18:15 +0000)]
Don't try to parse non string types.

16 years agoStop compiler warnings with debug-steve
Dr. Stephen Henson [Thu, 1 Jul 2004 18:14:31 +0000 (18:14 +0000)]
Stop compiler warnings with debug-steve

16 years agoExplain a little better what BN_num_bits() and BN_num_bits_word() do.
Richard Levitte [Thu, 1 Jul 2004 12:33:39 +0000 (12:33 +0000)]
Explain a little better what BN_num_bits() and BN_num_bits_word() do.
Add a note as to how these functions do not always return the key size, and
how one can deal with that.

PR: 907

16 years agoMinor (+12% on P4) performance tweak for sha512_block_sse2.
Andy Polyakov [Thu, 1 Jul 2004 11:29:00 +0000 (11:29 +0000)]
Minor (+12% on P4) performance tweak for sha512_block_sse2.

16 years agoAES assembler implementation for IA-64. Note that there is no anchor from
Andy Polyakov [Thu, 1 Jul 2004 11:15:23 +0000 (11:15 +0000)]
AES assembler implementation for IA-64. Note that there is no anchor from
C code yet...

16 years agoNew SHA algorithms assembler implementation for IA-64. Note that despite
Andy Polyakov [Thu, 1 Jul 2004 11:13:44 +0000 (11:13 +0000)]
New SHA algorithms  assembler implementation for IA-64. Note that despite
module name both SHA-256 and SHA-512 are supported.

16 years agoNew scalable bn_mul_add_words loop, which provides up to >20% overall
Andy Polyakov [Thu, 1 Jul 2004 11:10:38 +0000 (11:10 +0000)]
New scalable bn_mul_add_words loop, which provides up to >20% overall
performance improvement. Make module more gcc friendly and clarify
copyright issues for division routine.

16 years agoChanges for VOS, submitted by Paul Green <>.
Richard Levitte [Mon, 28 Jun 2004 22:01:37 +0000 (22:01 +0000)]
Changes for VOS, submitted by Paul Green <>.

PR: 499

16 years agoMake the tests of EVP operations without padding. As a consequence,
Richard Levitte [Mon, 28 Jun 2004 16:32:12 +0000 (16:32 +0000)]
Make the tests of EVP operations without padding.  As a consequence,
there's no need for a larger BUFSIZE any more...

PR: 904

16 years agoMake sure that the buffers are large enough to contain padding.
Richard Levitte [Mon, 28 Jun 2004 12:23:35 +0000 (12:23 +0000)]
Make sure that the buffers are large enough to contain padding.
PR: 904

16 years agoNetWare fixes provided by Verdon Walker for OpenSSL 0.9.8-dev.
Richard Levitte [Mon, 28 Jun 2004 11:55:28 +0000 (11:55 +0000)]
NetWare fixes provided by Verdon Walker for OpenSSL 0.9.8-dev.
The changes have been mailed to <> as well.

PR: 903

16 years agoLinux on ARM needs -ldl
Richard Levitte [Mon, 28 Jun 2004 10:31:03 +0000 (10:31 +0000)]
Linux on ARM needs -ldl
PR: 905

16 years agoReformat pkcs8 source.
Dr. Stephen Henson [Thu, 24 Jun 2004 13:10:54 +0000 (13:10 +0000)]
Reformat pkcs8 source.

16 years agoTidy up, including;
Geoff Thorpe [Sun, 20 Jun 2004 04:16:12 +0000 (04:16 +0000)]
Tidy up, including;
- Remove unused and unuseful debug cruft.
- Remove unnecessary 'top' fudging from BN_copy().
- Fix a potential memory leak and simplify the expansion logic in

Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe

16 years agoIncomplete initial sweep over the engine code. Mainly reducing some
Geoff Thorpe [Sat, 19 Jun 2004 03:58:42 +0000 (03:58 +0000)]
Incomplete initial sweep over the engine code. Mainly reducing some
comment-noise to managable levels and inverting the sense of the "uptodate"
boolean (which was counter-intuitive the way I'd left it).

16 years agoDeprecate unused cruft, and "make update".
Geoff Thorpe [Thu, 17 Jun 2004 23:50:25 +0000 (23:50 +0000)]
Deprecate unused cruft, and "make update".

16 years agoAttempt to bring the 'engine' documentation up to date w.r.t missing
Geoff Thorpe [Thu, 17 Jun 2004 23:40:14 +0000 (23:40 +0000)]
Attempt to bring the 'engine' documentation up to date w.r.t missing
prototypes, etc. Also, some fairly significant edits were made to the text
(who wrote this crap anyway? oh wait ...), removing stuff which is
overkill, rewriting stuff that was opaque, correcting things that were just
downright false, etc.

16 years agoMinor change to group like functions together.
Geoff Thorpe [Thu, 17 Jun 2004 23:35:45 +0000 (23:35 +0000)]
Minor change to group like functions together.

16 years agoActually, that last change to BN_get_word() was a little too simple.
Geoff Thorpe [Thu, 17 Jun 2004 22:05:40 +0000 (22:05 +0000)]
Actually, that last change to BN_get_word() was a little too simple.

16 years agoGet rid of signed/unsigned warnings, and teach CVS about new things to
Geoff Thorpe [Thu, 17 Jun 2004 20:28:28 +0000 (20:28 +0000)]
Get rid of signed/unsigned warnings, and teach CVS about new things to

16 years agoTweak my debug target flags.
Geoff Thorpe [Thu, 17 Jun 2004 20:26:21 +0000 (20:26 +0000)]
Tweak my debug target flags.

16 years agoAs Nils put it;
Geoff Thorpe [Thu, 17 Jun 2004 20:13:50 +0000 (20:13 +0000)]
As Nils put it;

    Yet another question: some time ago you changed BN_set_word.
    Why didn't you change BN_get_word as well?

Quite. I'm also removing the older commented-out implementations to improve
readability. This complex stuff seems to date from a time when the types
didn't match up well.

Submitted by: Nils Larsch, Geoff Thorpe

16 years agoBN_div_word() was breaking when called from BN_bn2dec() (actually, this is
Geoff Thorpe [Thu, 17 Jun 2004 20:03:56 +0000 (20:03 +0000)]
BN_div_word() was breaking when called from BN_bn2dec() (actually, this is
the only function that uses it) because it would trip up an assertion in
bn_div_words() when first invoked. This also adds BN_div_word() testing to

Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe

16 years agoMaking some values explicitely unsigned was derived from ongoing work
Richard Levitte [Tue, 15 Jun 2004 12:52:26 +0000 (12:52 +0000)]
Making some values explicitely unsigned was derived from ongoing work
that isn't yet committed.  It wasn't meant to be committed already, so
I'm removing it for now.

16 years agoTypo, setting the first element of nids[] to NULL instead of setting
Richard Levitte [Tue, 15 Jun 2004 11:45:42 +0000 (11:45 +0000)]
Typo, setting the first element of nids[] to NULL instead of setting

16 years agoCorrect the return codes for ecdsatest.
Geoff Thorpe [Mon, 14 Jun 2004 23:37:32 +0000 (23:37 +0000)]
Correct the return codes for ecdsatest.

Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe

16 years agoMore precise explanation of session id context requirements.
Lutz Jänicke [Mon, 14 Jun 2004 13:27:28 +0000 (13:27 +0000)]
More precise explanation of session id context requirements.