Andy Polyakov
c7e7d382d5
Pointer to BN_MONT_CTX could be used uninitialized.
2005-04-28 08:52:29 +00:00
Andy Polyakov
148111ff0a
Avoid L1 cache aliasing even between key and S-boxes. From HEAD.
2005-04-24 21:17:53 +00:00
Dr. Stephen Henson
4ed56cba63
New function BN_MONT_CTX_set_locked, to set montgomery parameters in a
...
threadsafe manner.
Modify or add calls to use it in rsa, dsa and dh algorithms.
2005-04-22 13:17:49 +00:00
Andy Polyakov
145878ca29
Move some variables to .bss.
2005-04-22 12:15:38 +00:00
Andy Polyakov
a36c30136e
Avoid aliasing between stack frames and S-boxes. Compress prefetch code.
...
From HEAD.
2005-04-22 11:53:30 +00:00
Dr. Stephen Henson
92ad8e5c37
Remove defunct FIPS_allow_md5() and related functions.
2005-04-22 01:06:59 +00:00
Andy Polyakov
f868b61376
Maintain fingerprint hashes as C source.
2005-04-19 15:11:59 +00:00
Dr. Stephen Henson
c61a8ad5b0
Remove obsolete fingerprint.sha1 files and associated scripts. Delete test
...
in fips/sha1/Makefile: the top level test checks the same files.
2005-04-18 16:34:21 +00:00
Andy Polyakov
2ec5ebb979
Minor fips const-ification.
2005-04-18 00:22:40 +00:00
Andy Polyakov
863a155451
Resolve minor binary compatibility issues in fips.
2005-04-17 23:26:40 +00:00
Andy Polyakov
1ddce0bebf
Throw in fips/aes/asm/fips-ax86-elf.s.
2005-04-17 22:54:16 +00:00
Andy Polyakov
4347c0a76d
Regenerate fips/des/asm/fips-dx86-elf.s with -fPIC flag.
2005-04-17 22:35:34 +00:00
Andy Polyakov
45bc841b22
Rename fips/sha1/sx86-elf.s to fips/sha1/fips-sx86-elf.s.
2005-04-17 22:17:51 +00:00
Andy Polyakov
7a111bc864
Bring back fips_standalone_sha1.
2005-04-17 22:00:35 +00:00
Dr. Stephen Henson
b99daf76a7
Update hash checking in makefiles to use new perl script.
2005-04-15 11:27:29 +00:00
Dr. Stephen Henson
b219bb8f62
Perl script that checks or rebuilds FIPS hash files. This works on
...
both Unix and Windows.
Merge all FIPS hash files into a single hash file fips/fips.sha1
2005-04-14 20:44:06 +00:00
Dr. Stephen Henson
342b7e0458
Rebuild error codes.
2005-04-12 13:47:58 +00:00
Richard Levitte
9addd9b6fb
Add emacs cache files to .cvsignore.
2005-04-11 14:18:14 +00:00
Dr. Stephen Henson
fe8b77753c
Fix memory leak.
2005-03-22 17:29:36 +00:00
Andy Polyakov
b43b9de9e4
Real Bourne shell doesn't accept ! as in "if ! grep ..." Fix this in
...
crypto/Makefile and make Makefile.org and fips/Makefile more discreet.
2005-03-15 09:46:14 +00:00
Dr. Stephen Henson
f60fc19a69
make update
2005-01-26 20:05:46 +00:00
Richard Levitte
086b64d0d3
make update
2005-01-14 00:16:31 +00:00
Richard Levitte
630b9d70fb
Use EXIT() instead of exit().
2005-01-11 18:25:28 +00:00
Richard Levitte
c4929fb841
Clear signed vs. unsigned conflicts.
...
Change the fingerprint accordingly.
2005-01-11 16:54:35 +00:00
Andy Polyakov
b58560b915
DJGPP update.
...
PR: 989
Submitted by: Doug Kaufman
2005-01-04 10:21:55 +00:00
Dr. Stephen Henson
76d088046c
RSA KAT.
2005-01-03 17:46:45 +00:00
Andy Polyakov
1acf071cd0
Backport of http://cvs.openssl.org/chngview?cn=12323 , as well as eliminate
...
message size limitations on 64-bit platforms.
2004-12-20 13:13:14 +00:00
Andy Polyakov
3ae613e34f
Backport of http://cvs.openssl.org/chngview?cn=12449 , essentially
...
a bug-fix for Win64/ia64.
2004-12-20 13:10:27 +00:00
Andy Polyakov
535178f415
Adapt FIPS sub-tree for mingw.
2004-12-10 16:30:34 +00:00
Andy Polyakov
a4a88eea03
Solaris x86 assembler update.
2004-12-10 13:15:55 +00:00
Andy Polyakov
3d5d6f9658
Cygwin specific FIPS fix-ups.
2004-12-09 18:13:46 +00:00
Andy Polyakov
3010b1730e
sha1_block_asm_data_order can't hash if message crosses 2GB boundary.
...
[back-port from HEAD branch]
2004-12-02 17:05:38 +00:00
Richard Levitte
a2617f727d
Don't use $(EXHEADER) directly in for loops, as most shells will break
...
if $(EXHEADER) is empty.
Notified by many, solution suggested by Carson Gaspar <carson@taltos.org>
2004-11-02 23:53:31 +00:00
Richard Levitte
3955a76946
Make sure _XOPEN_SOURCE_EXTENDED is correctly defined, and only if not
...
already defined.
2004-11-01 08:20:28 +00:00
Richard Levitte
871080b94b
fips/dh was missing in mkfiles.pl.
...
make update
2004-10-26 12:17:25 +00:00
Dr. Stephen Henson
75f7141ab4
make update
2004-10-25 00:04:22 +00:00
Ben Laurie
b16fee0aa7
Update fingerprints.
2004-10-08 10:03:57 +00:00
Richard Levitte
818c0b2e42
num is an unsigned long, but since it was transfered from
...
crypto/sha/sha_locl.h, where it is in fact an int, we need to check
for less-than-zero as if it was an int...
2004-09-06 14:21:14 +00:00
Richard Levitte
aef8807e76
Replace the bogus checks of n with proper uses of feof(), ferror() and
...
clearerr().
2004-09-06 14:19:59 +00:00
Richard Levitte
4fa9664f5e
With DEC C in ANSI C mode, we need to define _XOPEN_SOURCE_EXTENDED to
...
get struct timeval and gettimeofday().
2004-08-10 10:04:13 +00:00
Richard Levitte
483b312391
Update the VMS fips library builder with the DH library.
2004-08-10 09:11:07 +00:00
Richard Levitte
1033449613
make update
2004-08-10 09:09:08 +00:00
Richard Levitte
f992081682
Correct typos and include directory specifications.
2004-08-09 12:14:08 +00:00
Dr. Stephen Henson
44dd6865b9
Stop compiler giving bogus shadow warning.
2004-08-05 18:11:43 +00:00
Richard Levitte
7f9c37457a
To protect FIPS-related global variables, add locking mechanisms
...
around them.
NOTE: because two new locks are added, this adds potential binary
incompatibility with earlier versions in the 0.9.7 series. However,
those locks will only ever be touched when FIPS_mode_set() is called
and after, thanks to a variable that's only changed from 0 to 1 once
(when FIPS_mode_set() is called). So basically, as long as FIPS mode
hasn't been engaged explicitely by the calling application, the new
locks are treated as if they didn't exist at all, thus not becoming a
problem. Applications that are built or rebuilt to use FIPS
functionality will need to be recompiled in any case, thus not being a
problem either.
2004-07-30 14:38:02 +00:00
Richard Levitte
86022a79a5
We're building crypto stuff, not ssl stuff. Additionally, we're in
...
the fips subdirectory, not the crypto one...
2004-07-29 22:26:57 +00:00
Dr. Stephen Henson
d2033156c5
Rename libcrypto.sha1 to libcrypto.a.sha1
2004-07-27 12:22:08 +00:00
Dr. Stephen Henson
5edd0f51e3
Stop compiler warnings.
2004-07-27 00:17:46 +00:00
Ben Laurie
03ecfadf3d
Convert to X9.31.
2004-07-23 13:20:32 +00:00
Dr. Stephen Henson
40007ad24d
Avoid compiler warnings.
2004-07-21 17:35:49 +00:00