NSLU2-Linux
view · edit · print · history

HowTo.CompilTrueCrypt History

Hide minor edits - Show changes to markup

December 04, 2011, at 08:48 AM by vinz2k --
Deleted lines 49-54:
{-RMD160Transform ((uint32 *) ctx->state, (const uint32 *) input);-}

and replace it with these lines :

Changed lines 51-52 from:

memcpy(ctx->buffer, input, RIPEMD160?_BLOCK_LENGTH); RMD160Transform? ((uint32 *) ctx->state, (const uint32 *) ctx->buffer);

to:

RMD160Transform? ((uint32 *) ctx->state, (const uint32 *) input);

Added lines 54-60:

and replace it with these lines :

memcpy(ctx->buffer, input, RIPEMD160_BLOCK_LENGTH);
RMD160Transform ((uint32 *) ctx->state, (const uint32 *) ctx->buffer);
December 04, 2011, at 08:48 AM by vinz2k --
Added lines 56-65:
memcpy(ctx->buffer, input, RIPEMD160_BLOCK_LENGTH);
RMD160Transform ((uint32 *) ctx->state, (const uint32 *) ctx->buffer);

Save the file. (This patch come from this webpage : http://www.openplug.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation)

Truecrypt compilation

Deleted lines 66-75:

{-memcpy(ctx->buffer, input, RIPEMD160?_BLOCK_LENGTH); RMD160Transform? ((uint32 *) ctx->state, (const uint32 *) ctx->buffer); @]

{-Save the file. (This patch come from this webpage : http://www.openplug.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation)

Truecrypt compilation

[@

December 04, 2011, at 08:46 AM by vinz2k --
Added line 45:
Changed lines 47-49 from:

Go to /usr/src/truecrypt-7.1-source/Crypto and edit Rmd160.c

Find the line :

to:

Go to /usr/src/truecrypt-7.1-source/Crypto and edit Rmd160.c

Find the line :

Changed line 51 from:

RMD160Transform? ((uint32 *) ctx->state, (const uint32 *) input);

to:

RMD160Transform? ((uint32 *) ctx->state, (const uint32 *) input);

Changed lines 54-55 from:

and replace it with these lines :

to:

and replace it with these lines :

Changed lines 57-58 from:

memcpy(ctx->buffer, input, RIPEMD160?_BLOCK_LENGTH); RMD160Transform? ((uint32 *) ctx->state, (const uint32 *) ctx->buffer);

to:

{-memcpy(ctx->buffer, input, RIPEMD160?_BLOCK_LENGTH); RMD160Transform? ((uint32 *) ctx->state, (const uint32 *) ctx->buffer);

Changed lines 61-63 from:

Save the file. (This patch come from this webpage : http://www.openplug.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation) delete-}

to:

{-Save the file. (This patch come from this webpage : http://www.openplug.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation)

December 04, 2011, at 08:46 AM by vinz2k --
Changed lines 45-46 from:

{-delete

Modifying Crypto/Rmd160.c

to:

!!!Modifying Crypto/Rmd160.c

December 04, 2011, at 08:45 AM by vinz2k --
Changed lines 45-46 from:

{-!!!Modifying Crypto/Rmd160.c

to:

{-delete

Modifying Crypto/Rmd160.c

Changed lines 62-63 from:

(This patch come from this webpage : http://www.openplug.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation)-}

to:

(This patch come from this webpage : http://www.openplug.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation) delete-}

December 04, 2011, at 08:44 AM by vinz2k --
Changed lines 45-46 from:

{-

Modifying Crypto/Rmd160.c

to:

{-!!!Modifying Crypto/Rmd160.c

Changed lines 61-62 from:

(This patch come from this webpage : http://www.openplug.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation) -}

to:

(This patch come from this webpage : http://www.openplug.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation)-}

December 04, 2011, at 08:44 AM by vinz2k -- Deleted source file modification in TC
Changed lines 44-46 from:

<del>!!!Modifying Crypto/Rmd160.c

to:

Not needed anymore with Truecrypt 7.1 : {-

Modifying Crypto/Rmd160.c

Changed line 48 from:

</del>

to:
Changed line 63 from:
to:

-}

December 04, 2011, at 08:41 AM by vinz2k -- test
Changed line 44 from:

Modifying Crypto/Rmd160.c

to:

<del>!!!Modifying Crypto/Rmd160.c

Changed line 46 from:
to:

</del>

December 04, 2011, at 07:24 AM by vinz2k -- Update for 7.1
Changed lines 1-2 from:

How to compil Truecrypt 6.3a on the NSLU2

to:

How to compil Truecrypt 7.1 on the NSLU2

Changed lines 39-41 from:
  1. Download Truecrypt 7.0a and untar it

wget "http://www.truecrypt.org/download/transient/7f49df146f/TrueCrypt 7.0a Source.tar.gz" tar xvzf "TrueCrypt? 7.0a Source.tar.gz"

to:
  1. Download Truecrypt 7.1 and untar it

wget "http://www.truecrypt.org/download/transient/633759d341/TrueCrypt%207.1%20Source.tar.gz" tar xvzf "TrueCrypt? 7.1 Source.tar.gz"

Changed lines 45-46 from:

Go to /usr/src/truecrypt-7.0a-source/Crypto and edit Rmd160.c

to:

Go to /usr/src/truecrypt-7.1-source/Crypto and edit Rmd160.c

Changed line 65 from:

cd /usr/src/truecrypt-7.0a-source

to:

cd /usr/src/truecrypt-7.1-source

November 11, 2010, at 02:10 PM by vinz2k --
Added lines 12-16:

apt-get install libfuse2 apt-get install libfuse-dev apt-get install pkg-config

November 10, 2010, at 10:58 PM by vinz2k -- Updated for truecrypt 7.0a
Changed lines 3-4 from:

Download dependencies

to:

Install compilation tools

Added lines 6-11:

apt-get install build-essential @]

Download dependencies

[@

Changed lines 34-36 from:
  1. Download Truecrypt 6.3a and untar it

wget "http://www.truecrypt.org/download/transient/f8d4a00d4c/TrueCrypt 6.3a Source.tar.gz" tar xvzf "TrueCrypt? 6.3a Source.tar.gz"

to:
  1. Download Truecrypt 7.0a and untar it

wget "http://www.truecrypt.org/download/transient/7f49df146f/TrueCrypt 7.0a Source.tar.gz" tar xvzf "TrueCrypt? 7.0a Source.tar.gz"

Changed lines 40-41 from:

Go to /usr/src/truecrypt-6.3a-source/Crypto and edit Rmd160.c

to:

Go to /usr/src/truecrypt-7.0a-source/Crypto and edit Rmd160.c

Changed lines 57-58 from:

Truecrypt 6.3a compilation

to:

Truecrypt compilation

Changed line 60 from:

cd /usr/src/truecrypt-6.3a-source

to:

cd /usr/src/truecrypt-7.0a-source

October 17, 2010, at 07:38 PM by vinz2k --
Added line 60:

cd Main

August 27, 2010, at 08:23 PM by vinz2k --
Changed line 29 from:

wget http://www.truecrypt.org/download/transient/f8d4a00d4c/TrueCrypt 6.3a Source.tar.gz

to:

wget "http://www.truecrypt.org/download/transient/f8d4a00d4c/TrueCrypt 6.3a Source.tar.gz"

August 27, 2010, at 08:21 PM by vinz2k --
Changed lines 22-23 from:
  1. Download wxKGT-2.8.7 and untar it
to:

cd ..

  1. Download wxGTK-2.8.7 and untar it
April 26, 2010, at 08:49 PM by vinz2k --
Changed line 69 from:

Envoy !

to:

Enjoy !

April 26, 2010, at 08:49 PM by vinz2k --
Changed lines 50-51 from:
  1. Truecrypt 6.3a compilation
to:

Truecrypt 6.3a compilation

April 26, 2010, at 08:48 PM by vinz2k --
Changed line 32 from:

Edit Crypto/Rmd160.c

to:

Modifying Crypto/Rmd160.c

Changed lines 67-68 from:

@]

to:

@]

Envoy !

April 26, 2010, at 08:48 PM by vinz2k --
Added line 39:
Added line 41:
April 26, 2010, at 08:46 PM by vinz2k --
Changed lines 1-4 from:

How to compil Truecrypt 6.3a on the NSLU2

  1. Download dependencies
to:

How to compil Truecrypt 6.3a on the NSLU2

Download dependencies

Changed line 32 from:
  1. Edit Crypto/Rmd160.c
to:

Edit Crypto/Rmd160.c

April 26, 2010, at 08:46 PM by vinz2k --
Changed lines 1-2 from:

Download

to:

How to compil Truecrypt 6.3a on the NSLU2

Deleted line 12:
Added lines 30-65:

@]

  1. Edit Crypto/Rmd160.c

Go to /usr/src/truecrypt-6.3a-source/Crypto and edit Rmd160.c

Find the line :

RMD160Transform ((uint32 *) ctx->state, (const uint32 *) input);

and replace it with these lines :

memcpy(ctx->buffer, input, RIPEMD160_BLOCK_LENGTH);
RMD160Transform ((uint32 *) ctx->state, (const uint32 *) ctx->buffer);

Save the file. (This patch come from this webpage : http://www.openplug.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation)

  1. Truecrypt 6.3a compilation

[@ cd /usr/src/truecrypt-6.3a-source make NOGUI=1 PKCS11?_INC=/usr/src/PKCS WX_ROOT=/usr/src/wxGTK-2.8.7 wxbuild make NOGUI=1 PKCS11?_INC=/usr/src/PKCS WX_ROOT=/usr/src/wxGTK-2.8.7 WXSTATIC=1

  1. Test generated executable

./truecrypt --test Self-tests of all algorithms passed

  1. Installation

chown bin:bin truecrypt chmod 755 truecrypt cp -p truecrypt /usr/bin

April 26, 2010, at 08:32 PM by vinz2k --
Changed lines 5-29 from:
to:
cd /usr/src

# Make a dir for PKCS
mkdir PKCS
cd PKCS

wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/cryptoki.h

wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/ct-kip.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/opt-pkcs11.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs-11v2-20a3.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs-11v2-20a3d3.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t-consolidated-d1.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h.org

# Download wxKGT-2.8.7 and untar it
wget http://kent.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-2.8.7.tar.gz
tar xvzf wxGTK-2.8.7.tar.gz

# Download Truecrypt 6.3a and untar it
wget http://www.truecrypt.org/download/transient/f8d4a00d4c/TrueCrypt 6.3a Source.tar.gz
tar xvzf "TrueCrypt 6.3a Source.tar.gz"
April 26, 2010, at 08:31 PM by vinz2k --
Added line 12:
April 26, 2010, at 08:30 PM by vinz2k --
April 26, 2010, at 08:29 PM by vinz2k --
Changed lines 1-4 from:
 Download

Download dependencies

to:

Download

  1. Download dependencies
Changed line 22 from:
  1. Download wxKGT-2.8.7 and untar it
to:

# Download wxKGT-2.8.7 and untar it

Changed line 26 from:
  1. Download Truecrypt 6.3a and untar it
to:

# Download Truecrypt 6.3a and untar it

April 26, 2010, at 08:28 PM by vinz2k --
Added lines 1-28:
 Download

Download dependencies

cd /usr/src

# Make a dir for PKCS mkdir PKCS cd PKCS

wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/cryptoki.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/ct-kip.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/opt-pkcs11.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs-11v2-20a3.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs-11v2-20a3d3.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t-consolidated-d1.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h.org

  1. Download wxKGT-2.8.7 and untar it

wget http://kent.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-2.8.7.tar.gz tar xvzf wxGTK-2.8.7.tar.gz

  1. Download Truecrypt 6.3a and untar it

wget http://www.truecrypt.org/download/transient/f8d4a00d4c/TrueCrypt 6.3a Source.tar.gz tar xvzf "TrueCrypt? 6.3a Source.tar.gz"

view · edit · print · history · Last edited by vinz2k.
Originally by vinz2k.
Page last modified on December 04, 2011, at 08:48 AM