summaryrefslogtreecommitdiff
path: root/randpool.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos (PR# 1099)Dimitris Apostolou2022-01-041-1/+1
|
* Update commentsJeffrey Walton2021-06-171-0/+1
|
* Use GenerateWord32 impl from Crypto++ 5.4Jeffrey Walton2021-06-171-2/+1
| | | | Also see https://groups.google.com/g/cryptopp-users/c/YOl2FGXSp44
* Endian swap outptu OldRandomPool::GenerateWord32Jeffrey Walton2021-06-171-0/+4
| | | | Also see https://groups.google.com/g/cryptopp-users/c/YOl2FGXSp44
* Update commentsJeffrey Walton2020-12-281-2/+2
|
* Update documentationJeffrey Walton2020-04-021-21/+23
|
* Remove AsymmetricAlgorithm::BERDecode (GH #569)Jeffrey Walton2018-01-211-1/+1
|
* Remove unneeded Doxygen directiveJeffrey Walton2018-01-191-2/+0
|
* Change Doxygen comment style from //! to ///Jeffrey Walton2017-11-291-45/+45
| | | | Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
* Update documentationJeffrey Walton2017-08-171-1/+0
|
* Remove pre-Crypto++ 5.5 interfaceJeffrey Walton2017-08-021-18/+2
| | | | 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-11/+18
| | | | | | | | 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)
* Cleared unused variable warningsJeffrey Walton2017-08-011-1/+3
|
* Whitespace check-inJeffrey Walton2017-08-011-20/+20
|
* Add OldRandomPool class (Issue 452)Jeffrey Walton2017-08-011-15/+52
| | | | | | | | | | | | | | | | | RandomPool used to be a PGP-style deterministic generator and folks used it as a key generation function. At Crypto++ 5.5 the design changed to harden it agianst rollback attacks. The design change resulted in an upgrade barrier. That is, some folks are stuck at Crypto++ 4.2 or Crypto++ 5.2 because they must interoperate with existing software. Below is the test program we used for the test vector. It was run against Crypto++ 5.4. RandomPool prng; SecByteBlock seed(0x00, 384), result(64); prng.Put(seed, seed.size()); prng.GenerateBlock(result, result.size()); HexEncoder encoder(new FileSink(std::cout)); std::cout << "RandomPool: "; encoder.Put(result, sizeof(result)); std::cout << std::endl;
* Removed "typedef SHA1 SHA" (Issue 369)Jeffrey Walton2017-04-241-2/+2
| | | | | | This should have happened when we removed most of MAINTAIN_BACKWARDS_COMPATIBILITY artifacts. Its not practical move SHA1 into Weak:: namespace or "typedef SHA256 SHA" because SHA1 is too intertwined at the moment. In the interim, maybe we can place SHA1 in both CryptoPP:: and Weak:: namespaces. This will allow us to transition into Weak::SHA1 over time, and signal to users SHA1 should be avoided.
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* Updated documentationJeffrey Walton2016-09-211-5/+29
|
* Cleared -Wcast-align (Issue 122)Jeffrey Walton2016-01-241-4/+15
|
* Fixed cast-align warning when casting buffer to TimerWord*Jeffrey Walton2016-01-081-2/+2
|
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-33/+36
|
* reduce risk of reusing random numbers after VM state rollbackweidai2007-05-041-26/+13
|
* port to MSVC .NET 2005 beta 2weidai2005-07-121-6/+6
|
* create DLL version, fix GetNextIV() bug in CTR and OFB modesweidai2003-07-041-1/+1
|
* Initial revisionweidai2002-10-041-0/+46