Instructions for building truecrypt 7

Source: Internet
Author: User
Tags wxwidgets

Truecrypt 7.0 is released on July 19,201 0.

New features:

    • Hardware-accelerated AES (for more information, see the chapter hardware acceleration ).

    • Partition/device-hosted volumes can now be created on drives that use a sector size of 4096,204 8, or 1024 bytes (Windows, Linux).Note: previusly only file-hosted volumes were supported on such drives.

    • Other features are omitted in here.

The most important new feature of truecrypt 7.0 is the addition of AES-NI command support, greatly improving the AESAlgorithmThan the pure software to achieve AES-XTS algorithm is 4-8 times faster.

In Linux, the compilation implementation and benchmark functions of the AES algorithm are added.

 

To compile truecrypt 7.0/7.0a windows, see readme.txt and instructions for building truecrypt 6.3a in Windows XP

To compile truecrypt 7.0/7.0a Linux, refer to the following or instructions for building truecrypt 6.3a in Linux

 

Because the Linux version of truecrypt is added to the compilation Implementation of the AES algorithm for the first time, additional compilation steps need to be added. Here we will sort out the steps for compiling truecrypt under Ubuntu 9.10.

1. sudo apt-Get install build-essential

2. sudo apt-Get install libfuse-Dev

3. Download the three PKCS #11 cryptographic token interface (cryptoki) 2.20 header files: pkcs11.h, pkcs11f. H, pkcs11t. H. Put these three files in the pkcs11_inc folder.

Set the temporary environment variable. However, you must reset the variable every time you restart the system and compile the variable again.

Export pkcs11_inc = "/path/pkcs11_inc"

If you do not want to set environment variables every time you restart, you can ~ /Add the following content to the end of the bashrc file:

# Set pkcs11_inc environment variable for truecrypt
Pkcs11_inc =/path/pkcs11_inc
Export pkcs11_inc

4. download the latest stable version of NASM.Source code. (Nasm-2.08.02.tar.bz2)

./Configure

Make install # non-root account, add sudo command

5. Download wxWidgets-2.8.10 SourceCodeTo compile the wxWidgets source code to support truecrypt compilation, follow these steps:

A. Install the gnome development environment.

Sudo apt-Get install gnome-core-devel

B. Switch to the truecrypt source code directory and run the following command to compile the wxWidgets release and debug library files respectively.
Make wx_root = wxWidgets source code path wxbuild # Build wxWidgets release library
Make DEBUG = 1 debugger = 1 wx_root = wxWidgets source code path wxbuild # Build wxWidgets debug Library

C. Compile truecrypt release and debug executable files respectively.

Make wxstatic = 1 # Build truecrypt release binary

Make DEBUG = 1 debugger = 1 wx_root = wxWidgets source code path wxstatic = 1 # Build truecrypt debug binary
If you only need to compile the console interface, add nogui = 1 after the make command

6. If the compilation is successful, a truecrypt executable file will be generated under the/main directory.

 

Note:

1. the Running Performance of the AES algorithm is greatly improved. In addition to hardware encryption and decryption, each block unit must be used. More importantly, the hardware's ability to process data in parallel is used, this is different from hardware acceleration in some cases.

2. AMD's next-generation processor does not know whether it will support AES commands. Via padlock has implemented AES hardware acceleration for a long time; GPU can also implement AES hardware encryption and decryption.

3. Hardware acceleration of the AES algorithm is necessary (such as cloud storage and cloud data transmission). What are the advantages and disadvantages of hardware acceleration of the AES algorithm between the CPU and GPU? What are the differences between the application fields and applications?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.