summaryrefslogtreecommitdiff
path: root/validat0.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup Windows build after refactoringJeffrey Walton2023-04-151-2/+2
|
* Clear Visual Studio warningJeffrey Walton2022-02-121-9/+8
|
* Clear MSVC conversion warningJeffrey Walton2022-02-111-3/+7
|
* Clear enum to int warningJeffrey Walton2021-05-251-2/+2
|
* Update self testsJeffrey Walton2021-03-231-5/+4
|
* Add additional ASN.1 self testsJeffrey Walton2021-03-211-0/+94
|
* Update documentationJeffrey Walton2020-12-251-1/+1
|
* Whitespace check-inJeffrey Walton2019-10-191-2/+2
|
* Whitespace check-inJeffrey Walton2019-01-211-167/+175
|
* Fix failed debug self test with Sun Studio 12.6Jeffrey Walton2019-01-211-128/+165
|
* Make TestCurve25519 available in Release buildsJeffrey Walton2018-12-141-52/+0
|
* Fix the cut-in of Moon's implementation (GH #761)Jeffrey Walton2018-12-131-1/+1
| | | | The initial cut-in was missing preamble present in Moon's curve25519_donna function. It originally tested good because we only perform a pairwise consistency check in release builds. Comprehensive testing with debug builds revealed the problem. Debug builds cross-validate against Bernstein's TweetNaCl library.
* Fix failed self test when NO_OS_DEPENDENCE (GH #761)Jeffrey Walton2018-12-121-5/+8
| | | | | | | | | | | | Add is_clamped for secret key validation. Cleanup paramter names in Donna::curve25519 to follow function. Overload Donna::curve25519 to implicitly use base point if not provided. Add additional asserts to let the code debug itself. Update documentation.
* Add Langley's curve25519 (GH #761, PR# 762)Jeffrey Walton2018-12-111-16/+64
|
* Add VectorSource (GH #730)orangefour2018-11-011-1/+7
|
* Fix LegacyDecryptor and LegacyDecryptorWithMAC (GH #714)Jeffrey Walton2018-09-101-18/+30
| | | | The classes used the wrong hash with the MAC. The legacy gear should have used SHA1, not SHA256.
* Make TestStringSink a debug testJeffrey Walton2018-09-081-0/+22
|
* Add throw to test recover plain text for DefaultDecryptorWithMACJeffrey Walton2018-09-081-0/+2
|
* Add DefaultDecryptorWithMAC using binary file testJeffrey Walton2018-09-081-15/+38
| | | | Also see https://groups.google.com/d/msg/cryptopp-users/QxPxSHkLM-4/pWmoBRuaBQAJ
* Split validat*.cpp source filesJeffrey Walton2018-07-281-2279/+14
| | | | Also see https://groups.google.com/forum/#\!topic/cryptopp-users/j_aQj6r-PoI
* Add additional self testsJeffrey Walton2018-03-271-22/+34
|
* Switch to <nbtheory.h> functionsJeffrey Walton2018-03-261-9/+9
|
* Use '*this >= m' for InverseMod reductionJeffrey Walton2018-03-261-1/+1
| | | | The previous test used '*this > m', which did not capture 'm'
* Add additional Integer class testsJeffrey Walton2018-03-261-46/+59
|
* Add additional Integer class testsJeffrey Walton2018-03-251-6/+77
|
* Add additional Integer class testsJeffrey Walton2018-03-251-21/+145
|
* Add additional Integer class testsJeffrey Walton2018-03-251-9/+116
|
* Add additional Integer class testsJeffrey Walton2018-03-251-33/+93
|
* Fix conversion warnings under MSCJeffrey Walton2018-03-251-8/+9
|
* Add additional InverseMod testsJeffrey Walton2018-03-251-2/+26
| | | | This commit adds tests using 'word' moduli
* Move some tests from TestIntegerBitops to TestIntegerOps (GH #602)Jeffrey Walton2018-03-251-63/+62
|
* Fix incorrect InverseMod (GH #602) (#603)Jeffrey Walton2018-03-251-0/+122
|
* Revert AltiVec and Power8 commitsJeffrey Walton2017-09-051-6/+6
| | | | | 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
* Fix unaligned data in self testJeffrey Walton2017-09-031-6/+6
| | | | AltiVec and Power8 are brutal. The SIMD units just mask-off the lower 3 address bits. They make the buffer aligned whethere it is aligned or not
* Fix Address Sanitizer findings on GCC117Jeffrey Walton2017-08-151-9/+9
| | | | | | GCC117 is a Aarch64/ARM64 server with AMD's ARM chip and GCC 7.10. It looks like GCC is performing some std::string optimizations that generates a finding. We did not witness the finding on other platforms, like other Aarch64 devices and x86_64. We will need to check if taking the address of element-0 is still approved way to get the non-const pointer to the elements
* Fix Address Sanitizer findings on GCC117Jeffrey Walton2017-08-151-69/+48
| | | | GCC117 is a Aarch64/ARM64 server powered by AMD's ARM chip. It runs GCC 7.10. It looks like GCC is performing some std::string optimizations that generates a finding. We have not witnessed the finding on other platforms
* Whitespace check-inJeffrey Walton2017-08-021-12/+12
|
* Increase minimum size for DefaultEncryptor test. Decrease minimum size fir ↵Jeffrey Walton2017-08-011-11/+13
| | | | Inflator tests
* 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-9/+2
| | | | | 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
* Added some intelligence to truncated Gzip stream testJeffrey Walton2017-05-161-2/+8
|
* Add FileName, FileTime and Comment to argnames.hJeffrey Walton2017-05-121-8/+50
| | | | Add self tests to verify handling of filenames, filetimes and comments
* Improve compressor error messagesJeffrey Walton2017-05-111-14/+17
|
* Additional self tests for DecompressorsJeffrey Walton2017-05-111-45/+80
|
* Switch to _MSC_FULL_VER for SP1 releasesJeffrey Walton2017-05-111-1/+1
|
* Fix compile under GCC 6.3 on FedoraJeffrey Walton2017-05-111-0/+1
|
* Fix subscript out of range in testJeffrey Walton2017-05-111-1/+1
|
* Move TestPolynomialMod2 to validat0.cppJeffrey Walton2017-05-111-0/+115
|