Commit Graph

4004 Commits

Author SHA1 Message Date
Jeffrey Walton
1bd18dd5ba
Simplify RDRAND and RDSEED logic
Travis testing on GitHub showed a RDSEED failure with a "no implementation" failure. Stepping back the RDRAND and RDSEED impl logic was too complex. It offered choices when there was no need for them. For MSC we only need the MASM implementation. For U&L we only need the inline assembly that emits the byte codes (and not the instruction). The byte codes cover from GCC 3.2, Clang 2.8 and onwards
2018-08-03 04:34:20 -04:00
Jeffrey Walton
7e14cab8a3
Rework PPC probes for XLC and LLVM 2018-08-03 02:54:50 -04:00
Jeffrey Walton
c4eb38b856
Improve CPU_ProbePower8() test 2018-08-03 01:27:39 -04:00
Jeffrey Walton
c4ef77bcdb
Attempt to use glibtool if available 2018-08-02 23:21:59 -04:00
Jeffrey Walton
fdc3045e34
Copy setenv-ios.sh into TestScripts
This is one of the scripts we have in two places due to historical reasons. The current practice is to put them in TestScripts/
2018-08-02 00:29:25 -04:00
Jeffrey Walton
85ea200ff0 Revert "Copy setenv-ios.sh into TestScripts"
The copy happened the wrong way.

