Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369203 - app-crypt/truecrypt-7.0a-r2: Hardware Acceleration not detected
Summary: app-crypt/truecrypt-7.0a-r2: Hardware Acceleration not detected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Dane Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-29 16:20 UTC by Marius Brehler
Modified: 2011-06-01 14:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Brehler 2011-05-29 16:20:47 UTC
At Settings -> Preferences -> Performance truecrypt shows:
Processor (CPU) in this computer provides hardware acceleration for AES: N/A

My processor, an  "Intel(R) Core(TM) i5 CPU 650", definitely support AES-NI. The following features are enabled in the kernel:
 *** Ciphers ***
 -*-   AES cipher algorithms
 -*-   AES cipher algorithms (x86_64)
 <*>   AES cipher algorithms (AES-NI)

Under Windows 7, truecrypt shows support for AES-NI.

Reproducible: Always
Comment 1 Marius Brehler 2011-05-29 17:04:22 UTC
Because this is annoying for me, I did some more research. I think this is a result of the lines 123-144 in the Makefile. I guess this causes that "C_CXX_FLAGS += -D TC_ARCH_X64" is not properly set in line 143. Maybe this is than more a bug for the truecrypt developers?
Comment 2 Dane Smith (RETIRED) gentoo-dev 2011-06-01 14:47:18 UTC
Fixed in -r3. Thanks for reporting.

*truecrypt-7.0a-r3 (01 Jun 2011)

  01 Jun 2011; Dane Smith <c1pher@gentoo.org> +truecrypt-7.0a-r3.ebuild,
  +files/makefile-archdetect.diff:
  Add new patch to fix arch detection for the i{3,5,7} processors.
  Revbump to r3 and include that patch. Fixes bug 369203.
  Paxmark the installed binary.