Jeffrey Walton
375b38554e
Use 64-bit multiply for Rabbit
2018-07-29 12:11:45 -04:00
Jeffrey Walton
32d2ad1ca5
Fix "error: ‘MaurerRandomnessTest’ was not declared in this scope"
2018-07-28 18:52:22 -04:00
Jeffrey Walton
138ce8f626
Cleanup Makefiles and Android and iOS scripts
2018-07-28 18:45:37 -04:00
Jeffrey Walton
86a212b85f
Add missing header to validat3.cpp
2018-07-28 16:39:21 -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
0ea807f2eb
Add additional artifacts to autotools-clean rule
2018-07-28 12:38:15 -04:00
Jeffrey Walton
a411ac350b
Cleanup cryptest-autotools.sh script
2018-07-28 10:58:51 -04:00
Jeffrey Walton
4066d70731
Cleanup cryptest-autotools.sh script
2018-07-28 10:57:53 -04:00
Jeffrey Walton
5cc3f72d33
Add -Wa,--noexecstack for aes-armv4.S
2018-07-28 10:36:40 -04:00
Jeffrey Walton
3657f8c235
Add cryptest-results.txt to clean rule
2018-07-28 09:31:41 -04:00
Jeffrey Walton
ef5a3d3905
Add autotools-clean and cmake-clean rules to GNUmakefile
2018-07-28 09:21:31 -04:00
Jeffrey Walton
a0ad5e815c
Remove -marm from aes-armv4.S flags
2018-07-27 22:00:28 -04:00
Jeffrey Walton
fa513df380
Cleanup head notes and includes
2018-07-27 21:18:51 -04:00
Jeffrey Walton
97e283c8fd
Cleanup head notes and includes
2018-07-27 21:04:30 -04:00
Jeffrey Walton
884851cd9a
Update failure message
2018-07-27 19:17:25 -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
ed91b278bb
Run autoupdate and libtoolize if available
2018-07-27 16:51:32 -04:00
Jeffrey Walton
f201bc9493
Remove calls to format script
2018-07-27 16:10:43 -04:00
Jeffrey Walton
a3efa68da7
Add call to autoupdate if available
2018-07-27 16:09:27 -04:00
Jeffrey Walton
c7332c22aa
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:21:36 -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
7afd05c336
Save/restore 64-bit registers for Padlock on x86_64
2018-07-27 11:21:54 -04:00
Jeffrey Walton
5ea410c1d3
Update comments
2018-07-27 01:57:33 -04:00
Jeffrey Walton
f165d1822d
More SunStudio/SunCC workarounds
2018-07-27 01:51:27 -04:00
Jeffrey Walton
2f83777e9b
Backout ChaCha changes to Crypto++ 7.0
...
These changes made it in by accident at Commit b74a6f4445 . We were going to try to let them ride but they broke versioning. They may be added later but we should avoid the change at this time.
2018-07-25 16:25:41 -04:00
Jeffrey Walton
e50a40ec59
Fix 'make sources' recipe
2018-07-25 00:11:09 -04:00
Jeffrey Walton
4aafb0e6a3
Cleanup SHA512::Transform code
...
The extra code paths added at GH #689 were no longer needed after GH #691
2018-07-21 10:28:48 -04:00
Jeffrey Walton
f1192fd044
Update comments in IterHashBase and friends
...
We also switched to "IsAligned<HashWordType>(input)". Using word64 was due to debug testing on Solaris (the alignment check is needed). Hard coding word64 should not have been checked in.
2018-07-21 06:51:41 -04:00
Jeffrey Walton
61f1456a5a
Disable X32 inline ASM for Tiger
...
See Peter Cordes comments at Issue 686
2018-07-21 06:36:15 -04:00
Jeffrey Walton
d4f86d7320
Add SunCC code path to GetAlignmentOf
...
It looks like GetAlignmentOf was returning the "UnsignedMin(4U, sizeof(T))" for SunCC. It was causing SIGBUSes on Sparc when T=word64. OpenCSW provided access to their build farm and we were able to test "__alignof__(T)" back to an early SunCC on Solaris 9.
2018-07-21 06:29:20 -04:00
Jeffrey Walton
baff390f28
Fix older Solaris and SunCC compile
...
Found during testing on OpenCSW compile farm on Solaris 9 (host unstable9s)
2018-07-21 06:15:40 -04:00
Jeffrey Walton
aeaa4f623f
Use blockSize throughout HashMultipleBlocks
2018-07-20 20:28:07 -04:00
Jeffrey Walton
414c5c5438
Fix Tiger crash on Sparc (GH #690 )
...
Man, Sparc does not mess around with unaligned buffers. Without -xmemalign=4i the hardware wants 8-byte aligned word64's so it can use the high performance 64-bit move or add.
Since we do not use -xmemalign we get the default behavior of either -xmemalgin=8i or -xmemalgin=8s. It shoul dnot matter to us since we removed unaligned data access at GH #682 .
2018-07-20 20:12:54 -04:00
Jeffrey Walton
0c0b68a4a2
Align input buffer in HashMultipleBlocks
...
IteratedHashBase::Update aligns the buffer, but IteratedHashBase::HashBlock does not. It was causing a fair number of asserts to fire when the code was instrumented with alignment checks. Linux benchmarks shows the code does not run materially slower on i686 or x86_64.
2018-07-20 18:56:41 -04:00
Jeffrey Walton
365e65c2eb
Whitespace check-in
2018-07-20 13:38:55 -04:00
Jeffrey Walton
ca302c952e
Fix Solaris 11/Sparc crash in SHA-384 (GH #689 , GH #403 )
...
I believe Andrew Marlow first reported it. At the time we could not get our hands on hardware to fully test things. Instead we were using -xmemalign=4i option as a band-aide to avoid running afoul of the Sparc instruction that moves 64-bits of data in one shot.
2018-07-20 13:24:04 -04:00
Jeffrey Walton
45ffb7e827
Fix crash in SHA-512 when using different compile options (GH #661 )
...
This also helps clear a crash on Sparc due to unaligned access to an uint64_t (GH #689 )
2018-07-20 13:15:29 -04:00
Jeffrey Walton
8d6b1af4cf
Update documentation
2018-07-17 11:52:34 -04:00
Jeffrey Walton
d8946df8eb
Add crypto_sign_sk2pk (PR #668 )
...
This should allow users to convert a ed25519 seret key to a public key without rolling their own code
2018-07-17 08:28:33 -04:00
Jeffrey Walton
e1433536bc
Use CRYPTOPP_DISABLE_INTEL_ASM for Clang in GCM
...
Clang 6.0 is still broke. It cannot compile a simple "neg %rcx" using Intel syntax
2018-07-16 19:40:56 -04:00
Jeffrey Walton
076d0cd604
Remove s_clmulConstants table in GCM mode
...
Local scopes and loading the constants with _mm_set_epi32 saves about 0.03 cpb. It does not sound like much but it improves GMAC by about 500 MB/s. GMAC is just shy of 8 GB/s.
2018-07-16 19:04:24 -04:00
Jeffrey Walton
e6fb540c4c
Allow iPhoneSimulator failures (GH #684 )
...
We still need to figure out what to do with this.
2018-07-16 17:12:02 -04:00
Jeffrey Walton
c9d53ad340
Fix "error C2719: formal parameter with requested alignment of 16 won't be aligned"
...
This was somewhat expected due to the Solaris knob turning.
2018-07-16 17:09:26 -04:00
Jeffrey Walton
ee8c141d3c
Fix xompile on downlevel assemblers
...
This surfaced on Solaris with an ancient Binutils
2018-07-16 15:27:25 -04:00
Jeffrey Walton
b91491da4f
Fix Solaris i386 compile of CHAM and LEA for SunStudio 12.3 and below
2018-07-16 12:21:44 -04:00
Jeffrey Walton
14dd03544e
Update cryptest-automake test script for Solaris
2018-07-16 10:53:11 -04:00
Jeffrey Walton
8197732756
Fix SunStudio 12.6 runtime crash on i386
...
This bug has been around since the Sun Studio 11/SunCC 5.8 days
2018-07-16 10:33:14 -04:00
Jeffrey Walton
28f079ba64
Fix SunStudio 12.3 compile on i386
2018-07-16 10:22:21 -04:00
Jeffrey Walton
bd9ca55c44
Cleanup gcm.cpp after Commit 9d954efcde
2018-07-16 09:48:35 -04:00
Jeffrey Walton
9d954efcde
Disable CLMUL again on SunStudio (GH# 188, GH #224 )
...
We got reports that x86_64 was producing incorrect results. Also, the problem persisted in i386 builds. I don't think we can work around this issue. Oracle must fix it.
2018-07-16 09:39:01 -04:00