oweals/openssl.git
22 years agoReorder inclusion of header files:
Lutz Jänicke [Wed, 10 Jul 2002 07:01:54 +0000 (07:01 +0000)]
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:

22 years agoCiphers with NULL encryption were not properly handled because they were
Lutz Jänicke [Wed, 10 Jul 2002 06:41:55 +0000 (06:41 +0000)]
Ciphers with NULL encryption were not properly handled because they were
not covered by the strength bit mask.
Submitted by:
Reviewed by:
PR: 130

22 years agofix synopsis
Bodo Möller [Tue, 9 Jul 2002 10:51:25 +0000 (10:51 +0000)]
fix synopsis

Submitted by: Nils Larsch

22 years agoemtpy fragments are not necessary for SSL_eNULL
Bodo Möller [Tue, 9 Jul 2002 08:49:09 +0000 (08:49 +0000)]
emtpy fragments are not necessary for SSL_eNULL
(but noone uses it anyway)

fix t1_enc.c: use OPENSSL_NO_RC4, not NO_RC4

22 years agooops, there were other cases of "ENGINE_ID" to change too.
Geoff Thorpe [Mon, 8 Jul 2002 15:16:10 +0000 (15:16 +0000)]
oops, there were other cases of "ENGINE_ID" to change too.

22 years agoCorrect an error in the README.ENGINE file.
Geoff Thorpe [Mon, 8 Jul 2002 14:57:09 +0000 (14:57 +0000)]
Correct an error in the README.ENGINE file.

Submitted by: Jan Tschirschwitz <Jan.Tschirschwitz@cluster-labs.de>

22 years agoAES cipher suites are now official (RFC3268)
Bodo Möller [Thu, 4 Jul 2002 08:51:09 +0000 (08:51 +0000)]
AES cipher suites are now official (RFC3268)

22 years agoREADME and INSTALL should contain information about the request tracker
Lutz Jänicke [Sun, 30 Jun 2002 19:40:18 +0000 (19:40 +0000)]
README and INSTALL should contain information about the request tracker
(noted by Jonathan Louie <jlouie@recourse.com>).

22 years agoDo not define crypt() on OpenBSD. Notified by Bob Beck of OpenBSD.
Richard Levitte [Sat, 29 Jun 2002 22:04:09 +0000 (22:04 +0000)]
Do not define crypt() on OpenBSD.  Notified by Bob Beck of OpenBSD.

22 years agoopensslconf.h doesn't define what we want, e_os2.h does.
Richard Levitte [Thu, 27 Jun 2002 17:19:55 +0000 (17:19 +0000)]
opensslconf.h doesn't define what we want, e_os2.h does.
PR 123

22 years agoTry to avoid double declaration of ERR_load_PEM_strings().
Richard Levitte [Thu, 27 Jun 2002 17:06:28 +0000 (17:06 +0000)]
Try to avoid double declaration of ERR_load_PEM_strings().
PR 71

22 years agoA few changes to BC-32.pl didn't get properly applied.
Richard Levitte [Thu, 27 Jun 2002 16:56:30 +0000 (16:56 +0000)]
A few changes to BC-32.pl didn't get properly applied.
This completes PR 123

22 years agoPass CFLAG to dependency makers, so non-standard system include paths are
Richard Levitte [Thu, 27 Jun 2002 16:39:25 +0000 (16:39 +0000)]
Pass CFLAG to dependency makers, so non-standard system include paths are
handled properly.
Part of PR 75

22 years agoDJGPP has some needed header files that other MSDOS/Windows compilers don't have.
Richard Levitte [Thu, 27 Jun 2002 16:32:04 +0000 (16:32 +0000)]
DJGPP has some needed header files that other MSDOS/Windows compilers don't have.
Part of PR 75

22 years agoUpdate the information on Cygwin.
Richard Levitte [Thu, 27 Jun 2002 16:29:46 +0000 (16:29 +0000)]
Update the information on Cygwin.
Part of PR 75

22 years agoForgot to change the second $ENV{DJDIR} to /dev/env/DJDIR.
Richard Levitte [Thu, 27 Jun 2002 16:28:04 +0000 (16:28 +0000)]
Forgot to change the second $ENV{DJDIR} to /dev/env/DJDIR.
Part of PR 75

