Commit Graph

114 Commits

Author SHA1 Message Date
Jeffrey Walton
6ca3fbda63
Add LSH to Nmake makefile 2021-04-16 06:17:58 -04:00
Jeffrey Walton
94bf7328c2
Clear VC++ duplicate object file warning 2021-03-11 19:28:45 -05:00
Jeffrey Walton
dd7598e638
Remove 64-bit AdvancedProcessBlocks (GH #945) 2020-07-07 15:22:09 -04:00
Jeffrey Walton
76c29eadaf
Add XTS block cipher mode of operation (GH #891, PR #892) 2019-10-12 07:14:38 -04:00
Jeffrey Walton
70621f0f91
Add allocate.cpp to nmake sources 2019-09-30 07:33:44 -04:00
Jeffrey Walton
033f204a86 Fix .Net 2002 compile
This testing occurs on Windows XP. We are still rockin it
2019-08-27 14:44:27 -04:00
Jeffrey Walton
b1c691b53a
Fix RDSEED hang on x86 (GH #872) (#873)
Calls to `MASM_RDSEED_GenerateBlock` would hang for an unknown reasons on Windows 10 and VS2017/VS2019 toolchains. Similar calls to `MASM_RDRAND_GenerateBlock` worked as expected. They were effectively the same code. The only differences were the function names and the opcodes (they were literally copy/paste).

Splitting `rdrand.asm` (with both `RDRAND` and `RDSEED`) into `rdrand.asm` (with `RDRAND`) and `rdseed.asm` (with `RDSEED`) resolved the issue. We don't know why.
2019-08-06 21:01:22 -04:00
Jeffrey Walton
df18c5b745 Add Debug and Release linker flags 2019-08-06 00:20:59 -04:00
Jeffrey Walton
90f52dd9ae
Regenerate cryptest.nmake list 2019-04-27 21:37:23 -04:00
Jeffrey Walton
5f731c06b3
Fix NULL device 2019-02-04 11:28:28 -05:00
Jeffrey Walton
868ca8e2e5
Fix cryptest.nmake file list 2019-02-03 22:59:56 -05:00
Jeffrey Walton
315e54e63d
Add ChaCha20/Poly1305 AEAD cipher (GH #724) 2019-01-28 08:52:56 -05:00
Jeffrey Walton
6d339011a8
Remove /openmp from cryptest.nmake
This has cross-pollinated twice in two days
2019-01-22 05:11:50 -05:00
Jeffrey Walton
ef1b391ce6
Use #pragma omp simd for OpenMP 4.0 compilers (GH #787)
Crap... It is OpenMP 4.0, not 3.0
2019-01-22 04:58:54 -05:00
Jeffrey Walton
767d7e2a13
Remove /openmp from cryptest.nmake 2019-01-21 02:03:22 -05:00
Jeffrey Walton
fbf0f62f4b
Clear unused variable warning under Visual Studio 2019-01-20 23:40:20 -05:00
Jeffrey Walton
ca32b63038
Remove /openmp from cryptest.nmake 2019-01-20 22:46:45 -05:00
Jeffrey Walton
7e96a283a3
Fix compile under MSVC 2019-01-20 22:45:53 -05:00
Jeffrey Walton
aa043b38a7
Use OpenMP 2.0 for MSC compilers (GH #787) 2019-01-20 22:10:36 -05:00
Jeffrey Walton
df9fa62205
Use carryless multiplies for NIST b233 and k233 curves (GH #783, PR #784)
Use carryless multiplies for NIST b233 and k233 curves.
2019-01-16 00:02:04 -05:00
Jeffrey Walton
1ab72cd8fb
Update distclean rule in cryptest.nmake 2019-01-09 01:39:09 -05:00
Jeffrey Walton
dbec62cdb2
Update distclean rule in cryptest.nmake 2019-01-09 01:04:59 -05:00
Jeffrey Walton
734affe257
Add missing dependency to cryptest.nmake 2019-01-08 03:36:06 -05:00
Jeffrey Walton
f74d09f645
Revert cryptest.nmake cross-pollination 2019-01-08 03:05:39 -05:00
Jeffrey Walton
cc4009450a
Clear early GCC warning 2019-01-08 03:04:11 -05:00
Jeffrey Walton
800af2323c
Add distclean recipe to cryptest.nmake 2019-01-07 23:57:36 -05:00
Jeffrey Walton
01b33b8c78
Update comments 2019-01-07 22:24:01 -05:00
Jeffrey Walton
aa934f5bb5
Add dlltest.cpp to cryptest.nmake 2019-01-07 18:32:53 -05:00
Jeffrey Walton
61a060765a
Update cryptest.nmake script 2019-01-07 18:02:06 -05:00
Jeffrey Walton
6d959d0dac
Update cryptest.nmake script 2019-01-07 16:10:18 -05:00
Jeffrey Walton
2166dc903d
Add DLL testing code to cryptest.nmake 2019-01-07 14:53:41 -05:00
Jeffrey Walton
e38bfe417d
Add /OUT option for dumpbin 2019-01-06 22:51:37 -05:00
Jeffrey Walton
1709d5dc65
Update recipes for Nmake file 2019-01-06 22:16:11 -05:00
Jeffrey Walton
6520ac2e2b
Fix unintentional check-in of nmake file 2019-01-04 20:44:56 -05:00
Jeffrey Walton
f47ffe2a4d
Fix IsDebuggerPresent guard for ARM64 (GH #776) 2019-01-04 20:43:19 -05:00
Jeffrey Walton
16f9cbc82a
Add comments on potential environment misdetection 2018-12-28 11:43:55 -05:00
Jeffrey Walton
152ac6177c
Add Moon's curve25519 using SSE2 (GH #761)
Moon's code is very fast. In fact it is so fast it broke our benchmarks. Moon's code registers 0.00 milliseconds and 0.00 megacycles/operation.
2018-12-13 10:19:54 -05:00
Jeffrey Walton
77923a291a
Add Langley's curve25519 (GH #761, PR# 762) 2018-12-11 16:17:56 -05:00
Jeffrey Walton
f07f01f415
Add Power9 Random Number Generator support (GH #747, PR #748)
This adds the missing changes to the Windows source files
2018-11-28 21:51:39 -05:00
Jeffrey Walton
b354eee1ed
Add /arch:AVX for chacha_avx.cpp to Nmake recipe 2018-11-10 11:56:56 -05:00
Jeffrey Walton
0ee1cb2ae9
Rename files with dashes to underscores
Also see https://github.com/weidai11/cryptopp/issues/736
2018-11-10 11:55:39 -05:00
Jeffrey Walton
f3fa10a15c
Rename files with dashes to underscores
Also see https://github.com/weidai11/cryptopp/issues/736
2018-11-10 11:16:39 -05:00
Jeffrey Walton
d9011f07d2
Add ChaCha AVX2 implementation (GH #735) 2018-11-08 16:20:31 -05:00
Jeffrey Walton
5dca85b819
Split Blake2 SIMD files into blake2s-simd.cpp and blake2b-simd.cpp (GH #729, GH #731)
The split was required for Blake2b and Power8; Blake2s only requires Power7
2018-11-02 19:09:36 -04:00
Jeffrey Walton
916c4484a2
Add ChaCha SSE2 implementation
Thanks to Jack Lloyd and Botan for allowing us to use the implementation.
The numbers for SSE2 are very good. When compared with Salsa20 ASM the results are:
  * Salsa20 2.55 cpb; ChaCha/20 2.90 cpb
  * Salsa20/12 1.61 cpb; ChaCha/12 1.90 cpb
  * Salsa20/8 1.34 cpb; ChaCha/8 1.5 cpb
2018-10-23 07:57:59 -04:00
Jeffrey Walton
a552eff2fe
Break-up long lines in cryptest.nmake 2018-08-27 21:16:50 -04:00
Jeffrey Walton
8382b49a1f
Fix compile using Nmake
LNK2019: unresolved external symbol CryptoPP::KeccakF1600(...)
2018-08-23 05:01:31 -04:00
Jeffrey Walton
d1a582e81a
Add /DEBUG to cryptest.nmake linker options 2018-08-20 11:42:57 -04:00
Jeffrey Walton
d41b3c8211
Fix linking rdrand.obj twice on Windows using cryptest.nmake 2018-08-19 10:06:20 -04: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