VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Pkcs5.c
AgeCommit message (Collapse)AuthorFilesLines
2017-07-22Windows: reduce size of MBR bootloader by removing unused functions in each ↵Mounir IDRASSI1-12/+0
build type.
2017-07-04Windows Driver: correctly save and restore extended processor state when ↵Mounir IDRASSI1-20/+82
performing AVX operations on Windows 7 and later. Enhance readability of code handling save/restore of floating point state.
2017-06-23Update IDRIX copyright yearMounir IDRASSI1-1/+1
2017-06-23Crypto: Add optimized SHA-512 and SHA-256 assembly implementations for ↵Mounir IDRASSI1-0/+21
x86_64 and x86. This improves speed by 30%.
2016-12-08Windows: Enhancement to favorites handling. Add PRF/TrueCryptMode fields in ↵Mounir IDRASSI1-0/+25
favorites management dialog, and use default mount parameters when mounting multiple favorites at once.
2016-10-17Crypto: remove specific PBKDF2 optimization for block index encoding (except ↵Mounir IDRASSI1-6/+18
in 16-bit bootloader) in order to make code clearer and avoid bad usage in the future if this implementation is used to generate more bytes than today.
2016-10-17Crypto: clarify PRF code by removing unused parameters in functions ↵Mounir IDRASSI1-39/+31
hmac_XXX_internak and derive_u_XXX
2016-10-17Crypto: make HMAC-SHA512 code more clear by removing the memory usage ↵Mounir IDRASSI1-7/+3
optimization and make field k of hmac_sha512_ctx big enough to hold computation results instead of relying on the field u that follows it.
2016-08-15Windows EFI Bootloader: modifications to prepare EFI system encryption ↵Alex1-29/+30
support (common files with DcsBoot)
2016-08-15Windows: Add support for Streebog (hash) and kuznyechik (encryption)Mounir IDRASSI1-0/+229
2016-07-25Windows: solve benchmark issue for Whirlpool which caused wrong numbers when ↵Mounir IDRASSI1-8/+8
a 1GB buffer is chosen.
2016-06-17Windows Driver: save FPU state in 32-bit mode before run Whirlpool SSE ↵Mounir IDRASSI1-0/+22
implementation to avoid issues (https://msdn.microsoft.com/fr-fr/library/ff565388(v=vs.85).aspx)
2016-05-10Remove trailing whitespaceDavid Foerster1-27/+27
2016-05-10Normalize all line terminatorsDavid Foerster1-959/+959
2016-01-20Copyright: update dates to include 2016.Mounir IDRASSI1-1/+1
2016-01-17Cryptography: Divide mount and boot times by 2 using a pre-computation of ↵Mounir IDRASSI1-106/+259
values used in PRF HMac calculation (thanks to Xavier de Carné de Carnavalet for finding this optimization).
2015-12-31Cryptography: Optimize Whirlpool implementation by using public domain ↵Mounir IDRASSI1-2/+2
assembly code developed by Wei Dai
2015-11-30Linux/MacOSX: Solve compilation issue following Windows Unicode rewriteMounir IDRASSI1-0/+1
2015-11-26Windows: Full UNICODE rewrite and implement support for UNICODE passwords.Mounir IDRASSI1-6/+6
2015-08-06Update license information to reflect the use of a dual license Apache 2.0 ↵Mounir IDRASSI1-7/+9
and TrueCrypt 3.0.
2015-07-11Linux: Solve compilation warning (unused variables, pointer cast)Mounir IDRASSI1-1/+1
2015-07-11Use Pim name for internal variables instead of the old name PinMounir IDRASSI1-11/+11
2015-06-08Windows: rename PIN to PIM to avoid confusion. Better error messages.Mounir IDRASSI1-1/+1
2015-05-26Windows: first implementation of dynamic modeMounir IDRASSI1-23/+44
2015-02-22Speed and memory usage optimization for key derivation based on patches by ↵Mounir IDRASSI1-274/+360
Nils Maier. 20% improvement on 64-bit CPU for SHA512 and SHA256, 11% for Whirlpool and 13% for RIPEMD-160.
2015-01-23Windows: Correct displaying wrong TrueCrypt mode in volume properties when ↵Mounir IDRASSI1-1/+4
SHA-256 is used. Issue reported and fixed by user Ache on CodePlex (https://veracrypt.codeplex.com/workitem/65)
2014-12-28Windows: support loading TrueCrypt volumes. Implement converting TrueCrypt ↵Mounir IDRASSI1-4/+7
volumes to VeraCrypt using the change password functionality.
2014-11-08Linux/MacOSX: add newline at the end of Pkcs5.c to remove gcc warningMounir IDRASSI1-1/+1
2014-11-08Simplify code handling iterations count: in boot mode, we'll set the correct ↵Mounir IDRASSI1-21/+26
iterations count inside derive_u_sha256 and derive_u_ripemd160 depending in the value of the iterations parameter. On normal mode, we use normal values of iterations count. Removes the special test parameter from RIPEMD160 functions.
2014-11-08Bootloader code optimization: remove code in HMAC implementation in case of ↵Mounir IDRASSI1-4/+24
boot compilation that is never called since passwords are always less than 64-byte length. We leave it in Windows compilation because it is used to check the implementation against test vectors.
2014-11-08Add support for SHA-256 in key derivation for bootloader encryption. Create ↵Mounir IDRASSI1-1/+161
separate bootloader images for SHA-256 and RIPEMD-160. Set SHA-256 as the default PRF for boot encryption and SHA-512 as default PRF for all other cases. Depricate RIPEMD-160.
2014-11-08Optimization to reduce code size of derive_u_ripemd160. Useful for boatloader.Mounir IDRASSI1-25/+20
2014-11-08Remove deprecated/legacy cryptographic algorithms and encryption modes that ↵Mounir IDRASSI1-152/+1
are never used by VeraCrypt. This will speed up volumes opening in many cases.
2014-11-08Correct issue in handling hidden system partitions that made it impossible ↵Mounir IDRASSI1-6/+19
to verify their password.
2014-11-08Reduce excessive iterations count while on the same time keep very high securityMounir IDRASSI1-4/+4
2014-11-08Enhance security by rising the iterations used in PBKDF2 : 327670 instead of ↵Mounir IDRASSI1-15/+22
1000 when booting in encrypted system partition, and 2000000 instead of 2000 when using encrypted containers and partitions
2014-11-08Add original TrueCrypt 7.1a sourcesMounir IDRASSI1-0/+642