Commit Graph

53 Commits (121a47abceb2aa7c3d51da4af32ae5e04b6e6ab2)

Author SHA1 Message Date
Jeffrey Walton cbfe2ac6e2
Add Intel SHA implementation for SHACAL2 encryption
The implementation came from Jack Lloyd and the Botan team. Botan was gracious and allowed us to use the x86_encrypt_blocks function, and release it under the Crypto++ licensing terms. Also see https://github.com/randombit/botan/pull/1151/files
2017-08-16 03:47:06 -04:00
Jeffrey Walton aed34d9eb3 Microsoft's shit is so broken. Sigh...
This reverts commit 5014090f9d.
2017-08-04 02:52:45 -04:00
Jeffrey Walton 5014090f9d
Fix PreprocessorDefinitions for ARM
AppVeyor error'd with "error MSB8022: Compiling Desktop applications for the ARM platform is not supported"
2017-08-04 01:46:27 -04:00
Jeffrey Walton 587a288eed
Another AppVeyor attempt
Take 11 in this series
2017-08-03 23:36:25 -04:00
Jeffrey Walton 9cad63f5b4
Another AppVeyor attempt
Take 10 in this series
2017-08-03 23:26:32 -04:00
Jeffrey Walton 5ad6b2a7a6
Another AppVeyor attempt
Take 9 in this series
2017-08-03 21:25:12 -04:00
Jeffrey Walton 53881fdcfe
Another AppVeyor attempt
Take 7 in this series
2017-08-03 20:11:59 -04:00
Jeffrey Walton a33e8ccfce
Another AppVeyor attempt
Take 6 in this series
2017-08-03 20:01:50 -04:00
Jeffrey Walton 120dbfcbcf
Another AppVeyor attempt
Take 5 in this series
2017-08-03 19:58:23 -04:00
Jeffrey Walton f7e81c8d95
Another AppVeyor attempt
Take 4 in this series
2017-08-03 19:54:56 -04:00
Jeffrey Walton 437816c25b
Another AppVeyor attempt
Take 3 in this series
2017-08-03 19:27:41 -04:00
Jeffrey Walton 0a87c88509
ANother AppVeyor attempt
Take 1 in this series
2017-08-03 19:13:29 -04:00
Jeffrey Walton dfe5c1a9bc
Suppress warnings C4231, C4355 and C4505 (Issue 412)
This should not cross-pollinate like when they were present in config.h
2017-08-02 23:19:09 -04:00
Jeffrey Walton 87e7b85224
Initial Rijndael cut-in 2017-07-31 20:58:27 -04:00
Jeffrey Walton 1fdd08d690
Fix ARM build under Windows Phone 2017-07-31 02:09:15 -04:00
Jeffrey Walton 7e1c21957f
Clear LNK2001 for ARIA tables in ARIATab namespace
cryptlib.lib(aria.obj) : error LNK2001: unresolved external symbol "unsigned int const * const CryptoPP::ARIATab::X2" (?X2@ARIATab@CryptoPP@@3QBIB) [C:\projects\cryptopp\cryptest.vcxproj]
cryptlib.lib(aria-simd.obj) : error LNK2001: unresolved external symbol "unsigned int const * const CryptoPP::ARIATab::X2" (?X2@ARIATab@CryptoPP@@3QBIB) [C:\projects\cryptopp\cryptest.vcxproj]
...
2017-07-31 01:17:15 -04:00
Jeffrey Walton 6576bc30b8
Add ariatab.cpp 2017-07-30 23:06:06 -04:00
Jeffrey Walton 8338d90c10
Add ARIA, BLAKE2 and SHA support for ARMv7, ARMv8 and Intel 2017-07-29 23:40:56 -04:00
Jeffrey Walton d5a6d8f81b
Cut-in SHA for Intel and ARMv8a 2017-07-29 14:18:30 -04:00
Jeffrey Walton fe9e21ddd7
Cut-in CRC test for SSE4.2 and ARMv8a
Also see https://groups.google.com/forum/#!topic/cryptopp-users/-1fZCx8JSRE
2017-07-29 00:24:07 -04:00
Marcel Raad 3485d2180d Fix Visual Studio project file issues (#446)
- don't enable SSE2 explicitly for x64, it's always enabled and causes
  warnings (issue #445)
- remove newlines in project files that Visual Studio doesn't like and
  removes on every change to project options
2017-07-19 07:17:55 -04:00
Jeffrey Walton 32ab4af5ff
Add Threefish to project files
Whitespace check-in
2017-05-14 15:27:50 -04:00
Jeffrey Walton 20c3d556c3 Revert "XOR block in specialized ProcessBlock"
This reverts commit 76bb4ead40. The Visual Studio project files and other test files were not supposed to be checked-in.
2017-05-10 06:30:08 -04:00
Jeffrey Walton 76bb4ead40
XOR block in specialized ProcessBlock
Use Put and Get blocks consistently
2017-05-10 06:26:29 -04:00
Jeffrey Walton a5c67cfdd6
Add Kalyna block cipher (Issue 411)
Thanks to Roman Oliynykov and Oleksandr Kazymyrov for their assistance. Thanks to Keru Kuro for the reference implementation.
2017-05-06 00:24:35 -04:00
Jeffrey Walton 8ca0f47939
Add ARIA block cipher
This is the reference implementation, test data and test vectors from the ARIA.zip package on the KISA website. The website is located at http://seed.kisa.or.kr/iwt/ko/bbs/EgovReferenceList.do?bbsId=BBSMSTR_000000000002.

We have optimized routines that improve Key Setup and Bulk Encryption performance, but they are not being checked-in at the moment. The ARIA team is updating its implementation for contemporary hardware and we would like to use it as a starting point before we wander too far away from the KISA implementation.
2017-04-10 10:52:40 -04:00
Jeffrey Walton 5c932fcc3b
Add NIST SP800-90A Hash_DRBG generator 2016-12-30 21:46:03 -05:00
Jeffrey Walton 9739ba8afe
Add Aumasson and Bernstein's SipHash (Issue 348) 2016-12-17 03:58:36 -05:00
Jeffrey Walton 484da03c7b
Add Poly1305 class to project files (Issue 338) 2016-11-27 16:56:57 -05:00
Jeffrey Walton 7363c49a67
Add ecpoint.h header file. Add EncodedPoint interface. Add documntation 2016-11-04 11:13:07 -04:00
Jeffrey Walton dc035c6bc0
Add Output for clean rule 2016-10-15 21:09:26 -04:00
Jeffrey Walton 5edee711f4
Whitespace cleanup 2016-10-09 02:13:10 -04:00
Jeffrey Walton ce8d6b8d99
Reorder objects for ARM-based MSBuilds (Issue 316) 2016-10-06 17:13:29 -04:00
Jeffrey Walton b62637d08e
Fix x64masm.asm and x64dll.asm ASM with ARM-based MSBuilds (Issue 316) 2016-10-06 16:59:50 -04:00
Jeffrey Walton c400c7b38d
Fix rdrand ASM with ARM-based MSBuilds (Issue 316) 2016-10-06 16:00:28 -04:00
Jeffrey Walton 21fcc7b995
Disable ErrorReporting for cryptlib 2016-10-05 15:37:10 -04:00
Jeffrey Walton cff762518f
Add ImageHasSafeExceptionHandlers option for X86 2016-10-05 15:27:44 -04:00
Jeffrey Walton 601da2611c
Consistnt use of Optimization, OptimizeReferences and EnableCOMDATFolding 2016-10-05 12:36:20 -04:00
Jeffrey Walton d58df54b54
Cleanup CRYPTLIB project file 2016-10-05 11:00:39 -04:00
Jeffrey Walton f579c1caf1
Add missing PlatformToolset and RootNamespace for Globals PropertyGroup
Also see http://blogs.msdn.microsoft.com/visualstudio/2010/05/14/a-guide-to-vcxproj-and-props-file-structure/
2016-10-04 02:22:25 -04:00
Jeffrey Walton 969536ac2b
Add NDEBUG for release builds
The remediations for CVE-2016-7420 removed the library's reliance on NDEBUG. The library now uses CRYPTOPP_ASSERT() instead of assert(), and it requires positive confirmation with CRYPTOPP_DEBUG, DEBUG or _DEBUG.
Some other projects may inadvertenly depend on our definition of NDEBUG. This restores the definition in case its needed by others
2016-10-03 18:27:52 -04:00
Jeffrey Walton 3904be4676 Revert "Add NDEBUG for Release builds. Set /arch:SSE2 as minimum arch"
This reverts commit 640f0272a0.
2016-10-03 03:17:00 -04:00
Jeffrey Walton 640f0272a0
Add NDEBUG for Release builds. Set /arch:SSE2 as minimum arch
Fold source files configuration settings for CRYPTDLL project
2016-10-03 02:27:32 -04:00
Jeffrey Walton 652c154759
Change UUIDs for VS solution and projects 2016-10-02 20:32:47 -04:00
Jeffrey Walton 5e3d0097fa
Visual Studio 2010 project files cleanup (Issue 314) 2016-10-02 14:39:58 -04:00
Jeffrey Walton 478d573416 Whitespace checkin 2016-09-19 19:07:27 -04:00
Marcel Raad 54fa27ae79 cryptlib.vcxproj: remove empty PreprocessorDefinitions properties
They have no effect.
2016-09-19 18:36:21 +02:00
Marcel Raad 567e17587c cryptlib.vcxproj: remove per-file optimization properties
They have no effect and make it hard to manually change the
optimization level as it has to be done for every single file.
2016-09-19 18:07:55 +02:00
Marcel Raad 782ed4e5e0 Whitespace fixes in VC10 project files
Visual Studio doesn't like tabs and newlines in project files and
always removes them when saving the project.
2016-09-19 18:02:32 +02:00
Jeffrey Walton 399a1546de Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
2016-09-16 11:27:15 -04:00