This reverts commit a6143862a3.
2018-08-02 00:28:35 -04:00
Jeffrey Walton
f0fdb3bc16
Bump Travis OS X image to 9.4 2018-08-02 00:16:02 -04:00
Jeffrey Walton
a6143862a3
Copy setenv-ios.sh into TestScripts
This is one of the scripts we have in two places due to historical reasons. The current practice is to put them in TestScripts/
2018-08-02 00:13:13 -04:00
Jeffrey Walton
3753a4301d
Disable ASM for iOS simulators 2018-08-01 23:10:01 -04:00
Jeffrey Walton
5eec90bee5
Cleared unused variable warning 2018-08-01 22:32:26 -04:00
Jeffrey Walton
70c9fe4712
Remove calls to chmod and xattr 2018-08-01 22:01:52 -04:00
Jeffrey Walton
f9f307668b
Add false DOCUMENT_DIRECTORY for GNUmakefile-cross 2018-08-01 21:52:46 -04:00
Jeffrey Walton
a1b30685ab
Fix distclean rule in GNUmakefile-cross 2018-08-01 21:33:24 -04:00
Jeffrey Walton
89ec3c4a25
Guard for missing libtoolize 2018-08-01 13:57:35 -04:00
Jeffrey Walton
57521bd22a
Add calls to 'make clean' to ensure building artifacts 2018-07-31 19:53:40 -04:00
Jeffrey Walton
27968af8a9
Update to support IBM XLC and LLVM backend 2018-07-31 18:21:44 -04:00
Jeffrey Walton
5367d26327
Fix compile when adhoc.cpp is missing 2018-07-31 13:33:57 -04:00
Jeffrey Walton
7ff5f0dcf1
Try fix Travis testing on OS X 2018-07-31 11:48:54 -04:00
Jeffrey Walton
319698e43f
Rework GNUmakefiles for XL C/C++ changes 2018-07-31 02:17:13 -04:00
Jeffrey Walton
8c3658fce8
Rework GNUmakefiles for XL C/C++ changes 2018-07-31 02:13:17 -04:00
Jeffrey Walton
b4a041a71b
Add -qxlcompatmacros for IBM XL C/C++ when available
Also see https://lists.tetaneutral.net/pipermail/cfarm-users/2018-July/000331.html
2018-07-30 23:22:10 -04:00
Jeffrey Walton
4b13ccea5d
Remove automatic bitness selection on PPC64 2018-07-30 20:40:05 -04:00
Jeffrey Walton
00135f5b5b
Add CRYPTOPP_ALIGN_DATA for IBM XL C/C++ 2018-07-30 20:32:45 -04:00
Jeffrey Walton
d563c5da94
Fix SHA-256 on AIX using IBM XL C/C++ and POWER8 crypto
We were using aligned loads of the key table SHA256_K. The key table was declared as 16-byte aligned but it appears the table was not aligned in memory.
2018-07-30 19:53:39 -04:00
Jeffrey Walton
0c8a9458cc
Fix compile for AIX using GCC and IBM XL C/C++ 2018-07-30 19:14:51 -04:00
Jeffrey Walton
9396dc46ec
Update comments 2018-07-30 15:58:44 -04:00
Jeffrey Walton
f36562218f
Add call to ls upon failure of script 2018-07-30 15:40:13 -04:00
Jeffrey Walton
12bb4866dd
Add check for setenv-*.sh scripts 2018-07-30 15:32:53 -04:00
Jeffrey Walton
4fc5b8da13
Update comments 2018-07-30 15:18:59 -04:00
Jeffrey Walton
36318790a2
Whitespace check-in 2018-07-30 14:11:54 -04:00
Jeffrey Walton
2510d978a0
Try fix Travis and "cryptest-ios.sh not found" 2018-07-30 14:10:52 -04:00
Jeffrey Walton
d952cb99c2
Update comments 2018-07-30 12:42:53 -04:00
Jeffrey Walton
973fbf0e2f
Fix FixedSizeAllocatorWithCleanup assert on Solaris 2018-07-30 11:27:50 -04:00
Jeffrey Walton
f290746a36
Remove Coverity worakaround StreamState
Use std::ostringstream instead. Eventually I'd like to see the output stream passed into the function of interest. It will avoid problems on some mobile OSes that don't have standard inputs and outputs.
2018-07-29 22:35:36 -04:00
Jeffrey Walton
bf37ccda6d
Fix initialization of 'pass' variable
Copy/paste error from https://github.com/weidai11/cryptopp/commit/d51f701e0638
2018-07-29 21:25:48 -04:00
Jeffrey Walton
afd1ff651a
Add assert to RunTestDataFile 2018-07-29 21:11:36 -04:00
Jeffrey Walton
25a32d3544
Fix HMQV self tests 2018-07-29 20:53:48 -04:00
Jeffrey Walton
0210e54310
Update comments 2018-07-29 20:34:29 -04:00
Jeffrey Walton
d51f701e06
Refactor validat5.cpp and validat6.cpp
Also see https://groups.google.com/forum/#\!topic/cryptopp-users/j_aQj6r-PoI
2018-07-29 20:30:19 -04:00
Jeffrey Walton
98e35d2925
Remove addition of -m32|-m64 from GNUmakefile
Sun recommends 32-bit binaries instead of 64-bit ones, even on amd64 and sparcv9
2018-07-29 14:37:25 -04:00
Jeffrey Walton
6f64671e4a
Update comments to make it clear the keystream is written 2018-07-29 12:18:22 -04:00
Jeffrey Walton
375b38554e
Use 64-bit multiply for Rabbit 2018-07-29 12:11:45 -04:00
Jeffrey Walton
32d2ad1ca5
Fix "error: ‘MaurerRandomnessTest’ was not declared in this scope" 2018-07-28 18:52:22 -04:00
Jeffrey Walton
138ce8f626
Cleanup Makefiles and Android and iOS scripts 2018-07-28 18:45:37 -04:00
Jeffrey Walton
86a212b85f
Add missing header to validat3.cpp 2018-07-28 16:39:21 -04:00
Jeffrey Walton
28fe1a6a4d
Split validat*.cpp source files
Also see https://groups.google.com/forum/#\!topic/cryptopp-users/j_aQj6r-PoI
2018-07-28 14:57:12 -04:00
Jeffrey Walton
0ea807f2eb
Add additional artifacts to autotools-clean rule 2018-07-28 12:38:15 -04:00
Jeffrey Walton
a411ac350b
Cleanup cryptest-autotools.sh script 2018-07-28 10:58:51 -04:00
Jeffrey Walton
4066d70731
Cleanup cryptest-autotools.sh script 2018-07-28 10:57:53 -04:00
Jeffrey Walton
5cc3f72d33
Add -Wa,--noexecstack for aes-armv4.S 2018-07-28 10:36:40 -04:00