summaryrefslogtreecommitdiff
path: root/validat1.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add PowerPC support to cpu.h and validate.cppJeffrey Walton2017-09-111-9/+22
|
* Clear GCC warnings with -Wall -WextraJeffrey Walton2017-09-051-32/+8
|
* Revert AltiVec and Power8 commitsJeffrey Walton2017-09-051-9/+5
| | | | | The strategy of "cleanup under-aligned buffers" is not scaling well. Corner cases are still turing up. The library has some corner-case breaks, like old 32-bit Intels. And it still has not solved the AltiVec and Power8 alignment problems. For now we are backing out the changes and investigating other strategies
* Clear warnings under GCC with -Wall -WextraJeffrey Walton2017-09-051-5/+9
|
* Remove unneeded Debug testsJeffrey Walton2017-09-011-3/+0
| | | | These tests are effectively performed in MDC, SEAL and OldRandomPool
* Remove BOOL macro value (GH #462)Jeffrey Walton2017-08-201-0/+2
| | | | Currently the CRYPTOPP_BOOL_XXX macros set the macro value to 0 or 1. If we remove setting the 0 value (the #else part of the expression), then the self tests speed up by about 0.3 seconds. I can't explain it, but I have observed it repeatedly. This check-in prepares for the removal in Upstream master
* Fix compile under MSVCJeffrey Walton2017-08-201-3/+3
| | | | | | | | | | (ClCompile target) -> validat1.cpp(1081): warning C4800: 'CryptoPP::word32' : forcing value to bool 'true' or 'false' (performance warning) [c:\Users\cryptopp\cryptest.vcxproj] validat1.cpp(1090): warning C4800: 'CryptoPP::word32' : forcing value to bool 'true' or 'false' (performance warning) [c:\Users\cryptopp\cryptest.vcxproj] validat1.cpp(1099): warning C4800: 'CryptoPP::word32' : forcing value to bool 'true' or 'false' (performance warning) [c:\Users\cryptopp\cryptest.vcxproj]
* Add additional VIA RNG testsJeffrey Walton2017-08-201-0/+57
| | | | The are configurations tests as recommended by Cryptography Research, Inc in their 2003 audit report
* Add VIA Padlock RNGJeffrey Walton2017-08-191-0/+104
|
* Clear Coverity finding CHECKED_RETURN (CID 182769)Jeffrey Walton2017-08-181-8/+8
|
* Split source files to support Base Implementation + SIMD implementation (GH ↵Jeffrey Walton2017-08-171-6/+7
| | | | | #461) Split source files to support Base Implementation + SIMD implementation
* Move from 'static' to 'enum' for class constantsJeffrey Walton2017-08-111-3/+3
| | | | Enums don't take up space in class objects. Its should result in smaller objects and faster code
* Add hash static transform test (Issue 455)Jeffrey Walton2017-08-041-0/+3
|
* Use non-0 seed OldRandomPool testJeffrey Walton2017-08-041-5/+7
| | | | This should tickle endianness issues
* Clear declaration hides previous local declarationJeffrey Walton2017-08-041-3/+3
|
* Remove pre-Crypto++ 5.5 interfaceJeffrey Walton2017-08-021-17/+3
| | | | Users of OldRandomPool must use the new interface. All that means is they must call IncorporateEntropy instead of Put, and GenerateBlock instead of Get
* Cut-in RandomNumberGenerator interface to OldRandPoolJeffrey Walton2017-08-021-9/+23
| | | | | | | | The existing interface still exists. The new interface is routed into the old methods. Without the new interface, using OldRandPool could result in: $ ./cryptest.exe v terminate called after throwing an instance of CryptoPP::NotImplemented what(): RandomNumberGenerator: IncorporateEntropy not implemented Aborted (core dumped)
* Add self tests for OldRandomPoolJeffrey Walton2017-08-011-0/+109
| | | | We still need to get the test result cross-validated
* Revert "Revert "Clear Visual Studio warnings (Issue 412)""Jeffrey Walton2017-06-021-0/+4
| | | | This reverts commit c3871aec948013c1a4d5613050c659520f59e2e4.
* Revert "Clear Visual Studio warnings (Issue 412)"Jeffrey Walton2017-06-021-4/+0
| | | | This reverts commit eb3b27a6a543. The change broke GCC 4.8 and unknown version of Clang on OS X. UB reported the OS X break, and JW found duplicated the break on a ARM CubieTruck with GCC 4.8.
* Clear Visual Studio warnings (Issue 412)Jeffrey Walton2017-05-301-0/+4
|
* Remove calls to cout.flush() for AppVeyorJeffrey Walton2017-05-291-6/+4
| | | | | They seemed to produce a hang when running self tests in AppVeyor. Also use IsDebuggerPresent() to determine when we should call DebugBreak(). The OS killed our debug build when fuzzing caused an assert to fail
* Fix "error LNK2019: unresolved external symbol TestAutoSeededX917()" under ↵Jeffrey Walton2017-05-181-1/+1
| | | | Windows Phone
* Fix "error C2065: prng undeclared identifier" under Windows PhoneJeffrey Walton2017-05-181-2/+2
|
* Build RDRAND for all platofrms (Issue 419, PR 424)Jeffrey Walton2017-05-171-6/+0
| | | | We have not been able to determine a reliable way to detect cpu's and platforms with Cmake. We are side stepping the Cmake problem by building rdrand.cpp all the time. If its not avilable for a cpu or platform, then RDRAND or RDSEED throw an exception.
* Add Threefish to project filesJeffrey Walton2017-05-141-0/+1
| | | | Whitespace check-in
* Switch to _MSC_FULL_VER for SP1 releasesJeffrey Walton2017-05-111-2/+2
|
* Add Inflator::BadDistanceErr exception (Issue 414)Jeffrey Walton2017-05-101-3/+3
| | | | The improved validation and excpetion clears the Address Sanitizer and Undefined Behavior Sanitizer findings
* Fix compile error with NO_OS_DEPENDENCEJeffrey Walton2017-05-101-2/+7
|
* Add additional testsJeffrey Walton2017-05-101-157/+263
|
* Add tests for Information Dispersal and Secret SharingJeffrey Walton2017-05-091-0/+1
|
* Enable MD4 testing under extended validationsJeffrey Walton2017-05-091-1/+4
|
* Removed unneeded guardJeffrey Walton2017-05-091-6/+0
| | | | Whitespace check-in
* Whitespace check-inJeffrey Walton2017-05-091-2/+2
|
* Mkaake RDRAND and RDSEED throw if not availableJeffrey Walton2017-05-091-32/+41
| | | | Fix Carmichael pseudo-prime tests
* Fold compressor and default encryptor testsJeffrey Walton2017-05-061-16/+11
|
* Added additional testsJeffrey Walton2017-05-061-7/+23
|
* Fix compile error with -DNO_OS_DEPENDENCEJeffrey Walton2017-05-061-84/+84
| | | | Whitespace check-in
* Added additional testsJeffrey Walton2017-05-061-20/+186
|
* Add additional self tests under debug buildsJeffrey Walton2017-05-051-5/+6
|
* Updated MersenneTwister testsJeffrey Walton2017-05-051-13/+93
| | | | The tests now include the first 10 elements of the sequence to ensure a properly implemented algorithm and endianess correctness.
* Add additional self tests under debug buildsJeffrey Walton2017-05-051-0/+8
|
* Add variable block size support to test and benchmarksJeffrey Walton2017-05-041-2/+2
| | | | CRYPTOPP_COVERAGE was added at 9614307ab7f4a4a4 to increase code coverage support. This commit enables additional validation routines when CRYPTOPP_COVERAGE is in effect.
* Add ARIA block cipherJeffrey Walton2017-04-101-0/+35
| | | | | | 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.
* Fix compile under Visual Studio 2005/MSC 14.00Jeffrey Walton2017-03-181-1/+1
| | | | Previous testing occurred with Visual Studio 2005 SP 1, and it lacks some of the Safe C++/security enhanced functions.
* Improve performance of RDRAND and RDSEED (Issue 387)Jeffrey Walton2017-03-071-5/+4
|
* Add ValidateBaseCode to DEBUG tests by defaultJeffrey Walton2017-03-021-0/+2
|
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-18/+18
|
* Unroll decoder initialization (Issue 376)Jeffrey Walton2017-03-011-25/+46
|
* Add Test namespace within CryptoPP namespace (Issue 379)Jeffrey Walton2017-02-211-249/+249
|