22 years agoThe new stuff is for Borland Bulider 5, so document it appropriately
Richard Levitte [Thu, 27 Jun 2002 15:10:57 +0000 (15:10 +0000)]
The new stuff is for Borland Bulider 5, so document it appropriately

22 years agoDocument the new way of building with Borland Builder.
Richard Levitte [Thu, 27 Jun 2002 15:07:27 +0000 (15:07 +0000)]
Document the new way of building with Borland Builder.
This concludes the changes from PR 123

22 years agoUse underscores instead of dashes in temporary file names.
Richard Levitte [Thu, 27 Jun 2002 14:57:54 +0000 (14:57 +0000)]
Use underscores instead of dashes in temporary file names.
This is due to weird Borland compilers.
Part of PR 123

22 years agoWhen compiling for Windows, make sure we have the windows definitions declared.
Richard Levitte [Thu, 27 Jun 2002 14:55:52 +0000 (14:55 +0000)]
When compiling for Windows, make sure we have the windows definitions declared.
Part of PR 123

22 years agoUse 32-bit sections instead of the default, 16-bit ones.
Richard Levitte [Thu, 27 Jun 2002 14:54:34 +0000 (14:54 +0000)]
Use 32-bit sections instead of the default, 16-bit ones.
Part of PR 123

22 years agohave 'openssl pkcs7' exit with code 1 on error instead of 0.
Richard Levitte [Thu, 27 Jun 2002 10:26:40 +0000 (10:26 +0000)]
have 'openssl pkcs7' exit with code 1 on error instead of 0.
PR: 119

22 years agogcc requires -m64 to link 64-bit shared libraries on Solaris.
Richard Levitte [Thu, 27 Jun 2002 10:19:17 +0000 (10:19 +0000)]
gcc requires -m64 to link 64-bit shared libraries on Solaris.
PR: 117

22 years agoUse bg instead of bag as argument to macros, to avoid clashes with
Richard Levitte [Thu, 27 Jun 2002 09:54:07 +0000 (09:54 +0000)]
Use bg instead of bag as argument to macros, to avoid clashes with
structure field names.
PR: 112

22 years agoThere is no RSAREF any more, so do not ty to install it.
Richard Levitte [Thu, 27 Jun 2002 09:18:45 +0000 (09:18 +0000)]
There is no RSAREF any more, so do not ty to install it.
PR: 106

22 years agoThe general debug target must specify that it doesn't use assembler routines.
Richard Levitte [Thu, 27 Jun 2002 09:13:44 +0000 (09:13 +0000)]
The general debug target must specify that it doesn't use assembler routines.
PR: 105

22 years agoA number of includes were removed from evp.h some time ago. The reason
Richard Levitte [Thu, 27 Jun 2002 05:03:00 +0000 (05:03 +0000)]
A number of includes were removed from evp.h some time ago.  The reason
was that they weren't really needed any more for EVP itself.  However,
it seems like soma applications (I know about OpenSSH, but there may
be more) used evp.h as the 'load all' header file, which makes sense
since we try our best to promote the use of EVP instead of the lower
level crypto algorithms.  Therefore, I put the inclusions back so
the application authors don't get too shocked by all the errors they
would otherwise get.

Thanks to Theo de Raadt for making us aware of this.

22 years agoMake sure buffers are large enough even for weird parameters
Bodo Möller [Wed, 26 Jun 2002 14:28:41 +0000 (14:28 +0000)]
Make sure buffers are large enough even for weird parameters

Submitted by: Nils Larsch

22 years agoupdate an entry on EVP changes
Bodo Möller [Wed, 26 Jun 2002 14:21:16 +0000 (14:21 +0000)]
update an entry on EVP changes

22 years agoFor some reason, we need to return the full path to perl
Richard Levitte [Tue, 25 Jun 2002 11:40:49 +0000 (11:40 +0000)]
For some reason, we need to return the full path to perl

22 years agoMake sure any ENGINE control commands make local copies of string
Geoff Thorpe [Fri, 21 Jun 2002 02:38:08 +0000 (02:38 +0000)]
Make sure any ENGINE control commands make local copies of string
pointers passed to them whenever necessary. Otherwise it is possible the
caller may have overwritten (or deallocated) the original string data
when a later ENGINE operation tries to use the stored values.

Submitted by: Götz Babin-Ebell <babinebell@trustcenter.de>
Reviewed by: Geoff Thorpe
PR: 98

