Dr. Stephen Henson
add13802cf
Don't require tag before ciphertext in AESGCM mode
2012-10-16 22:47:00 +00:00
Dr. Stephen Henson
b6c1d4b7f0
e_aes.c: uninitialized variable in aes_ccm_init_key.
...
PR: 2874
Submitted by: Tomas Mraz
(backport from HEAD)
2012-10-15 11:28:59 +00:00
Dr. Stephen Henson
aaf8b56fc8
sha1-armv4-large.pl: comply with ABI.
...
(backport from HEAD)
2012-10-14 12:30:12 +00:00
Dr. Stephen Henson
799602e489
gcm128.c: fix AAD-only case with AAD length not divisible by 16.
...
PR: 2859
Submitted by: John Foley
(backport from HEAD)
2012-10-14 12:29:25 +00:00
Dr. Stephen Henson
82607b291f
optimize make_kn (from HEAD, by Andy)
2012-10-14 12:26:02 +00:00
Dr. Stephen Henson
fd9d2eaf16
CMAC reset fix (from HEAD)
2012-10-14 12:24:24 +00:00
Dr. Stephen Henson
ea11fc17cf
Add support for Windows CE and C64+ to FIPS module. (from fips2-stable)
2012-10-04 14:27:39 +00:00
Dr. Stephen Henson
4972d50da0
add comment
2012-05-23 11:47:01 +00:00
Dr. Stephen Henson
35b412322f
fix typo
2012-05-23 11:45:21 +00:00
Dr. Stephen Henson
b440c25d36
Changes needed to support WinCE compilation:
...
Don't try to raise SIGABRT if not defined.
Return from fips_dhvs.c main instead of calling exit.
Workaround for lack of GetSystemFileAsFileTime.
Disable optimisation for part of bn_nist.c to avoid compiler bug.
Remove /WX flag so we don't exist on warnings.
2012-05-22 23:57:22 +00:00
Dr. Stephen Henson
ac381944ac
give a hand old assemblers assembling loop instruction. (original by Andy)
2012-01-18 14:54:20 +00:00
Dr. Stephen Henson
61c3085d47
Workaround for VxWorks
2011-12-04 15:11:44 +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
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
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
f6385248f6
Add flag to support cofactor ECDH
2011-11-19 17:03:44 +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
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
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
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
319c7264b0
typo
2011-10-24 13:24:28 +00:00
Andy Polyakov
f2784994ec
e_aes.c: fold even aesni_ccm_cipher.
2011-10-24 06:00:06 +00:00
Andy Polyakov
507b0d9d38
e_aes.c: prevent potential DoS in aes_gcm_tls_cipher.
2011-10-23 22:58:40 +00:00
Andy Polyakov
181fbb77f3
cryptlib.c: remove stdio dependency in Windows fipscanister.lib.
2011-10-23 19:41:00 +00:00
Dr. Stephen Henson
f59a5d6079
No need for custom flag in XTS mode: block length is 1.
2011-10-23 17:06:28 +00:00
Dr. Stephen Henson
5fd722600b
Check for selftest failure in various places.
2011-10-22 17:24:27 +00:00
Andy Polyakov
5b198d5eea
x86gas.pl: relax .init segment alignment.
2011-10-22 10:49:52 +00:00
Dr. Stephen Henson
8d742dd561
Update error codes.
2011-10-21 11:46:16 +00:00
Andy Polyakov
033a25cef5
armcap.c: auto-setup processor capability vector.
2011-10-20 20:52:26 +00:00
Andy Polyakov
d528caa725
sha1-mips.pl: fix typo.
2011-10-20 08:39:29 +00:00
Dr. Stephen Henson
5e4eb9954b
add authentication parameter to FIPS_module_mode_set
2011-10-19 22:34:53 +00:00
Andy Polyakov
227a822ab6
vxworks-mips: unify and add assembler.
2011-10-19 21:49:20 +00:00
Andy Polyakov
a9cf0b81fa
Remove superseded MIPS assembler modules.
2011-10-19 21:42:21 +00:00
Andy Polyakov
3ee4d41fe1
arm_arch.h: add missing pre-defined macro, __ARM_ARCH_5TEJ__.
2011-10-19 18:57:03 +00:00
Bodo Möller
e5641d7f05
BN_BLINDING multi-threading fix.
...
Submitted by: Emilia Kasper (Google)
2011-10-19 14:59:27 +00:00
Bodo Möller
e0d6132b8c
Fix warnings.
...
Also, use the common Configure mechanism for enabling/disabling the 64-bit ECC code.
2011-10-19 08:59:53 +00:00
Bodo Möller
3e00b4c9db
Improve optional 64-bit NIST-P224 implementation, and add NIST-P256 and
...
NIST-P521. (Now -DEC_NISTP_64_GCC_128 enables all three of these;
-DEC_NISTP224_64_GCC_128 no longer works.)
Submitted by: Google Inc.
2011-10-18 19:43:16 +00:00
Andy Polyakov
07904e0c6c
evp/e_aes.c: fold AES-NI modes that heavily rely on indirect calls
...
(trade 2% small-block performance), engage bit-sliced AES in GCM.
2011-10-18 13:37:26 +00:00
Andy Polyakov
4010b341b7
x86_64-xlate.pl: make vpaes-x86_64.pl and rc4-md5-x86_64 work with ml64,
...
fix bug in .crt section alignment.
PR: 2620, 2624
2011-10-18 09:50:23 +00:00
Andy Polyakov
5a326467dc
bsaes-x86_64.pl: make it work with ml64.
2011-10-18 09:22:04 +00:00
Andy Polyakov
3b7c14bb90
[bs|vp]aes-x86[_64].pl: typos and clarifications.
2011-10-18 08:03:02 +00:00
Andy Polyakov
e2473dcc7d
c_allc.c: add aes-xts to loop.
2011-10-18 07:53:50 +00:00
Andy Polyakov
78f288d5c9
bn_mont.c: get corner cases right in updated BN_from_montgomery_word.
2011-10-17 23:35:00 +00:00