Increase True Crypt AES performance
I used the new version of True Crypt which has just been released to encrypt my new external hard drive which has become almost a standard procedure for me to do.
Whenever I buy a new hard drive, I encrypt it entirely with True Crypt. I discovered a method by chance to increase the performance of the AES algorithm in True Crypt.
The solution is a little bit complicated because you have to compile a source to get it to work. The benefit however is a much better performance of that algorithm which has been programmed in Assembler in comparison to the one programmed in C that True Crypt is using by default.
The increase is amazing. The bandwidth increases by about 20 MB/s from 66 MB/s to 85 MB/s on the system of the user who discovered it. It depends on the hard drive of course but everyone should see a gain in the end.
You will need the following to compile the algorithm source and True Crypt:
- Microsoft Visual Studio 2005 with SP1
- Microsoft Visual C++ 1.52
- Windows Driver Development Kit (DDK) Vista Build 6000
You can read the full instructions in this thread. I was not able to locate a precompiled version of True Crypt with this faster AES algorithm yet. If anyone comes up with a trustworthy download source let me know. I unfortunately do not have Microsoft Visual Studio 2005.
Update: The developers of True Crypt have added hardware AES protection to True Crypt 7.0 which boosts the performance of encrypting drives significantly on systems that are compatible with the application.
The increase can reach up to eight times the performance of software encryption. Note that the cpu needs to support AES hardware encryption which is currently supported by processors that support Intel AES-NI instructions.
Update 2: True Crypt is no longer available. The project has been retired. We suggest you use Vera Crypt, a successor based on True Crypt code instead.Advertisement