Dr. Stephen Henson
e8e0e3716a
Fix for no-ec on Windows.
2003-03-15 01:28:55 +00:00
Ulf Möller
94949a50aa
avoid duplicate definiton of bn_sub_part_words
2003-02-21 23:19:50 +00:00
Ulf Möller
0214893e6a
clean up MinGW build. MinGW make now supports the Windows path name
...
conventions.
2003-02-21 22:59:20 +00:00
Bodo Möller
62e3163b1b
ECPublicKey_set_octet_string and ECPublicKey_get_octet_string
...
behaviour was not quite consistent with the conventions
for d2i and i2d functions as far as handling of the 'out'
or 'in' pointer is concerned.
This patch changes this behaviour, and renames the functions to
o2i_ECPublicKey and i2o_ECPublicKey (not 'd2i' and 'i2d' because the
external encoding is just a raw object string without any DER icing).
Submitted by: Nils Larsch
2003-02-21 13:58:23 +00:00
Bodo Möller
ffa49dc3d9
make update
2003-02-14 14:21:58 +00:00
Richard Levitte
7e38616d1f
Change no_rmd160 to no_ripemd for consistency.
...
PR: 500
2003-02-14 05:20:25 +00:00
Bodo Möller
37c660ff9b
implement fast point multiplication with precomputation
...
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
2003-02-06 19:25:12 +00:00
Bodo Möller
0e9035ac98
SSL_add_dir_cert_subjects_to_stack now exists for WIN32
2003-02-05 16:40:29 +00:00
Richard Levitte
5cd48abf9f
The util scripts need to handled no-hw.
...
PR: 327
2003-01-30 20:03:45 +00:00
Richard Levitte
a1d57849b3
make update
2003-01-30 17:53:02 +00:00
Richard Levitte
0b13e9f055
Add the possibility to build without the ENGINE framework.
...
PR: 287
2003-01-30 17:39:26 +00:00
Richard Levitte
62be003150
Revert: the names of the cygwin distribution will not be named openssl2-*.
...
Requested by Corinna Vinschen <vinschen@redhat.com>
2003-01-13 14:47:52 +00:00
Richard Levitte
ad200a864e
The naming scheme wasn't quite correct for Cygwin
2003-01-09 16:15:46 +00:00
Richard Levitte
0edad88a31
make update
2002-12-09 02:19:27 +00:00
Richard Levitte
4ccfe5f49b
Hmm, Geoff's change made things quite interesting. We can now give
...
users the option of disabling deprecated functions, which should of
course be reflected in libeay.num and .def files. Quite nice,
actually.
2002-12-09 02:18:16 +00:00
Richard Levitte
9ef888130d
Allow users to modify /MD to /MT.
...
PR: 380
2002-12-05 01:35:04 +00:00
Richard Levitte
7a1f92fdc3
Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>
2002-12-03 14:20:44 +00:00
Richard Levitte
db3758923b
Make it so all names mentioned in the NAME section of each manpage becomes a
...
symlink to said manpage.
PR: 242
2002-11-29 15:00:58 +00:00
Richard Levitte
df29cc8f77
Add OPENSSL_cleanse() to help cleanse memory and avoid certain compiler
...
and linker optimizations.
PR: 343
2002-11-27 12:24:05 +00:00
Richard Levitte
fcc764639d
make update
2002-11-19 11:40:14 +00:00
Richard Levitte
629b58b7fb
Make it possible to build for more than one CPU.
...
Clarify what the CE tests do.
2002-11-17 19:48:19 +00:00
Richard Levitte
89618e7a0d
We don't want TARGETCPU expanded here.
2002-11-16 09:42:04 +00:00
Richard Levitte
0bf23d9b20
WinCE patches
2002-11-15 22:37:18 +00:00
Lutz Jänicke
813f256783
Fix buggy #! magic and update ssleay->openssl
...
Submitted by:
Reviewed by:
PR: 305
2002-11-15 21:26:42 +00:00
Richard Levitte
e20afbb340
Cygwin fixes
2002-11-14 12:39:39 +00:00
Richard Levitte
17ed6c06a7
Merge from 0.9.7-stable.
2002-11-13 18:10:30 +00:00
Richard Levitte
86e8b56ac4
Cosmetic change
2002-11-04 06:26:37 +00:00
Richard Levitte
b5148cf1f7
synchronise util/libeay.num with the 0.9.7-stable variant (guys, this
...
is something we really need to keep track of!).
make update
2002-10-29 14:48:57 +00:00
Bodo Möller
5c6bf03117
fast reduction for NIST curves
...
Submitted by: Nils Larsch
2002-10-28 13:23:24 +00:00
Richard Levitte
a551bea52e
make update
2002-10-24 19:12:10 +00:00
Richard Levitte
6cb686208e
For the mkdef.pl to recognise if the "external" engines are inserted
...
into libcrypto, we need the "algorithm" STATIC_ENGINE.
2002-10-24 19:09:03 +00:00
Geoff Thorpe
314c667050
- Remo Inverardi noticed that ENGINEs don't have an "up_ref" function in the
...
normal 'structural' case (ENGINE_init() satisfies this in the less normal
'functional' case). This change provides such a function.
- Correct some "read" locks that should actually be "write" locks.
- make update.
2002-10-16 01:29:37 +00:00
Richard Levitte
001ab3abad
Use double dashes so makedepend doesn't misunderstand the flags we
...
give it.
For 0.9.7 and up, that means util/domd needs to remove those double
dashes from the argument list when gcc is used to find the
dependencies.
2002-10-09 13:25:12 +00:00
Dr. Stephen Henson
97ebe047d0
Typo.
2002-10-05 01:38:58 +00:00
Dr. Stephen Henson
fc6a6a1030
Add version info to Win32 DLLs.
...
We might want to edit the strings a bit...
Maybe add to 0.9.7 too?
2002-10-04 21:22:47 +00:00
Dr. Stephen Henson
3d840c827f
make update
2002-10-04 21:16:58 +00:00
Dr. Stephen Henson
f86abc2e80
Update mkdef.pl to handle new ASN1 macro
2002-10-04 20:24:50 +00:00
Richard Levitte
293d5082c7
The OpenBSD project has replaced the first implementation of the /dev/crypto
...
engine with something they claim is better. I have nothing to compare to,
and I assume they know what they're talking about. The interesting part with
this one is that it's loaded by default on OpenBSD systems.
This change was originally introduced in OpenBSD's tracking of OpenSSL.
2002-10-02 00:19:33 +00:00
Bodo Möller
65b1d31df5
change API for looking at the internal curve list
...
Submitted by: Nils Larsch
2002-09-02 07:08:33 +00:00
Bodo Möller
34f1f2a81c
less specific interface for EC_GROUP_get_basis_type
...
Submitted by: Nils Larsch, Bodo Moeller
2002-08-26 18:08:53 +00:00
Bodo Möller
7e31164ae0
ASN1 for binary curves
...
Submitted by: Nils Larsch
2002-08-26 11:25:54 +00:00
Bodo Möller
b2be73e4e8
add crypto/ecdh
2002-08-15 14:17:19 +00:00
Bodo Möller
7eb18f1237
Simplify handling of named curves: get rid of EC_GROUP_new_by_name(),
...
EC_GROUP_new_by_nid() should be enough. This avoids a lot of
redundancy.
Submitted by: Nils Larsch
2002-08-15 09:21:31 +00:00
Bodo Möller
623e9e66c0
change how pod2man is handled: explicitly invoke '$PERL' only when
...
needed, call 'pod2man' directly if this works
PR: 217
2002-08-14 14:04:24 +00:00
Bodo Möller
74cc4903ef
make update
2002-08-09 12:16:15 +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
be8a280e0b
update
2002-08-02 14:58:09 +00:00
Lutz Jänicke
3aecef7697
"make update"
2002-07-30 12:44:33 +00:00
Richard Levitte
1cc67fa80c
Make dummy tests to make it easier to physically remove unwanted algorithms.
...
This should complete PR 75
2002-07-23 13:31:04 +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
6643f275e2
Make mkdir failsafe in case the directories are already present
2002-07-17 13:33:02 +00:00
Richard Levitte
cd4c36adb8
Add support for shared libraries with OS/2.
...
PR: 124
2002-07-17 13:27:43 +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
Lutz Jänicke
5012158adf
Minor typos
...
Submitted by: jufi@nerdnet.de
Reviewed by:
PR: 138
2002-07-10 17:34:54 +00:00
Richard Levitte
53fc93dda6
A few changes to BC-32.pl didn't get properly applied.
...
This completes PR 123
2002-06-27 16:56:30 +00:00
Richard Levitte
05086644c4
Use underscores instead of dashes in temporary file names.
...
This is due to weird Borland compilers.
Part of PR 123
2002-06-27 14:57:54 +00:00
Richard Levitte
9d358821e5
For some reason, we need to return the full path to perl
2002-06-25 11:40:49 +00:00
Lutz Jänicke
04677ce024
Fix path to find util/pod2man.pl from the execution directory.
...
Make sure to use the predefined PERL.
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at>
Reviewed by:
PR:
2002-06-20 19:49:39 +00:00
Richard Levitte
00f1628eac
make update (adapt libeay.num to the 0.9.7-stable branch)
2002-06-13 23:35:24 +00:00
Richard Levitte
451dc18f10
Add support for DJGPP.
...
PR: 75
2002-06-13 20:42:35 +00:00
Richard Levitte
e888074bb4
Parse directory using both slashes and backslashes as separators.
...
Do file copying in term of perl statements instead of using cp.
Part of PR: 75
2002-06-13 19:50:37 +00:00
Bodo Möller
458c29175e
move ECC ASN1 that is not specific to ECDSA into crypto/ec/,
...
and make some appropriate changes to the EC library.
Submitted by: Nils Larsch
2002-06-10 12:18:21 +00:00
Richard Levitte
d13363af60
Make perl replacement for dirname, for system that lack the latter.
...
PR: 81
2002-06-05 14:10:59 +00:00
Lutz Jänicke
0990a0851a
On some systems the default "perl" may still be perl4, use the correct
...
version determined by "config" instead.
2002-06-05 07:28:07 +00:00
Richard Levitte
0f829bd111
make update (including adjusting libeay.num in HEAD to the changes in the
...
0.9.7-stable libeay.num
2002-06-04 22:32:44 +00:00
Richard Levitte
8b57fb1208
pod2man.pl would only remove the first LF from the name.
2002-05-30 15:30:17 +00:00
Richard Levitte
2962243d19
Apparently, there are still chances we have to deal with buggy pod2man versions.
...
Deal with that by testing any available pod2man and using it if appropriate,
and falling back to util/pod2man.pl if none was found.
2002-05-30 15:19:43 +00:00
Richard Levitte
f33ca23e2f
Our copy of pod2man.pl is old and comparatively broken, so lets remove it.
...
PR: 30
2002-05-30 10:18:13 +00:00
Dr. Stephen Henson
b89670ef0e
Fix Mingw32 asm build: use the Unix
...
bignum assembly method of bn-586.pl
and co-586.pl which (for some reason)
VC++ doesn't use.
2002-05-19 12:03:05 +00:00
Ulf Möller
d80a8d1919
values were reset for no reason.
2002-05-11 09:15:42 +00:00
Lutz Jänicke
8b2f9cdfad
Add cygwin build script (Corinna Vinschen <vinschen@redhat.com>).
2002-04-21 17:54:03 +00:00
Richard Levitte
01682a8b3c
Make sure ec and ecdsa is properly handled in Windows.
...
Notified by Bernd Matthes <bernd.matthes@gemplus.com>
2002-04-20 10:23:56 +00:00
Bodo Möller
ff8e412ceb
get rid of some assignments that have become obsolete
2002-04-15 15:29:43 +00:00
Richard Levitte
a18894d159
make update (libeay.num has been edited to match 0.9.7-stable)
2002-04-06 19:16:12 +00:00
Richard Levitte
4bf4bc784f
make update
2002-02-28 20:29:20 +00:00
Richard Levitte
0d7b9b8b7e
make update, after moving around symbols in libeay.num to match
...
0.9.7-stable.
2002-02-26 14:41:29 +00:00
Geoff Thorpe
5b2d6ff07e
make update
2002-02-20 08:33:55 +00:00
Richard Levitte
516b848286
make update, with libeay.num remade to match the 0.9.7-stable one.
2002-02-14 13:43:30 +00:00
Bodo Möller
4d94ae00d5
ECDSA support
...
Submitted by: Nils Larsch <nla@trustcenter.de>
2002-02-13 18:21:51 +00:00
Richard Levitte
f924200e1b
If the intended header file doesn't exist, create it.
2002-02-07 19:23:35 +00:00
Richard Levitte
de2f6e4dae
'make update'
2002-02-05 17:34:58 +00:00
Richard Levitte
2d57b73a50
I got a request to make the "old des" symbols more closely tied to
...
OpenSSL. Adding '_ossl' in the name seems to be a good way to do
this.
2002-01-26 01:14:09 +00:00
Bodo Möller
957b6db3b1
fix formatting of automatically generated error section
2002-01-24 16:20:42 +00:00
Bodo Möller
a14e2d9dfe
New functions
...
ERR_peek_last_error
ERR_peek_last_error_line
ERR_peek_last_error_line_data
(supersedes ERR_peek_top_error).
Rename OPENSSL_NO_OLD_DES_SUPPORT into OPENSSL_DISABLE_OLD_DES_SUPPORT
because OPENSSL_NO_... indicates disabled algorithms (according to
mkdef.pl).
2002-01-24 16:16:43 +00:00
Richard Levitte
fe19c448f0
make update
...
libeay.num got tweaked so the old des symbols would retain their
positions.
2002-01-24 12:31:54 +00:00
Ulf Möller
e29f478a7a
*** empty log message ***
2002-01-16 19:22:13 +00:00
Bodo Möller
1bb68d62ab
synchronize with engine-0.9.6 tree
2002-01-04 15:03:25 +00:00
Richard Levitte
015fbde807
make update
2002-01-02 17:31:23 +00:00
Richard Levitte
6f9079fd50
Because Rijndael is more known as AES, use crypto/aes instead of
...
crypto/rijndael. Additionally, I applied the AES integration patch
from Stephen Sprunk <stephen@sprunk.org> and fiddled it to work
properly with the normal EVP constructs (and incidently work the same
way as all other symmetric cipher implementations).
This results in an API that looks a lot like the rest of the OpenSSL
cipher suite.
2002-01-02 16:55:35 +00:00
Richard Levitte
29b108f939
make update
2001-12-11 10:57:13 +00:00
Richard Levitte
6343e2fac3
Make it possible to build completely static, independent error C
...
files.
2001-11-15 16:52:10 +00:00
Richard Levitte
ce15d5a9dc
Remove DES_random_seed() but retain des_random_seed() for now. Change
...
the docs to reflect this change and correct libeay.num.
2001-10-25 06:46:22 +00:00
Richard Levitte
c2e4f17c1a
Due to an increasing number of clashes between modern OpenSSL and
...
libdes (which is still used out there) or other des implementations,
the OpenSSL DES functions are renamed to begin with DES_ instead of
des_. Compatibility routines are provided and declared by including
openssl/des_old.h. Those declarations are the same as were in des.h
when the OpenSSL project started, which is exactly how libdes looked
at that time, and hopefully still looks today.
The compatibility functions will be removed in some future release, at
the latest in version 1.0.
2001-10-24 21:21:12 +00:00
Richard Levitte
025c7737b2
make update
2001-10-24 15:32:14 +00:00
Richard Levitte
3009e9f9ef
It seems like gcc does canonicalisation of file names. More
...
specifically, a starting './' is removed. makedepend doesn't do this,
resulting in another possible commit war, so let's fix that by doing a
poor mans canonicalisation of file names that gives the same effect as
doing dependencies through gcc.
2001-10-10 08:27:28 +00:00
Richard Levitte
cb40bdaf57
makedepend sometimes produces duplicates. Remove them.
2001-10-10 07:44:54 +00:00
Richard Levitte
d1cc7b8f22
'make update'
2001-10-01 17:16:24 +00:00
Richard Levitte
db8c838c6a
'make update'
2001-09-26 15:23:14 +00:00
Richard Levitte
89eeccacde
Two changes:
...
1. if there are several symbols with the same entry number, sort those
symbols in ASCII order.
2. Do not stop reading the header files when "BEGIN ERROR CODES" is
found, since mkerr.pl will add a function declaration after that
comment. Instead, trigger on "Error codes for the \w+ function",
which is the actual start of the error code macros.
Additionally, a few more debugging printouts that helped.
2001-09-26 15:06:45 +00:00