Jeffrey Walton
e0d37b22f8
Remove unused variable from TestPadlockRNG
2018-10-21 11:48:41 -04:00
Jeffrey Walton
5e19ac7e48
Update comments in Doxygen config file
2018-10-20 22:55:21 -04:00
Jeffrey Walton
1d0c659fd7
Fix compile error when NO_OS_DEPENDENCE
2018-10-20 07:36:11 -04:00
Jeffrey Walton
1de4f39f86
Add CRYPTOPP_DISABLE_ASM for Google Native Client (GH #719 )
2018-10-20 06:31:51 -04:00
Jeffrey Walton
3063c6e1d9
Whitespace check-in
2018-10-20 06:11:46 -04:00
Jeffrey Walton
180b39facc
Disable SecureWipe specializations when CRYPTOPP_DISABLE_ASM (GH #719 )
2018-10-20 05:54:49 -04:00
Jeffrey Walton
c315c669b7
Disable server-side Doxygen search
...
This may be contributing to OOM kills in our low-memory environment
2018-10-19 22:19:49 -04:00
Jeffrey Walton
c0471236f4
Use version 7.0 rather than 6.2
...
We had to perform a major version bump due to an ABI break
2018-10-19 20:43:23 -04:00
Jeffrey Walton
9be27c86c6
Fix TestMersenne validation
2018-10-19 07:17:05 -04:00
Jeffrey Walton
cab699d7c8
Bail early from test script if initial tests fail
2018-10-19 07:16:35 -04:00
Jeffrey Walton
26fcdb55cd
Add additional RNG tests
2018-10-19 04:57:10 -04:00
Jeffrey Walton
ce4af5b85f
Add Test_RandomNumberGenerator function
...
Copy and paste gone wrong... This cleaned up a lot of tests by folding the code into one function.
2018-10-18 08:59:00 -04:00
Jeffrey Walton
6462152534
Clear MS LNK4221 and libtool warnings
2018-10-17 04:27:54 -04:00
Jeffrey Walton
ca08d63a10
Add SIMON and SPECK to validation suite
2018-10-14 10:45:46 -04:00
Jeffrey Walton
d6eaa5098e
Remove DEFAULT_BLOCKSIZE constants (GH #535 )
...
This should have been removed around January 2018 with the other functions.
2018-10-14 09:18:45 -04:00
Jeffrey Walton
23279dcd45
Update documentation
2018-10-14 08:21:56 -04:00
Jeffrey Walton
7bd9ffcaca
Remove StaticGetValidBlockSize (GH #535 )
...
This should have been removed around January 2018 with the other functions.
2018-10-14 08:01:25 -04:00
Jeffrey Walton
6660982a55
Allow Cryptogam's AES thunk to be inlined
2018-10-14 07:39:08 -04:00
Jeffrey Walton
4e78abe584
Use HertzToString for friendly CPU speed
2018-10-14 03:50:13 -04:00
Jeffrey Walton
c65cd7c365
Use Cycles/Byte for table heading
2018-10-14 02:49:22 -04:00
Jeffrey Walton
0d6c86bae6
Update comments
2018-10-14 00:30:23 -04:00
Jeffrey Walton
49d852ee8c
Enable same buffer for in and out on ARM A-32 (GH #683 )
2018-10-13 22:16:59 -04:00
Jeffrey Walton
1acbedd4f8
Fix spelling and grammar
2018-10-13 22:15:41 -04:00
Jeffrey Walton
cc5baa9c33
Fix typo in AdvancedProcessBlocks64_6x2_NEON
...
AdvancedProcessBlocks64_6x2_NEON was only used by Simon and Speck. It was causing failures in wide-block tests for CBC decryption only.
2018-10-13 19:20:08 -04:00
Jeffrey Walton
fb303f5180
Fix unset MAKE variable in test scripts
2018-09-26 16:22:19 -04:00
Jeffrey Walton
1d5eaf5268
Fix test scripts on ancient Bash
...
This showed up on Solaris 9 with Bash 2.05. Also see https://unix.stackexchange.com/q/468579/56041
2018-09-12 13:06:28 -04:00
Jeffrey Walton
590f8573c4
Fix LegacyDecryptor and LegacyDecryptorWithMAC (GH #714 )
...
The classes used the wrong hash with the MAC. The legacy gear should have used SHA1, not SHA256.
2018-09-10 21:55:08 -04:00
Jeffrey Walton
d0946abb0b
Use in cryptest-cmake.sh test
2018-09-10 09:00:25 -04:00
Jeffrey Walton
fc5a73186f
Make config.sub and config.guess +w before download
2018-09-09 14:28:52 -04:00
Jeffrey Walton
edbd57a41f
Make config.sub and config.guess +x after download
2018-09-09 12:00:54 -04:00
Jeffrey Walton
b51faab9b3
Update comments in GNU Makefile
2018-09-09 03:44:50 -04:00
Jeffrey Walton
03297cdfa6
Add -xregs=no%appl for SunCC on Sparc
2018-09-09 03:01:10 -04:00
Jeffrey Walton
9a8b4a8024
Make TestStringSink a debug test
2018-09-08 21:52:14 -04:00
Jeffrey Walton
ae34c2d2ff
Add throw to test recover plain text for DefaultDecryptorWithMAC
2018-09-08 17:08:44 -04:00
Jeffrey Walton
4ff34ee329
Add DefaultDecryptorWithMAC using binary file test
...
Also see https://groups.google.com/d/msg/cryptopp-users/QxPxSHkLM-4/pWmoBRuaBQAJ
2018-09-08 12:10:46 -04:00
Mouse
ac43bee698
Merge pull request #334 from orangefour/feature/vector_sink
...
Add VectorSink
2018-09-05 15:56:55 -04:00
orangefour
9b81a545fc
Add VectorSink
2018-09-05 09:25:09 +02:00
Jeffrey Walton
44cd7eb1ed
Fix missed conditions for XTR-DH domain parameters generation
...
Formerly we used asserts and they would fire on occassion. This commit makes the condition part of the generation process to avoid the assert.
2018-09-04 23:32:59 -04:00
Jeffrey Walton
c01606e305
Add additional assert
2018-09-03 18:53:07 -04:00
Jeffrey Walton
aa45eca561
Clear documentation warning due to specialization
...
The specialization pivoted on T_Align16 so it is not longer a template parameter
2018-08-28 21:27:48 -04:00
Jeffrey Walton
a77f529ec2
Update cryptest-autotools.sh
...
Update config.sub and config.guess per GNU recommendations
2018-08-28 15:19:28 -04:00
Jeffrey Walton
a552eff2fe
Break-up long lines in cryptest.nmake
2018-08-27 21:16:50 -04:00
Jeffrey Walton
e8bf53cd9f
Fix Android Aarch32/Aarch64 code paths in neon-simd.cpp
2018-08-26 02:02:26 -04:00
Jeffrey Walton
e8fc1b0422
Fix Android Aarch32/Aarch64 code paths in neon-simd.cpp
2018-08-26 01:54:38 -04:00
Jeffrey Walton
eba078838f
Enable server-side search for Doxygen manual
...
It is too bad it does not work...
2018-08-24 14:09:08 -04:00
Jeffrey Walton
4fb9fbf5ac
Update comments
2018-08-24 12:19:42 -04:00
Jeffrey Walton
beed647df2
Update assert
2018-08-24 09:25:19 -04:00
Jeffrey Walton
1bbbfb6b75
Fix partial specializations for FixedSizeAllocatorWithCleanup (PR #710 )
...
Commit afbd3e60f6 effectively treated a symptom and not the underlying problem. The problem was linkers on 32-bit systems ignore CRYPTOPP_ALIGN_DAT(16) passed down by the compiler and align to 8-bytes or less. We have to use Wei's original code in some places. It is not a bad thing, but the bit fiddling is something we would like to contain a little more by depending more on language or platform features.
This commit keeps the original changes which improve partial specializations; but fixes 32-bit linker behavior by effectively reverting afbd3e60f6 and e054d36dc8 . We also add more comments so the next person has understands why things are done they way they are.
2018-08-24 08:13:23 -04:00
Jeffrey Walton
243673c32a
Add notes on -stdlib=libc++ for MacOS
2018-08-24 04:43:12 -04:00
Jeffrey Walton
afbd3e60f6
Fix alignment on Win32 and Solaris Sparc (PR #709 )
...
These fixes were interesting in a morbid sort of way. I thought the FixedSizeAllocatorWithCleanup specializations faithfully reproduced semantics but I was wrong on Win32 and Sparc. Also see Commit e054d36dc8 .
It seems there was another requirement or dependency that we missed, but it was not readily apparent. If I am parsing results correctly (which I may not be), it appears the bit twiddling using 8 byte alignment had more influence on alignment than I originally thought based on use of CRYPTOPP_BOOL_ALIGN16 and T_Align16. Or maybe the alignment attributes specified by CRYPTOPP_ALIGN_DATA are not being honored like they should for stack allocations.
This check-in avoids some uses of x86 movdqa (aligned) in favor of movdqu (unaligned). The uses were concentrated on memory operands which were 8-byte aligned instead of 16-byte aligned. It is not clear to me how the specializations lost 8-bytes of alignment. The check-in also enlists CRYPTOPP_ASSERT to tell us when there's a problem so we don't need to go hunting for bugs.
2018-08-23 14:42:29 -04:00