path: root/src/Common/Pkcs5.c
AgeCommit message (Collapse)AuthorFilesLines
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