Richard Levitte
a1f09ea8f8
Do not include openssl/ripemd.h when the RIPEMD algorithm has been deselected.
...
PR: 216, point 1
2002-08-12 21:22:05 +00:00
Richard Levitte
83348e0b80
Do not include openssl/ripemd.h when the RIPEMD algorithm has been deselected.
...
PR: 216, point 1
2002-08-12 21:22:00 +00:00
Richard Levitte
bce625987d
Do not use the word 'modulus', which is a class template name in VC++ 6.0/SP5.
...
PR: 216, point 3
2002-08-12 21:20:30 +00:00
Richard Levitte
f13ddd5d0a
Do not use the word 'modulus', which is a class template name in VC++ 6.0/SP5.
...
PR: 216, point 3
2002-08-12 21:20:25 +00:00
Richard Levitte
b2a4e959c9
A few files in the ENGINE and EVP sections forgotten.
2002-08-12 13:31:57 +00:00
Bodo Möller
5488bb6197
get rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)
...
Submitted by: Nils Larsch
2002-08-12 08:47:41 +00:00
Richard Levitte
fd9a4dbe94
One more file to compile on VMS as well.
2002-08-11 12:27:28 +00:00
Richard Levitte
f0db0ed35d
Remove clashes between symbols that have the same name except for
...
casing.
2002-08-11 12:23:08 +00:00
Richard Levitte
6d24cbf452
More long symbols to shorten.
2002-08-11 11:50:32 +00:00
Richard Levitte
5454829ae6
mem* functions are declared in string.h.
2002-08-10 01:36:14 +00:00
Richard Levitte
4705bd9b37
A new header.
2002-08-09 22:34:57 +00:00
Richard Levitte
5bd90983bc
Synchronise with Unix.
...
(I expect the next run will generate lots of errors on VMS :-)).
2002-08-09 22:32:32 +00:00
Richard Levitte
329f981582
More long names to shorten.
2002-08-09 22:23:33 +00:00
Bodo Möller
cece7adcee
.cvsignore for crypto/ecdh
2002-08-09 12:17:03 +00:00
Bodo Möller
74cc4903ef
make update
2002-08-09 12:16:15 +00:00
Bodo Möller
41fdcfa71e
fix warnings
2002-08-09 11:58:28 +00:00
Bodo Möller
60cc56b1a9
add field type to text output
...
don't print seed value as a number (leading zeros must not be removed)
Submitted by: Nils Larsch
2002-08-09 10:44:44 +00:00
Bodo Möller
f912e9293f
use 0, not NULL
...
Submitted by: Nils Larsch
2002-08-09 09:39:53 +00:00
Bodo Möller
56939728b7
ECDH engine support
...
Submitted by: Douglas Stebila
2002-08-09 09:39:11 +00:00
Bodo Möller
e172d60ddb
Add ECDH support.
...
Additional changes:
- use EC_GROUP_get_degree() in apps/req.c
- add ECDSA and ECDH to apps/speed.c
- adds support for EC curves over binary fields to ECDSA
- new function EC_KEY_up_ref() in crypto/ec/ec_key.c
- reorganize crypto/ecdsa/ecdsatest.c
- add engine support for ECDH
- fix a few bugs in ECDSA engine support
Submitted by: Douglas Stebila <douglas.stebila@sun.com>
2002-08-09 08:43:04 +00:00
Bodo Möller
14a7cfb32a
use a generic EC_KEY structure (EC keys are not ECDSA specific)
...
Submitted by: Nils Larsch
2002-08-07 10:49:54 +00:00
Bodo Möller
7a8645d171
avoid SIGSEGV
...
Submitted by: Nils Larsch, Douglas Stebila
2002-08-07 07:53:47 +00:00
Bodo Möller
d28735a05b
oops, undo previous change (was just for testing)
2002-08-03 18:28:34 +00:00
Bodo Möller
183847747a
fix bn_expand2
2002-08-03 18:27:47 +00:00
Bodo Möller
bac6012308
use bn_wexpand instead of bn_expand2 (the latter is not needed here,
...
and it does not yet work correctly)
Submitted by: Douglas Stebila
2002-08-03 17:51:29 +00:00
Dr. Stephen Henson
f1e1d6d6af
Fix typo
2002-08-02 19:03:41 +00:00
Dr. Stephen Henson
aaa384ca1a
Fix typo
2002-08-02 18:58:33 +00:00
Dr. Stephen Henson
f908226898
Fix the ASN1 sanity check: correct header length
...
calculation and check overflow against LONG_MAX.
2002-08-02 18:48:55 +00:00
Dr. Stephen Henson
b012127a99
Fix the ASN1 sanity check: correct header length
...
calculation and check overflow against LONG_MAX.
2002-08-02 18:42:40 +00:00
Bodo Möller
909abce800
disable Sun divison algorithm by default
2002-08-02 18:26:02 +00:00
Bodo Möller
33d4e690cc
fix bn_expand2
2002-08-02 18:23:55 +00:00
Bodo Möller
848c849584
optical changes
2002-08-02 17:25:05 +00:00
Bodo Möller
102c8f47bf
typo
2002-08-02 15:28:31 +00:00
Bodo Möller
d3bcbba45c
remove obsolete part of comment
2002-08-02 15:13:10 +00:00
Bodo Möller
0903e56196
remove obsoleted disabled code
2002-08-02 15:07:08 +00:00
Bodo Möller
95ecacf8a2
Let BN_rand_range() abort with an error after 100 iterations
...
without success.
2002-08-02 15:02:03 +00:00
Bodo Möller
6fb60a84dd
Change BN_mod_sqrt() so that it verifies that the input value is
...
really the square of the return value.
2002-08-02 14:57:53 +00:00
Bodo Möller
5af7d1a3b8
move GF2m tests to the end
2002-08-02 14:49:59 +00:00
Bodo Möller
35b73a1f20
Rename implementations of method functions so that they match
...
the new method names where _GF... suffixes have been removed.
Revert changes to ..._{get/set}_Jprojective_coordinates_...:
The current implementation for ECC over binary fields does not use
projective coordinates, and if it did, it would not use Jacobian
projective coordinates; so it's OK to use the ..._GFp prefix for all
this.
Add author attributions to some files so that it doesn't look
as if Sun wrote all of this :-)
2002-08-02 14:28:37 +00:00
Bodo Möller
84d7e365a0
ec2_smpt.c must be listed in LIBSRC
2002-08-02 13:50:12 +00:00
Bodo Möller
64c3da230f
there is no alternative EC_METHOD for curves over GF(2^m) (yet)
2002-08-02 13:43:26 +00:00
Bodo Möller
7793f30e09
add support for elliptic curves over binary fields
...
Submitted by: Duglas Stebila <douglas.stebila@sun.com>,
Sheueling Chang <sheueling.chang@sun.com>
(CHANGES entries by Bodo Moeller)
2002-08-02 13:42:24 +00:00
Bodo Möller
1dc920c8de
Binary field arithmetic contributed by Sun Microsystems.
...
The 'OPENSSL_NO_SUN_DIV' default is still subject to change,
so I didn't bother to finish the CHANGES entry yet.
Submitted by: Douglas Stebila <douglas.stebila@sun.com>, Sheueling Chang <sheueling.chang@sun.com>
(CHANGES entry by Bodo Moeller)
2002-08-02 13:03:55 +00:00
Bodo Möller
16dc1cfb5c
Add more WAP/WTLS elliptic curve OIDs.
...
Submitted by: Douglas Stebila <douglas.stebila@sun.com>
2002-08-02 12:28:34 +00:00
Bodo Möller
819ff32dc4
New error code ERR_R_DISABLED
...
Submitted by: Douglas Stebila <douglas.stebila@sun.com>
2002-08-02 12:27:21 +00:00
Bodo Möller
5574e0ed41
get rid of OpenSSLDie
2002-08-02 11:48:15 +00:00
Bodo Möller
265a9e2c5d
get rid of OpenSSLDie
2002-08-02 11:47:24 +00:00
Richard Levitte
c578208d63
Certain flag macros were tested with #if instead if #ifdef...
2002-08-02 11:13:55 +00:00
Richard Levitte
ba8fb52183
Certain flag macros were tested with #if instead if #ifdef...
2002-08-02 11:13:37 +00:00
Richard Levitte
456bc309d8
make update
2002-08-01 19:45:54 +00:00
Richard Levitte
90832c891e
make update
2002-08-01 19:44:43 +00:00
Richard Levitte
162d858a90
Avoid yet another name clash with libdes, and make the declaration consistent
...
with the definition.
2002-08-01 19:31:15 +00:00
Richard Levitte
44c09667ff
Avoid yet another name clash with libdes, and make the declaration consistent
...
with the definition.
2002-08-01 19:30:58 +00:00
Richard Levitte
c2decc56b0
OCSP and KRB5 Makefil.ssl should be consistent with all the others
2002-08-01 14:19:08 +00:00
Richard Levitte
bd45950f4a
OCSP and KRB5 Makefil.ssl should be consistent with all the others
2002-08-01 14:18:52 +00:00
Richard Levitte
76b8f839c2
If CRYPTO_realloc() is called with a NULL pointer, have it call
...
OPENSSL_malloc().
PR: 187
2002-08-01 10:08:45 +00:00
Richard Levitte
0472883cc2
If CRYPTO_realloc() is called with a NULL pointer, have it call
...
OPENSSL_malloc().
PR: 187
2002-08-01 10:08:37 +00:00
Richard Levitte
450c73d98b
Make sure to use $(MAKE) everywhere instead of make.
...
Part of PR 181
2002-07-31 13:49:58 +00:00
Richard Levitte
e70a39830c
Make sure to use $(MAKE) everywhere instead of make.
...
Part of PR 181
2002-07-31 13:49:06 +00:00
Richard Levitte
6297bcd74c
The version of the shared library should, for now, reflect the version
...
of OpenSSL.
Part of PR 181.
2002-07-31 13:24:26 +00:00
Lutz Jänicke
c046fffa16
OpenSSL Security Advisory [30 July 2002]
...
Changes marked "(CHATS)" were sponsored by the Defense Advanced
Research Projects Agency (DARPA) and Air Force Research Laboratory,
Air Force Materiel Command, USAF, under agreement number
F30602-01-2-0537.
2002-07-30 13:04:04 +00:00
Lutz Jänicke
3aecef7697
"make update"
2002-07-30 12:44:33 +00:00
Lutz Jänicke
458bb156bf
Release 0.9.7-beta3
...
Submitted by:
Reviewed by:
PR:
2002-07-30 11:27:18 +00:00
Lutz Jänicke
bca9dc2a51
OpenSSL Security Advisory [30 July 2002]
...
Changes marked "(CHATS)" were sponsored by the Defense Advanced
Research Projects Agency (DARPA) and Air Force Research Laboratory,
Air Force Materiel Command, USAF, under agreement number
F30602-01-2-0537.
Submitted by:
Reviewed by:
PR:
2002-07-30 11:21:19 +00:00
Lutz Jänicke
3720ea24f0
"make update"
...
Submitted by:
Reviewed by:
PR:
2002-07-30 07:18:03 +00:00
Bodo Möller
0bee0e6294
Use SEC1 format for EC private keys.
...
This is not ECDSA specific, so it's now PEM_STRING_ECPRIVATEKEY etc.
Submitted by: Nils Larsch <nlarsch@compuserve.de>
2002-07-26 08:41:04 +00:00
Bodo Möller
6178bb8fe9
Add bn_dup_expand() comment from the main branch explaining that
...
bn_dup_expand() is broken.
[No need to fix this in 0.9.7-stable, it is just an unused internal
function.]
2002-07-25 12:14:41 +00:00
Bodo Möller
12593e6f45
Move zeroing from bn_expand_internal() to bn_expand2() so that it
...
happens reliably, even if the BIGNUM is already sufficiently large.
[Note that the bn_expand()/bn_wexpand() macros call bn_expand2() only
if the BIGNUM actually has to grow, so this change does not add any
new overhead as currently bn_expand2() is never called directly.]
2002-07-25 12:12:39 +00:00
Richard Levitte
546405bece
Don't clobber loop variable.
...
PR: 159
2002-07-24 14:43:00 +00:00
Richard Levitte
4289131ae6
Don't clobber loop variable.
...
PR: 159
2002-07-24 14:42:38 +00:00
Richard Levitte
6d9116f83d
If DH is disabled, don't define the DH functions.
...
Notified by Kim Hellan <KHE@kmd.dk>
2002-07-22 14:18:11 +00:00
Richard Levitte
e9e3ce40c5
If DH is disabled, don't define the DH functions.
...
Notified by Kim Hellan <KHE@kmd.dk>
2002-07-22 14:18:00 +00:00
Richard Levitte
7a5ed919ad
The first compile of the new merger method for VMS *almost* got
...
through. That's not enough, is it? :-)
2002-07-19 11:57:17 +00:00
Richard Levitte
799d7a34cf
Two more names that are a little too long for the standard VMS linker.
2002-07-19 11:56:02 +00:00
Richard Levitte
90baf2a92d
Further enhance assembler support on Cygwin and DJGPP.
...
Make pod2mantest useable on DOS-based systems.
Part of PR 75, the rest is still under investigation.
2002-07-18 12:38:07 +00:00
Richard Levitte
ec9ea6a3c8
Further enhance assembler support on Cygwin and DJGPP.
...
Make pod2mantest useable on DOS-based systems.
Part of PR 75, the rest is still under investigation.
2002-07-18 12:37:59 +00:00
Richard Levitte
b334853d72
Reverse the change with the following log, it needs further investigation:
...
Make S/MIME output conform with the mail and MIME standards.
PR: 151
2002-07-18 10:39:49 +00:00
Richard Levitte
ca6dde5d3d
Reverse the change with the following log, it needs further investigation:
...
Make S/MIME output conform with the mail and MIME standards.
PR: 151
2002-07-18 10:39:20 +00:00
Richard Levitte
4b5d50e26b
Make S/MIME output conform with the mail and MIME standards.
...
PR: 151
2002-07-18 08:47:56 +00:00
Richard Levitte
8e6cbcd7c0
Make S/MIME output conform with the mail and MIME standards.
...
PR: 151
2002-07-18 08:47:33 +00:00
Richard Levitte
4f0e09aa67
OPENSSL_SYS_WIN32 is important so util/mkdef.pl can detect it
2002-07-18 06:34:39 +00:00
Richard Levitte
32bf74e30e
OPENSSL_SYS_WIN32 is important so util/mkdef.pl can detect it
2002-07-18 06:34:34 +00:00
Richard Levitte
205a4a9571
Add support for shared libraries with OS/2.
...
PR: 124
2002-07-17 13:28:29 +00:00
Richard Levitte
cd4c36adb8
Add support for shared libraries with OS/2.
...
PR: 124
2002-07-17 13:27:43 +00:00
Richard Levitte
bdbbf930aa
The default C compiler on MacOS X doesn't like empty object files
2002-07-16 10:46:09 +00:00
Richard Levitte
6789b41d86
The default C compiler on MacOS X doesn't like empty object files
2002-07-16 10:46:00 +00:00
Richard Levitte
b23f50e67e
Some older code (never committed) wasn't converted to the new format.
...
Corrected.
2002-07-16 08:02:31 +00:00
Richard Levitte
cbecb3ac37
There's an ongoing project to bring some kind of path selection
...
mechanism to the ENGINE framework. This means there there are going
to be new functionality for the DSO part, and ultimately some way of
merging two file specifications together.
This commit places the merging code into the repository. It's
currently not used anywhere, and hasn't been tested at all. It may be
full of errors, including syntactical ones. Those will be fixed as
promptly as possible.
2002-07-15 15:35:40 +00:00
Bodo Möller
5dbd3efce7
Replace 'ecdsaparam' commandline utility by 'ecparam'
...
(the same keys can be used for ECC schemes other than ECDSA)
and add some new options.
Similarly, use string "EC PARAMETERS" instead of "ECDSA PARAMETERS"
in 'PEM' format.
Fix ec_asn1.c (take into account the desired conversion form).
'make update'.
Submitted by: Nils Larsch
2002-07-14 16:54:31 +00:00
Richard Levitte
015eb65963
In UI_UTIL_read_pw(), we should look at the size parameter, not at BUFSIZ.
...
Submitted by Götz Babin-Ebell <babinebell@trustcenter.de>
2002-07-11 09:12:37 +00:00
Richard Levitte
b57c98df7b
In UI_UTIL_read_pw(), we should look at the size parameter, not at BUFSIZ.
...
Submitted by Götz Babin-Ebell <babinebell@trustcenter.de>
2002-07-11 09:12:29 +00:00
Bodo Möller
5c9396e37c
remove obsolete comment
2002-07-10 08:39:05 +00:00
Bodo Möller
089cd046af
remove obsolete comment
2002-07-10 08:38:34 +00:00
Lutz Jänicke
7b63c0fa8c
Reorder inclusion of header files:
...
des_old.h redefines crypt:
#define crypt(b,s)\
DES_crypt((b),(s))
This scheme leads to failure, if header files with the OS's true definition
of crypt() are processed _after_ des_old.h was processed. This is e.g. the
case on HP-UX with unistd.h.
As evp.h now again includes des.h (which includes des_old.h), this problem
only came up after this modification.
Solution: move header files (indirectly) including e_os.h before the header
files (indirectly) including evp.h.
Submitted by:
Reviewed by:
PR:
2002-07-10 07:01:54 +00:00
Lutz Jänicke
7e8852c549
Reorder inclusion of header files:
...
des_old.h redefines crypt:
#define crypt(b,s)\
DES_crypt((b),(s))
This scheme leads to failure, if header files with the OS's true definition
of crypt() are processed _after_ des_old.h was processed. This is e.g. the
case on HP-UX with unistd.h.
As evp.h now again includes des.h (which includes des_old.h), this problem
only came up after this modification.
Solution: move header files (indirectly) including e_os.h before the header
files (indirectly) including evp.h.
Submitted by:
Reviewed by:
PR:
2002-07-10 06:57:54 +00:00
Bodo Möller
ea4f109c99
AES cipher suites are now official (RFC3268)
2002-07-04 08:51:09 +00:00
Richard Levitte
0dfd83b9f4
Do not define crypt() on OpenBSD. Notified by Bob Beck of OpenBSD.
2002-06-29 22:04:16 +00:00
Richard Levitte
40c5cae24a
Do not define crypt() on OpenBSD. Notified by Bob Beck of OpenBSD.
2002-06-29 22:04:09 +00:00
Richard Levitte
8e10dea8ec
opensslconf.h doesn't define what we want, e_os2.h does.
...
PR 123
2002-06-27 17:20:16 +00:00
Richard Levitte
cce9396dc9
opensslconf.h doesn't define what we want, e_os2.h does.
...
PR 123
2002-06-27 17:19:55 +00:00