10682 Commits

Author SHA1 Message Date
Andy Polyakov
3b3114770a Engage ARMv8 assembly pack.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
(cherry picked from commit 083ed53defb42ab4d3488bc7f80d9170d22293e7)
2015-05-13 17:49:37 +02:00
Andy Polyakov
9b5db104ec Add ARMv8 assembly pack.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
(cherry picked from commit b84813ec017cb03b8dd0b85bce2bb3e021c45685)
2015-05-13 17:49:18 +02:00
Andy Polyakov
788715cecf Configure: add ios64 target.
Reviewed-by: Steve Marquess <marquess@openssl.org>
(cherry picked from commit b06f7d9ac0752083e7443dddc9e5ac3e198063d4)
2014-10-23 21:03:52 +02:00
Andy Polyakov
cfcd27d35d Add iOS-specific FIPS addendum code.
Reviewed-by: Steve Marquess <marquess@openssl.org>
2014-10-23 21:02:33 +02:00
Rich Salz
177118fc2b RT2849: Redundant check of "dsa" variable.
In the current code, the check isn't redundant.
And in fact the REAL check was missing.
This avoids a NULL-deref crash.

Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
2014-09-08 11:02:54 -04:00
Dr. Stephen Henson
551ed53b2a Fix copy for CCM, GCM and XTS.
Internal pointers in CCM, GCM and XTS contexts should either be
NULL or set to point to the appropriate key schedule. This needs
to be adjusted when copying contexts.

Combination of 2 commits:
370bf1d708e6d7af42e1752fb078d0822c9bc73d
c2fd5d79ffc4fc9d120a0faad579ce96473e6a2f
2014-07-11 21:44:47 +01:00
Dr. Stephen Henson
6ea511211c Only cleanse sbuf if it is not NULL.
PR#2339
2014-07-05 22:32:39 +01:00
Alan Hryngle
114216bca0 Check return smaller of ret and f.
PR#3418.
(cherry picked from commit d4909f9a8dbbda9c5d140476b34a8f80b02b51f3)
2014-07-05 22:27:42 +01:00
Andy Polyakov
493119b1a8 cryptlib.c: fix typo in WIN32 version of OPENSSL_showfatal. 2014-04-02 21:48:56 +02:00
Dr. Stephen Henson
6fb0806b01 Add verbose option to fips_test_suite to give additional details of
all operations.

Add ecdsa test.

Test crypto operations are inhibited on test failures.

Test on demand POST.
2013-01-23 02:57:36 +00:00
Dr. Stephen Henson
950e2889e1 Now GMAC is fixed remove workaround. 2013-01-16 14:20:01 +00:00
Dr. Stephen Henson
043c341366 Add .gitignore 2013-01-10 23:29:59 +00:00
Dr. Stephen Henson
b1adc971b4 Make DES3 and ECDSA self tests continue with remaining cases on
failure.

Make fips_test_suite induced failure work on every possible subtest instead
of just categories of subtest.
2012-12-28 20:19:10 +00:00
Andy Polyakov
9f3f7ce9e8 VC-32.pl: fix typo [from HEAD].
Submitted by: Pierre Delaage
2012-12-16 19:42:44 +00:00
Andy Polyakov
9abbb6aa89 Cumulative updates from HEAD. 2012-10-29 22:26:27 +00:00
Dr. Stephen Henson
3b4f1f302d update DRBG to handle new file format OpenSSL-fips-2_0-pl1 2012-10-19 20:53:35 +00:00
Dr. Stephen Henson
986b927fb3 aix[64]-cc: get MT support right (gcc targets are not affected).
(backport from HEAD)
2012-10-16 22:47:44 +00:00
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
933c9d00da reset ctx->num for CTR mode for FIPS EVP 2012-10-14 12:38:58 +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
3e1beaf43e Add BSD-ppc85xx support and avoid copying overlapping buffers in fips_dssvs.c 2012-10-14 12:03:34 +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
05b751c96b file TI_CGTOOLS.pl was added on branch OpenSSL-fips-2_0-dev on 2012-10-04 14:27:39 +0000 2012-10-04 13:27:12 +00:00
Dr. Stephen Henson
9fe1f397aa file fips_standalone_sha1 was added on branch OpenSSL-fips-2_0-dev on 2012-10-04 14:27:38 +0000 2012-10-04 13:27:10 +00:00
Dr. Stephen Henson
be739df6c5 file run6x was added on branch OpenSSL-fips-2_0-dev on 2012-10-04 14:27:33 +0000 2012-10-04 13:27:09 +00:00
Dr. Stephen Henson
d26196803e file incore6x was added on branch OpenSSL-fips-2_0-dev on 2012-10-04 14:27:33 +0000 2012-10-04 13:27:08 +00:00
Dr. Stephen Henson
1c540214e0 file hmac_sha1.pl was added on branch OpenSSL-fips-2_0-dev on 2012-10-04 14:27:33 +0000 2012-10-04 13:27:07 +00:00
Dr. Stephen Henson
79f0c30e7e file fipscanister.cmd was added on branch OpenSSL-fips-2_0-dev on 2012-10-04 14:27:33 +0000 2012-10-04 13:27:06 +00:00
Dr. Stephen Henson
3d75000cc3 file fips_standalone_sha1 was added on branch OpenSSL-fips-2_0-dev on 2012-10-04 14:27:33 +0000 2012-10-04 13:27:05 +00:00
Dr. Stephen Henson
b82ac9947e file env was added on branch OpenSSL-fips-2_0-dev on 2012-10-04 14:27:33 +0000 2012-10-04 13:27:04 +00:00
Dr. Stephen Henson
23c7979fcf file do_fips was added on branch OpenSSL-fips-2_0-dev on 2012-10-04 14:27:33 +0000 2012-10-04 13:27:03 +00:00
Dr. Stephen Henson
88e9264dd2 automatically make output directory is using minimal script 2012-06-07 17:14:31 +00:00
Dr. Stephen Henson
83db979256 Version of "incore" for Windows executables. Original by Andy. 2012-05-23 17:07:23 +00:00
Dr. Stephen Henson
4feb7ef394 Add --script-sfprefix option to insert a prefix before the request and
response filenames in output script.
2012-05-23 12:44:48 +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
b75ff26d7b Don't install fips_standalone_sha1.exe if it isn't being built 2012-05-23 00:39:01 +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
76f4af202e cross compile target support for do_fips script 2012-05-18 15:55:40 +00:00
Dr. Stephen Henson
fcb81a191d don't insert time in response files: it breaks some systems and we shouldn't be doing this anyway 2012-05-18 15:05:33 +00:00
Dr. Stephen Henson
05703abd9f Make Windows FIPS build work more like other builds. Add build_tests
target to build FIPS test utilities and build_algvs target to build the
multicall fips_algvs utility.
2012-05-17 11:09:46 +00:00
Dr. Stephen Henson
455ecb3a06 initial mk1mf cross compilation support 2012-05-16 18:56:33 +00:00
cvs2svn
d8e5830423 This commit was manufactured by cvs2svn to create branch 'OpenSSL-fips-
2_0-dev'.
2012-01-18 15:07:12 +00:00
Dr. Stephen Henson
1de6a62222 revert fipslink.pl unlink retry change OpenSSL-fips-2_0 OpenSSL-fips-2_0-rc9 2012-01-18 15:07:11 +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
24fadf2a20 typo OpenSSL-fips-2_0-rc8 2012-01-03 19:43:06 +00:00