Commit Graph

3380 Commits (aa7f6c47d15337a0e41a3b97778db8f217462008)

Author SHA1 Message Date
Jeffrey Walton f6f5583e63
Add additional SPECK test vectors (GH #538)
These were generated by modifying the reference implementation
2017-11-20 11:27:01 -05:00
Jeffrey Walton 4b3560baef
Update documentation
Whitespace check-in
2017-11-20 08:33:33 -05:00
Jeffrey Walton 93fb412215
Add Visual Studio filter for SPECK test vectors (GH #538) 2017-11-20 07:07:11 -05:00
Jeffrey Walton b9fc470bc7
Add SPECK-64 and SPECK-128 lightweight block ciphers (GH #538) 2017-11-20 06:30:21 -05:00
Jeffrey Walton 32154a150f
Clear GCC pedantic warnings (GH #537) 2017-11-19 21:41:13 -05:00
Jeffrey Walton 23d95e803d
Provide virtual destructor for Threefish_Base 2017-11-19 01:39:47 -05:00
Jeffrey Walton 63e53e845e
Reword Threefish inheritance hierarchy
Threefish_Base does not need to inherit from Threefish_Info
2017-11-18 21:27:02 -05:00
Jeffrey Walton ce62862db8
Update documentation 2017-11-18 19:51:45 -05:00
Jeffrey Walton 5f9b2b2a85
Fix algorithm names for Threefish (GH #535)
Algorithm name was returning " Threefish-32(32)" instead of "Threefish-256(256)"
2017-11-18 14:21:10 -05:00
Jeffrey Walton 7f7c848515
Update documentation 2017-11-17 19:48:40 -05:00
Jeffrey Walton b9bd51f7a6
Remove variable block size for Threefish (GH #535) 2017-11-17 19:15:14 -05:00
Jeffrey Walton dbd79a1e49
Fix GCC inline asm register constraint for SSE register
Also see https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html
2017-11-17 01:01:12 -05:00
Jeffrey Walton 3ed6ed39fa
Fix sse-simd.cpp for 32-bit MSVC compiles 2017-11-17 00:17:46 -05:00
Jeffrey Walton 7f7131dc55
Fix GCM_Xor16_SSE2 for 32-bit MSVC compiles 2017-11-16 23:07:30 -05:00
Jeffrey Walton a5bf962681
Fix target misdetection on OS X with '-arch i386'
This tested OK on Linux OS X, Solaris and Windows. It may break things under IBM XL C/C++. We will cross that bridge when we get to it.
2017-11-16 19:37:29 -05:00
Jeffrey Walton 8734cfaa07
Add sse-simd.cpp to nmake file and vcxproj filters 2017-11-16 15:29:24 -05:00
Jeffrey Walton bd41c3d5dd
Remove SSE2 from cpu.cpp, add sse-simd.cpp
We need to ensure SSE2 does not cross pollinate into other CPU functions since SSE2 is greater than the minimum arch. The minimum arch is i586/i686, and both lack SSE2 instructions
2017-11-16 15:11:51 -05:00
Jeffrey Walton 241ff3065e
Update documentation 2017-11-16 13:36:43 -05:00
Jeffrey Walton 3c537f3e02
Remove master-merge script
We don't use branches for development because they pollute the logs on Master
2017-11-16 12:55:38 -05:00
Jeffrey Walton 156fedea7f Revert "Remove master-merge script"
This reverts commit d3dc091. A version number change used to build the docs cross-pollinated into the deletion of the script.
2017-11-16 12:53:33 -05:00
Jeffrey Walton d3dc09120b
Remove master-merge script
We don't use branches for development because they pollute the logs on Master
2017-11-16 12:51:33 -05:00
Jeffrey Walton 8b52a03d08
Fix SunCC 12.2 compiler crash with GCM_Xor16_SSE2
SunCC 12.3 through 12.5 still cannot handle CLMUL, though. It would be nice if Sun fixed the regression.
2017-11-16 02:38:53 -05:00
Jeffrey Walton 6f83a4fb7d
Switch to intrinsic operation instead of casts for GCM SSE2 XOR's 2017-11-15 23:05:30 -05:00
Jeffrey Walton c49b6d4d71
Cleanup comments and old code artifacts 2017-11-15 21:11:42 -05:00
Jeffrey Walton e8bed05b7d
Use SSE4.1 instead of SSE4.2 for BLAKE2
BLAKE2 requires SSE4.1, no SSE4.2. This change should have been made when we split SSE4 into .1 and .2, but we needed more OS X and LLVM testing
2017-11-15 20:08:06 -05:00
Jeffrey Walton a3784a3ac5
Update Power8 support for Autotools 2017-11-14 20:54:43 -05:00
Jeffrey Walton 8fee0bb13f
Fix Valgrind detection in cryptest.sh 2017-11-14 08:24:13 -05:00
Jeffrey Walton 4ec1f89ac6
Fix minimum arch test on OS X with MacPort compiler 2017-11-14 00:47:20 -05:00
Jeffrey Walton eb894d2d5a
Remove bold from algorithm name in benchmarks 2017-11-13 23:01:04 -05:00
Jeffrey Walton 91b8d85f4c
Fix SunCC compile with -xarch=sse2
Fix copy/paste messages in cryptest.sh
2017-11-13 19:10:15 -05:00
Jeffrey Walton 4990129f0f
Add summary total back 2017-11-13 17:32:26 -05:00
Jeffrey Walton f56e4e193f
Fix summary output in cryptest.sh 2017-11-13 16:57:03 -05:00
Jeffrey Walton 50e3fd0d9a
Update comments 2017-11-13 14:28:16 -05:00
Jeffrey Walton f1386ad894
Fix SunCC 12.5 compile with -std=c++11 2017-11-13 13:08:56 -05:00
Jeffrey Walton 660681a884
Fix SunCC 12.2 compile 2017-11-13 12:30:46 -05:00
Jeffrey Walton 51eca5dd87
Change sed strings for cryptest.sh 2017-11-13 12:11:31 -05:00
Jeffrey Walton dd1484800c
Rename mapfile for Solaris 2017-11-12 22:48:51 -05:00
Jeffrey Walton 6fa0d8429d
Add shared object and dynamic library tests (GH #533) 2017-11-12 20:32:41 -05:00
Jeffrey Walton b40ca97550
Update documentation 2017-11-12 16:35:44 -05:00
Jeffrey Walton 81f0b9bd83
Fix spelling errors 2017-11-12 15:18:05 -05:00
Jeffrey Walton f4530202c3
Add GitHub Issue template) 2017-11-12 15:14:32 -05:00
Jeffrey Walton 2623d24f5c
Update documentation
Removed defined-out code
2017-11-12 13:10:22 -05:00
Jeffrey Walton f87696b7a5
Cleanup use of unnamed namespaces in encoders and decoders 2017-11-12 12:37:20 -05:00
Jeffrey Walton bf717f47e6
Reduce C++ file scope class objects
Update comments and documentation
2017-11-12 11:55:57 -05:00
Jeffrey Walton d28e813ac3
Fix extra semicolon (GH #532) 2017-11-12 01:21:50 -05:00
Jeffrey Walton 69c8a4f9c6
Prefix IS_LITTLE_ENDIAN and IS_BIG_ENDIAN with CRYPTOPP 2017-11-10 14:15:30 -05:00
Jeffrey Walton 8e06391ad3
Update setenv-ios.sh to export tools
This is needed for Autotools and cross-compiles. GNUmakefile-cross does not use it
2017-11-10 09:30:47 -05:00
Jeffrey Walton 289f3caa2a
Fix GCC version for RDRAND and RDSEED intrinsics 2017-11-07 16:19:46 -05:00
Jeffrey Walton 65823c1623
Fix GCC version for RDRAND and RDSEED intrinsics 2017-11-07 16:16:35 -05:00
Jeffrey Walton 82a6dc8692
Rename mapfile. It is used for shared objects, too 2017-11-07 12:23:59 -05:00