22 years ago<sys/select.h> is included for AIX, when USE_SOCKETS is defined.
Lutz Jänicke [Thu, 20 Jun 2002 20:49:27 +0000 (20:49 +0000)]
<sys/select.h> is included for AIX, when USE_SOCKETS is defined.
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at>
Reviewed by:
PR:

22 years agoHP-UX: shared libraries MUST be +x and SHOULD be -w.
Lutz Jänicke [Thu, 20 Jun 2002 19:57:23 +0000 (19:57 +0000)]
HP-UX: shared libraries MUST be +x and SHOULD be -w.

22 years agoFix path to find util/pod2man.pl from the execution directory.
Lutz Jänicke [Thu, 20 Jun 2002 19:49:39 +0000 (19:49 +0000)]
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:

22 years agoThis apparently fixes compilation on OSX that was failing in 0.9.7 betas.
Geoff Thorpe [Thu, 20 Jun 2002 18:22:51 +0000 (18:22 +0000)]
This apparently fixes compilation on OSX that was failing in 0.9.7 betas.

Submitted by: Pieter Bowman <bowman@math.utah.edu>

22 years agoAIX (V3) requires <sys/select.h> (included via e_os.h) for fd_set.
Lutz Jänicke [Thu, 20 Jun 2002 17:32:04 +0000 (17:32 +0000)]
AIX (V3) requires <sys/select.h> (included via e_os.h) for fd_set.
Submitted by: Bernhard Simon <bs@bsws.zid.tuwien.ac.at>
Reviewed by:
PR:

22 years agoload_netscape_key is static.
Lutz Jänicke [Tue, 18 Jun 2002 17:44:56 +0000 (17:44 +0000)]
load_netscape_key is static.

