VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core/RandomNumberGenerator.cpp
AgeCommit message (Collapse)AuthorFilesLines
2023-05-27Linux/macOS: Make RNG implementation match documentation and the Windows ↵Mounir IDRASSI1-8/+15
implementation
2023-05-27Linux/macOS: explicitely initialize hash algo before hashing random poolMounir IDRASSI1-2/+3
The lack of explicit hash initialization was causing issue with Blake2s because it doesn't allow further processing once a digest value was returned. Other hash algorithms don't have this restriction. Not we explicitely initialize all hash algorithms which is the correct way to do things.
2022-03-08Implement support of Blake2s-256 hash algorithm and remove deprecated ↵Mounir IDRASSI1-3/+3
algorithms RIPEMD-160 and GOST89.
2020-08-08Linux/FreeBSD: Fix build error using older compilersMounir IDRASSI1-0/+5
2020-06-21Linux/MacOSX: Read at least 32 bytes from /dev/random before allowing it to ↵Mounir IDRASSI1-3/+10
fail gracefully
2020-06-19Linux/MacOSX: Don't always ignore /dev/random failure by making sure that it ↵Mounir IDRASSI1-1/+20
has returned random bytes successfully at least once during the lifetime of RandomNumberGenerator
2019-10-23Linux/MacOSX: Add missing JitterEntropy implementationMounir IDRASSI1-0/+23
2017-06-23Update IDRIX copyright yearMounir IDRASSI1-1/+1
2016-10-17Use properly aligned memory in code using Streebog hash implementation that ↵Mounir IDRASSI1-1/+1
uses SSE.
2016-05-10Remove trailing whitespaceDavid Foerster1-3/+3
2016-01-20Copyright: update dates to include 2016.Mounir IDRASSI1-1/+1
2015-08-06Update license information to reflect the use of a dual license Apache 2.0 ↵Mounir IDRASSI1-5/+9
and TrueCrypt 3.0.
2014-12-11Linux/MacOSX: Implement generating more than one keyfile, specifying the ↵Mounir IDRASSI1-21/+39
size of the generated keyfiles and letting VeraCrypt choose random size values.
2014-11-08Change namespace from TrueCrypt to VeraCrypt. Rename method from Resources ↵Mounir IDRASSI1-1/+1
Resources::GetTrueCryptIcon to Resources::GetVeraCryptIcon.
2014-11-08Add TrueCrypt 7.1a MacOSX/Linux specific source files.Mounir IDRASSI1-0/+213