Commit Graph

47 Commits

Author SHA1 Message Date
Jeffrey Walton
c51f0ecbfd
Make config.h more Autoconf friendly (GH #835, PR #836) 2019-05-17 15:18:17 -04:00
Jeffrey Walton
9f8017a276
Fix missing GF2NT_233_Multiply_Reduce_CLMUL in the cursed DLL (GH #783)
This should have been checked-in during GH #783 and PR #784. I think there was one mailing list message about missing symbols GF2NT_233_Multiply_Reduce_CLMUL and GF2NT_233_Square_Reduce_CLMUL. I missed it when attempting to reproduce the issue. I can duplicate it now using VS2013. I think the addition of CRYPTOPP_DLL caused the issue to surface.
2019-03-21 08:13:14 -04:00
Jeffrey Walton
896225069d
Rename files with dashes to underscores (GH #736)
Also see https://groups.google.com/forum/#!topic/cryptopp-users/HBz-6gZZFOA on the mailing list
2018-11-10 08:00:14 -05:00
Jeffrey Walton
f2171cbe2f
Remove Thread and Socket classes (GH #208, PR #703)
Also see https://groups.google.com/forum/#!topic/cryptopp-users/5btwLoxXXD4.
2018-08-17 23:55:39 -04:00
Jeffrey Walton
91faa5d399
Add AdditionalOptions property to VCXPROJ files (GH #649) 2018-05-01 23:42:04 -04: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
e2c377effd Split source files to support Base Implementation + SIMD implementation (GH #461)
Split source files to support Base Implementation + SIMD implementation
2017-08-17 12:33:43 -04:00
Jeffrey Walton
8f4b0dc081
Suppress C4251 and C4275 warnings in project files (Issue 412) 2017-08-16 11:24:48 -04:00
Jeffrey Walton
9a3f45cee6
Update VCXPROJ files for AppVeyor testing 2017-08-04 00:10:11 -04:00
Jeffrey Walton
64c098fbae Revert "Reinstate commit ac513c06f8c80"
This broke MSbuild, which can no longer build a static library. Attempting to build with 'msbuild /t:Build cryptlib.vcxproj' results in:

  ...
  X64\cryptlib\Debug\zinflate.obj
  X64\cryptlib\Debug\zlib.obj
  LINK : fatal error LNK1561: entry point must be defined [c:\Users\cryptopp\cryptlib.vcxproj]
  Done Building Project "c:\Users\Jeff\Desktop\cryptopp\cryptlib.vcxproj" (Build target(s)) -- FAILED.

Microsoft tools are so fucked up. It should be illegal to sell them.
2017-08-03 05:22:03 -04:00
Jeffrey Walton
1702c93b30
Reinstate commit ac513c06f8c80
Even though it breaks AppVeyor worse, its needed that way. Also see https://stackoverflow.com/a/45458443/608639.
2017-08-03 04:34:56 -04:00
Jeffrey Walton
fe9eb75dd2
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:25:54 -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
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
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
7363c49a67
Add ecpoint.h header file. Add EncodedPoint interface. Add documntation 2016-11-04 11:13:07 -04:00
Jeffrey Walton
112f720de5
Add Output for clean rule 2016-10-15 21:11:34 -04:00
Jeffrey Walton
d00be538c5
Fix x64dll.asm ASM with ARM-based MSBuilds (Issue 316) 2016-10-08 13:55:37 -04:00
Jeffrey Walton
7c735f660f
Update comments 2016-10-08 13:39:00 -04:00
Jeffrey Walton
7d2f701718
Revert 2ba75d4adf.
It worked because we were picking up a previously built cryptest.exe. The task does not build it
2016-10-06 12:03:58 -04:00
Jeffrey Walton
0b68429f2e
Fix copy/paste from VMware 2016-10-06 11:14:33 -04:00
Jeffrey Walton
2ba75d4adf
Express cryptest.exe as prerequisite using MSBuild Task 2016-10-06 10:58:28 -04:00
Jeffrey Walton
1f69679806
Add hack to create cryptest.exe for DLL Mac'ing 2016-10-06 01:37:51 -04:00
Jeffrey Walton
4b16847f8c
Remove unneeded dependency on cryptlib.lib 2016-10-05 23:30:41 -04:00
Jeffrey Walton
cff762518f
Add ImageHasSafeExceptionHandlers option for X86 2016-10-05 15:27:44 -04:00
Jeffrey Walton
ebceec1a88
Fix missing '>' 2016-10-05 12:41:13 -04:00
Jeffrey Walton
601da2611c
Consistnt use of Optimization, OptimizeReferences and EnableCOMDATFolding 2016-10-05 12:36:20 -04:00
Jeffrey Walton
af9b26770b
Cleanup CRYPTDLL project file 2016-10-04 19:52:18 -04:00
Jeffrey Walton
c95feb5a1a Revert "Cleanup CRYPTDLL project file"
This reverts commit a3a7502e82.
2016-10-04 19:50:13 -04:00
Jeffrey Walton
a3a7502e82
Cleanup CRYPTDLL project file 2016-10-04 19:48:35 -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
85933ca4ad
Removed setting overrides for Optimization and FavorSizeOrSpeed nodes
These were only present in the VS2010 project files. They were not presnt in Crypto++ 5.6.2 VS 2005. I'm guessing its experimental cruft that should not have nbeen added or checked-in
2016-10-03 19:21:21 -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
2413c0e041
Opt-out of ASLR (Issue 314)
Visual Studio 2010 was opt-in; which Visual Studio 2012 is opt-out
2016-10-02 18:53:50 -04:00
Jeffrey Walton
3ea28efa69
Use Warning Level 4 (Issue 314) 2016-10-02 15:20:55 -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
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
Jeffrey Walton
4414b864cf Make VS2010 default. Archive VS2005 project files. Archive Borland project files
VS2005 project files are available in vs2005.zip
Borland 10 project files are available in bds10.zip
2016-09-10 04:32:04 -04:00
Jeffrey Walton
2c988356a9 Revert "Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW".
The commit accidentally committed a number of unneeded files while on Windows during testing.

This reverts commit 576749b4bb.
2015-07-25 07:19:41 -04:00
Jeffrey Walton
576749b4bb Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW 2015-07-25 07:16:45 -04:00