Dr. Stephen Henson
df0884ffb7
Retry rename operation with a slight delay to workaround problems on
...
some versions of Windows.
2011-12-10 18:06:55 +00:00
Dr. Stephen Henson
0e480d5553
use different names for asm temp files to avoid problems on some platforms
2011-12-10 13:29:23 +00:00
Dr. Stephen Henson
7c0d30038f
Close file streams in FIPS algorithm test utilities.
2011-12-08 15:14:38 +00:00
Dr. Stephen Henson
81fc8cd029
prepare for RC6
2011-12-04 21:29:08 +00:00
Dr. Stephen Henson
1d235039d6
For FIPS builds we don't use the normal test files (and in the restricted
...
tarball some don't exist) so set TEST='' to avoid linking to them. This also
avoids problems on platforms that copy instead of symlink.
2011-12-04 15:26:26 +00:00
Dr. Stephen Henson
58886fdefc
use BUILD_ONE_CMD for fips specific links otherwise we effectively do 'make links' twice
2011-12-04 15:14:13 +00:00
Dr. Stephen Henson
61c3085d47
Workaround for VxWorks
2011-12-04 15:11:44 +00:00
Dr. Stephen Henson
32b56fe4d2
avoid use of symlinks on Windows: it causes problems on some build environments
2011-12-04 15:04:20 +00:00
Dr. Stephen Henson
efd031abca
Fix x86cpuid so it doesn't fail for some (currently theoretical) virtual
...
machines.
2011-12-03 21:47:48 +00:00
Dr. Stephen Henson
dd4eefdb7b
Change EVP_MAXCHUNK so it doesn't wraparound to 0 on some platforms (IP32L64).
2011-12-03 21:44:01 +00:00
Dr. Stephen Henson
fcd3e8e97b
Prepare for RC6.
2011-12-03 19:51:52 +00:00
Dr. Stephen Henson
476e7e4972
Add tests to ensure ECDSA key gen and DSA signing fails if DRBG
...
entropy source fails.
2011-12-03 19:41:28 +00:00
Dr. Stephen Henson
5e900f3cef
functions aren't unused: revert
2011-12-03 19:19:34 +00:00
Dr. Stephen Henson
75b250a4ed
remove unused functions from module
2011-12-03 18:27:31 +00:00
Dr. Stephen Henson
44cb365eaf
bn/asm/mips.pl: fix typos [from HEAD], original by Andy
2011-12-03 18:26:26 +00:00
Dr. Stephen Henson
9bd2dde42f
prepare for rc5
2011-11-25 16:27:19 +00:00
Dr. Stephen Henson
31bf5f13e0
return error if counter exceeds limit and seed value supplied
2011-11-25 16:03:27 +00:00
Dr. Stephen Henson
7dcdc0d94d
check counter value against 4 * L, not 4096
2011-11-25 15:00:20 +00:00
Dr. Stephen Henson
6ecd287acc
bump version for rc5-dev: hopefully will never be needed...
2011-11-21 00:05:15 +00:00
Dr. Stephen Henson
0e508c12e0
prepare for rc4
2011-11-19 17:04:28 +00:00
Dr. Stephen Henson
f6385248f6
Add flag to support cofactor ECDH
2011-11-19 17:03:44 +00:00
Dr. Stephen Henson
52876c3100
bump version to rc4-dev
2011-11-18 21:59:36 +00:00
Dr. Stephen Henson
c08128acc2
prepare for RC3
2011-11-18 18:50:57 +00:00
Dr. Stephen Henson
901b9b5c36
In EC_KEY_set_public_key_affine_coordinates include explicit check to see passed components do not exceed field order
2011-11-16 13:28:11 +00:00
Dr. Stephen Henson
9eca2399f1
portability fix for some perl versions
2011-11-11 19:01:11 +00:00
Dr. Stephen Henson
3b4fb53221
fclose streams in fips_drbvs.c
...
Produced error message for unsupported curves in fips_ecdhvs.c
2011-11-09 14:23:17 +00:00
Dr. Stephen Henson
7437036cdf
Prepare for RC3 (which may never happen).
2011-11-08 19:08:40 +00:00
Andy Polyakov
ffa76736fa
Platform update from HEAD.
2011-11-08 14:44:55 +00:00
Dr. Stephen Henson
cbed6cfcaa
add fips_algvs.c to restricted tarball
2011-11-07 13:54:30 +00:00
Dr. Stephen Henson
be6dc7e56b
Prepare for RC2
2011-11-07 13:18:12 +00:00
Dr. Stephen Henson
bb25a72881
MacOS and iOS support
2011-11-07 13:16:55 +00:00
Andy Polyakov
1562ce17cb
fipsld, incore: switch to new cross-compile support [from HEAD].
2011-11-07 00:22:59 +00:00
Andy Polyakov
68b2f55b90
e_aes.c: fold aesni_xts_cipher and [most importantly] fix aes_xts_cipher's
...
return value after custom flag was rightly reverted [from HEAD].
2011-11-06 19:49:58 +00:00
Dr. Stephen Henson
79f2c9d1cd
check for unset entropy and nonce callbacks
2011-11-06 13:08:54 +00:00
Dr. Stephen Henson
8a794abd9d
Update fips_test_suite to take multiple command line options and
...
an induced error checking function.
2011-11-06 12:52:27 +00:00
Dr. Stephen Henson
03eae35352
typo
2011-11-05 18:25:16 +00:00
Dr. Stephen Henson
df64f34e84
make post failure simulation reversible in all cases
2011-11-05 18:15:01 +00:00
Dr. Stephen Henson
21a5cb2696
typo: use key for POST callback
2011-11-05 18:11:16 +00:00
Dr. Stephen Henson
01fc2c1598
fix set but unused warnings
2011-11-05 18:04:50 +00:00
Andy Polyakov
04c8062636
armv4cpuid.S, armv4-gf2m.pl: make newest code compilable by older assembler [from HEAD].
2011-11-05 13:57:02 +00:00
Andy Polyakov
6fcc2bbce8
x86cpuid.pl: don't punish "last-year" OSes on "this-year" CPUs [from HEAD].
...
PR: 2633
2011-11-05 13:56:10 +00:00
Andy Polyakov
f2b0cf9178
ppc.pl: fix bug in bn_mul_comba4 [from HEAD].
...
PR: 2636
Submitted by: Charles Bryant
2011-11-05 13:55:20 +00:00
Dr. Stephen Henson
485ef852ac
Add single call public key sign and verify functions.
2011-11-05 01:32:52 +00:00
Dr. Stephen Henson
b7de76b74d
Add support for memory leak checking in fips_algvs.
...
Fix many memory leaks in algorithm test utilities.
2011-11-02 19:16:43 +00:00
Dr. Stephen Henson
8ab0d50c43
Remove duplicate test from health check. Fix memory leaks by uninstantiating
...
DRBG before reinitialising it.
2011-11-02 16:35:24 +00:00
Dr. Stephen Henson
cb47a7107f
Print out an error for "make test" in FIPS builds.
2011-11-02 00:43:45 +00:00
Dr. Stephen Henson
d5939062d7
Replace exit calls with return in fips_test_suite
2011-11-02 00:07:15 +00:00
Dr. Stephen Henson
8b8096d082
Add support for multicall fips_algvs utility combining functionality
...
of all fips test utilities in a single binary and some minimal script
parsing for platforms lacking a suitable shell.
In order to keep changes to the build system to a minimum it #includes all
the utilities C source files (yuck).
2011-11-01 13:45:30 +00:00
Dr. Stephen Henson
9ab6d6813e
PR: 2632
...
Submitted by: emmanuel.azencot@bull.net
Reviewed by: steve
Return -1 immediately if not affine coordinates as BN_CTX has not been
set up.
2011-10-26 16:46:20 +00:00
Dr. Stephen Henson
45e5f551ac
Prepare for RC2.
2011-10-24 16:58:49 +00:00