Commit Graph

103 Commits (cd395c794326e358a6c0db6d7fa795755df20ae6)

Author SHA1 Message Date
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
Jeffrey Walton 7a43a04048
Split simon-simd.cpp and speck-simd.cpp into separate source files
SIMON-64 and SIMON-128 have different ISA requirements. The same applies to SPECK-64 and SPECK-128. GCC generated code that resulted in a SIGILL due to the ISA differences on a down level machine. The instructions was a mtfprwz from POWER8. It was prsent in a function prologue on a POWER7 machine.
2018-08-15 09:59:40 -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 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 5861d9342d
Split regtest2.cpp into two files
Rename regtest3.cpp to regtest4.cpp. Split regtest2.cpp into regtest2.cpp and regtest3.cpp
2018-07-27 18:16:25 -04:00
Jeffrey Walton 1f914feaf9
Split bench1.cpp into two files
Renamed bench2.cpp to bench3.cpp. Split bench1.cpp into bench1.cpp and bench2.cpp
2018-07-27 14:13:58 -04:00
Jeffrey Walton 678bdb1735
Add AES-NI accelerated SM4 encryption (GH #540)
Thanks to Markku-Juhani Olavi Saarinen for the code. Also see https://github.com/mjosaarinen/sm4ni
2018-07-13 08:48:43 -04:00
Jeffrey Walton 989bf6dc5e
Add HC-256 stream cipher (GH #680) 2018-07-05 06:43:04 -04:00
Jeffrey Walton dd31eb80c0
Add HC-128 stream cipher (GH #679) 2018-07-05 00:29:07 -04:00
Jeffrey Walton d00777e1d7
Add Rabbit stream cipher (GH #678) 2018-07-04 03:47:28 -04:00
Jeffrey Walton 08e6137082
Add SIMECK-64 SSSE3 implementation (GH #675) 2018-07-01 03:11:00 -04:00
Jeffrey Walton 61f635b837
Add additional SIMECK tests (GH #675) 2018-06-30 08:25:32 -04:00