22 years agoalways include <string.h> (we do this in various other header files,
Bodo Möller [Tue, 18 Jun 2002 09:36:02 +0000 (09:36 +0000)]
always include <string.h> (we do this in various other header files,
so it can't be bad)

22 years agoalways include <string.h> (we do this in various other header files,
Bodo Möller [Tue, 18 Jun 2002 09:35:43 +0000 (09:35 +0000)]
always include <string.h> (we do this in various other header files,
so it can't be bad)

PR: 102

22 years agoImplement handling of EC parameter seeds (new functions
Bodo Möller [Tue, 18 Jun 2002 08:38:59 +0000 (08:38 +0000)]
Implement handling of EC parameter seeds (new functions
EC_GROUP_set_seed(), EC_GROUP_get0_seed(), EC_GROUP_get_seed_len()).

New functions ECPKParameters_print(), ECPKParameters_print_fp().

Submitted by: Nils Larsch

22 years agotypo
Bodo Möller [Mon, 17 Jun 2002 13:59:12 +0000 (13:59 +0000)]
typo

22 years agobeta2, not beta1
Lutz Jänicke [Sun, 16 Jun 2002 18:20:28 +0000 (18:20 +0000)]
beta2, not beta1

22 years agoRoll out OpenSSL-0.9.7-beta2
Lutz Jänicke [Sun, 16 Jun 2002 11:33:59 +0000 (11:33 +0000)]
Roll out OpenSSL-0.9.7-beta2

22 years agoUse -dumpversion to obtain gcc's version.
Lutz Jänicke [Sun, 16 Jun 2002 10:31:17 +0000 (10:31 +0000)]
Use -dumpversion to obtain gcc's version.
Submitted by: ross.alexander@uk.neceur.com, allenh@eecs.berkeley.edu
Reviewed by:
PR: 96

22 years agoOpenSSL_add_all_algorithms has been replaced by configuration dependent
Lutz Jänicke [Sun, 16 Jun 2002 10:18:25 +0000 (10:18 +0000)]
OpenSSL_add_all_algorithms has been replaced by configuration dependent
functions and is redirected by macros. Switch it off now, possible removal
later.

22 years agoInitial support for hpux64-parisc-gcc
Lutz Jänicke [Fri, 14 Jun 2002 20:15:18 +0000 (20:15 +0000)]
Initial support for hpux64-parisc-gcc
Submitted by: ross.alexander@uk.neceur.com
Reviewed by:
PR: 96

22 years agoSome more prototype fixes.
Lutz Jänicke [Fri, 14 Jun 2002 19:01:52 +0000 (19:01 +0000)]
Some more prototype fixes.
Use DECLARE macros in asn1* instead of direct declaration.
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de>
Reviewed by:
PR: 89

22 years agoNew option SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS for disabling CBC
Bodo Möller [Fri, 14 Jun 2002 12:21:11 +0000 (12:21 +0000)]
New option SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS for disabling CBC
vulnerability workaround (included in SSL_OP_ALL).

PR: #90

22 years agomake update (adapt libeay.num to the 0.9.7-stable branch)
Richard Levitte [Thu, 13 Jun 2002 23:35:24 +0000 (23:35 +0000)]
make update (adapt libeay.num to the 0.9.7-stable branch)

22 years agoTentatively add support for UWIN, a Unix-like environment on top of Windows.
Richard Levitte [Thu, 13 Jun 2002 21:44:23 +0000 (21:44 +0000)]
Tentatively add support for UWIN, a Unix-like environment on top of Windows.
PR: 62

22 years agoMake sure that any dash in the prefix before the version number is removed.
Richard Levitte [Thu, 13 Jun 2002 21:11:41 +0000 (21:11 +0000)]
Make sure that any dash in the prefix before the version number is removed.
PR: 96

22 years agoAdd support for DJGPP.
Richard Levitte [Thu, 13 Jun 2002 20:44:49 +0000 (20:44 +0000)]
Add support for DJGPP.

22 years agoAdd support for DJGPP.
Richard Levitte [Thu, 13 Jun 2002 20:42:35 +0000 (20:42 +0000)]
Add support for DJGPP.
PR: 75

22 years agoCheck for the executable $openssl, not just the file.
Richard Levitte [Thu, 13 Jun 2002 19:59:40 +0000 (19:59 +0000)]
Check for the executable $openssl, not just the file.
Part of PR: 75

22 years agoParse directory using both slashes and backslashes as separators.
Richard Levitte [Thu, 13 Jun 2002 19:50:37 +0000 (19:50 +0000)]
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

22 years agoMaking a softlink from crypto/des/asm/perlasm to crypto/perlasm isn't
Richard Levitte [Thu, 13 Jun 2002 19:42:37 +0000 (19:42 +0000)]
Making a softlink from crypto/des/asm/perlasm to crypto/perlasm isn't
strictly necessary, so let's not do that.

22 years agoAdd missing prototypes.
Lutz Jänicke [Thu, 13 Jun 2002 17:40:27 +0000 (17:40 +0000)]
Add missing prototypes.
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de>
PR: 89

22 years agoFix ext_dat.h extension ordering.
Dr. Stephen Henson [Thu, 13 Jun 2002 12:56:27 +0000 (12:56 +0000)]
Fix ext_dat.h extension ordering.

Reinstate -reqout code.

Avoid coredump in ocsp if setup_verify
fails.

Fix typo in ocsp usage message.

22 years agoAdd OIDs for Secure Electronic Transactions (SET)
Lutz Jänicke [Thu, 13 Jun 2002 11:52:56 +0000 (11:52 +0000)]
Add OIDs for Secure Electronic Transactions (SET)
Submitted by: Vadim Fedukovich <vf@unity.net>
Reviewed by: Lutz Jaenicke
PR: 80

22 years agoClarify formulation (proposed by Bodo Moeller).
Lutz Jänicke [Thu, 13 Jun 2002 08:53:42 +0000 (08:53 +0000)]
Clarify formulation (proposed by Bodo Moeller).

22 years agoThe new ASN1 code automatically allocates
Dr. Stephen Henson [Thu, 13 Jun 2002 00:43:27 +0000 (00:43 +0000)]
The new ASN1 code automatically allocates
structures for fields that are not OPTIONAL.

However in the AUTHORITY_INFO_ACCESS case
the 'location' field was set to NULL in
the old code.

So in 0.9.7+ we should free up the field before
overwriting it in v2i_AUTHORITY_INFO_ACCESS.

22 years agoMake change uniqueIdentifier -> x500UniqueIdentifier clearly visible.
Lutz Jänicke [Wed, 12 Jun 2002 20:46:38 +0000 (20:46 +0000)]
Make change uniqueIdentifier -> x500UniqueIdentifier clearly visible.
Submitted by:
Reviewed by:
PR: 82

22 years agoCorrect wrong usage information.
Lutz Jänicke [Wed, 12 Jun 2002 20:15:18 +0000 (20:15 +0000)]
Correct wrong usage information.
PR: 95

22 years agotypo
Bodo Möller [Wed, 12 Jun 2002 14:19:01 +0000 (14:19 +0000)]
typo

22 years agosimplify asn1_flag
Bodo Möller [Wed, 12 Jun 2002 14:01:17 +0000 (14:01 +0000)]
simplify asn1_flag

Submitted by: Nils Larsch
Reviewed by: Bodo Moeller

22 years agoSupport building the distribution .tar file on platforms with limited
Lutz Jänicke [Wed, 12 Jun 2002 12:26:34 +0000 (12:26 +0000)]
Support building the distribution .tar file on platforms with limited
argument list length. This requires Gnu-tar. As we use the non-standard
"tardy" software anyway, it doesn't hurt too much to require Gnu-tar.
"make dist" will probably only be used by team-members anyway.

22 years agoHandle read errors.
Ben Laurie [Tue, 11 Jun 2002 12:41:37 +0000 (12:41 +0000)]
Handle read errors.

22 years agoFix warnings.
Ben Laurie [Tue, 11 Jun 2002 12:03:51 +0000 (12:03 +0000)]
Fix warnings.

22 years agomove ECC ASN1 that is not specific to ECDSA into crypto/ec/,
Bodo Möller [Mon, 10 Jun 2002 12:41:18 +0000 (12:41 +0000)]
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

22 years agomove ECC ASN1 that is not specific to ECDSA into crypto/ec/,
Bodo Möller [Mon, 10 Jun 2002 12:18:21 +0000 (12:18 +0000)]
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

22 years agofix for 'make update'
Bodo Möller [Mon, 10 Jun 2002 11:46:32 +0000 (11:46 +0000)]
fix for 'make update'

22 years agoremove unnecessary calls to EC_POINT_copy()
Bodo Möller [Mon, 10 Jun 2002 11:02:55 +0000 (11:02 +0000)]
remove unnecessary calls to EC_POINT_copy()

22 years agoMake sure that flags are passed to "make" subprocesses.
Lutz Jänicke [Mon, 10 Jun 2002 08:10:32 +0000 (08:10 +0000)]
Make sure that flags are passed to "make" subprocesses.

22 years agofix memory leak
Bodo Möller [Thu, 6 Jun 2002 10:33:05 +0000 (10:33 +0000)]
fix memory leak

Submitted by: Nils Larsch

22 years agoFor the main directory, Makefile.org is significant :-)
Lutz Jänicke [Thu, 6 Jun 2002 10:21:04 +0000 (10:21 +0000)]
For the main directory, Makefile.org is significant :-)

22 years agoMake sure that settings are passed back and forth when walking around
Lutz Jänicke [Thu, 6 Jun 2002 10:16:59 +0000 (10:16 +0000)]
Make sure that settings are passed back and forth when walking around
in the tree during build.
Reinstall default PERL settings in Makefiles, as the real reason for the
failure was that the settings were not passed.

22 years agoNew OID for X509 usage: pseudonym
Lutz Jänicke [Thu, 6 Jun 2002 07:33:00 +0000 (07:33 +0000)]
New OID for X509 usage: pseudonym
Submitted by: Michael Bell <michael.bell@rz.hu-berlin.de>
Reviewed by: Lutz Jaenicke
PR: 83

22 years agoMerge from 0.9.7-stable.
Richard Levitte [Thu, 6 Jun 2002 07:22:33 +0000 (07:22 +0000)]
Merge from 0.9.7-stable.

22 years agoMake perl replacement for dirname, for system that lack the latter.
Richard Levitte [Wed, 5 Jun 2002 14:10:59 +0000 (14:10 +0000)]
Make perl replacement for dirname, for system that lack the latter.
PR: 81

22 years agoIt's not good to have a pointer point at something in an inner block.
Richard Levitte [Wed, 5 Jun 2002 13:47:29 +0000 (13:47 +0000)]
It's not good to have a pointer point at something in an inner block.
PR: 66

22 years agoCheck errors when parsing a PKCS8INF PEM FILE, or there will be a core dump on error.
Richard Levitte [Wed, 5 Jun 2002 11:58:29 +0000 (11:58 +0000)]
Check errors when parsing a PKCS8INF PEM FILE, or there will be a core dump on error.
PR: 77

22 years agoDocumentation bug corrected.
Richard Levitte [Wed, 5 Jun 2002 09:31:05 +0000 (09:31 +0000)]
Documentation bug corrected.
PR: 70

22 years agoSince there's no continuation, the ; can go as well :-)
Richard Levitte [Wed, 5 Jun 2002 09:08:41 +0000 (09:08 +0000)]
Since there's no continuation, the ; can go as well :-)

22 years agoThere is no continuation at this point.
Lutz Jänicke [Wed, 5 Jun 2002 08:00:36 +0000 (08:00 +0000)]
There is no continuation at this point.

22 years agoOn some systems the default "perl" may still be perl4, use the correct
Lutz Jänicke [Wed, 5 Jun 2002 07:28:07 +0000 (07:28 +0000)]
On some systems the default "perl" may still be perl4, use the correct
version determined by "config" instead.

22 years agoThe correct PERL interpreter is passed via commandline.
Lutz Jänicke [Wed, 5 Jun 2002 07:03:17 +0000 (07:03 +0000)]
The correct PERL interpreter is passed via commandline.

22 years agoUpdate the recognision of GCC version numbers to handle the prefix text
Richard Levitte [Wed, 5 Jun 2002 05:00:51 +0000 (05:00 +0000)]
Update the recognision of GCC version numbers to handle the prefix text
that GCC 3.1 adds to the --version output

22 years agomake update (including adjusting libeay.num in HEAD to the changes in the
Richard Levitte [Tue, 4 Jun 2002 22:32:44 +0000 (22:32 +0000)]
make update (including adjusting libeay.num in HEAD to the changes in the
0.9.7-stable libeay.num

22 years agoTypo.
Lutz Jänicke [Tue, 4 Jun 2002 20:43:10 +0000 (20:43 +0000)]
Typo.
PR: 72

22 years agouse sstrsep() to get the proper type to aoti().
Richard Levitte [Mon, 3 Jun 2002 15:27:46 +0000 (15:27 +0000)]
use sstrsep() to get the proper type to aoti().
Remove unneeded cast in ustrsep().
PR: 69

22 years ago0.9.7-beta1 is just being released.
Lutz Jänicke [Sat, 1 Jun 2002 15:33:36 +0000 (15:33 +0000)]
0.9.7-beta1 is just being released.

22 years agoDocument the AES changes.
Richard Levitte [Fri, 31 May 2002 13:16:10 +0000 (13:16 +0000)]
Document the AES changes.

22 years agoAdd the AES test vectors from NIST document SP800-38A.
Richard Levitte [Fri, 31 May 2002 13:13:43 +0000 (13:13 +0000)]
Add the AES test vectors from NIST document SP800-38A.

22 years agoMake it possible to give vectors only for decryption or encryption.
Richard Levitte [Fri, 31 May 2002 13:12:49 +0000 (13:12 +0000)]
Make it possible to give vectors only for decryption or encryption.

22 years agoFor CFB and OFB modes, always create the encryption key.
Richard Levitte [Fri, 31 May 2002 13:11:44 +0000 (13:11 +0000)]
For CFB and OFB modes, always create the encryption key.

22 years agoDeclare the CFB and OFB modes for AES, and prepare for a declaration
Richard Levitte [Fri, 31 May 2002 13:08:53 +0000 (13:08 +0000)]
Declare the CFB and OFB modes for AES, and prepare for a declaration
of CTR mode.

22 years agoIn CFB mode, the iv is always encrypted.
Richard Levitte [Fri, 31 May 2002 13:07:39 +0000 (13:07 +0000)]
In CFB mode, the iv is always encrypted.

22 years agoReformat the CFLAG string so it can be made part of a C string.
Richard Levitte [Thu, 30 May 2002 18:06:35 +0000 (18:06 +0000)]
Reformat the CFLAG string so it can be made part of a C string.
Incidently, this works pretty well on the command line as well.
PR: 52

22 years agoSupport the newly release gcc 3.1 on 64-bit Solaris. Not automatic.
Richard Levitte [Thu, 30 May 2002 17:28:16 +0000 (17:28 +0000)]
Support the newly release gcc 3.1 on 64-bit Solaris.  Not automatic.
PR: 57

22 years agoSupport shared libraries properly on linux-sparcv[89].
Richard Levitte [Thu, 30 May 2002 17:07:38 +0000 (17:07 +0000)]
Support shared libraries properly on linux-sparcv[89].
PR: 60