LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-13-2013, 05:20 PM   #1
m1m
Member
 
Registered: Jan 2011
Posts: 43

Rep: Reputation: 0
Slackware 14 + Truecrypt 7.1a from Alien - no AES hardware acceleration


Hi

I have Slack 14 x86_64. I've installed Truecrypt package from Alien:
Code:
http://taper.alienbase.nl/mirrors/people/alien/slackbuilds/truecrypt/pkg64/13.37/
Everything works OK, but I don't have AES hardware acceleration. I have Intel Core i5 so it has AES-NI. Also windows version of truecrypt works with AES acceleration.
I have stock Slackware 14 kernel, AES-NI included:
Code:
# zcat /proc/config.gz |grep -i aes
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MAESTRO3_INPUT=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_X86_64=y
CONFIG_CRYPTO_AES_NI_INTEL=y
CONFIG_CRYPTO_DEV_PADLOCK_AES=m
 
Old 02-15-2013, 10:47 AM   #2
philanc
Member
 
Registered: Jan 2011
Posts: 66

Rep: Reputation: 26
Quote:
Originally Posted by m1m View Post
Everything works OK, but I don't have AES hardware acceleration. I have Intel Core i5 so it has AES-NI.
[/CODE]
Several i5 CPUs do not have the AES-NI instructions. For example my laptop has an Intel Core i5 430M and Intel confirmed that it doesn't support AES-NI: http://ark.intel.com/products/43537/..._26-GHz?q=i5-4

You may want to check dmesg to see if AES-NI has been detected:
Code:
  # dmesg | grep -i aes 
  [    0.612252] Intel AES-NI instructions are not detected.
HTH

Phil
 
Old 02-15-2013, 12:00 PM   #3
m1m
Member
 
Registered: Jan 2011
Posts: 43

Original Poster
Rep: Reputation: 0
Maybe I wasn't clear: on windows I HAVE hardware acceleration in Truecrypt, I have core i5 3470, it definitely has AES-NI.

Code:
dmesg|grep -i aes
returns nothing
 
Old 02-16-2013, 11:25 AM   #4
e5150
Member
 
Registered: Oct 2005
Location: Sweden
Distribution: Slackware
Posts: 76

Rep: Reputation: 42
I've had the same experience with truecrypt, I've tried to recompile it myself with various option, to no avail. The only way I've gotten accelerated AES only works is with the precompiled binary (http://www.truecrypt.org/downloads). (Altough, with LUKS it works "out-of-the-box".) (And, `grep aes /proc/cpuinfo` is probably a better indicator of AES-NI presence than dmesg.)
Try the precompiled version provided by truecrypt website.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dm-crypt aes-xts-plain64 vs aes-cbc-essiv for volumes > 2TiB Molly Linux - Security 1 09-13-2010 05:24 PM
TrueCrypt for Slackware How-To dcsmith300 Slackware 17 01-28-2010 03:32 PM
LXer: Configuring WPA2 (AES) in Slackware LXer Syndicated Linux News 0 08-15-2008 06:30 AM
alien for slackware 9.1 krussell Linux - Software 1 01-17-2004 05:02 AM


All times are GMT -5. The time now is 01:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration