LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-13-2017, 08:42 AM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
CPU AES technology - utilized by dm-crypt?


The time is approaching to replace my old PC with something new. I researching processors I read on cpu-world.com:
Quote:
The i7-6700 CPU has Advanced Encryption Standard (AES) technology enabled.
These instructions provide hardware acceleration of AES encryption and decryption,
and are valuable if you run applications, that secure your disk or network data.
My question is... Would this CPU feature improve the performance of a partition encrypted with dm-crypt/LUKS? I am planning to run CentOS 7 on the new PC. Most of the search results I get deal with how to setup dm-crypt/LUKS. I already know how to do that.


TIA,

Ken
 
Old 01-13-2017, 12:45 PM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi,

The DM layer uses the kernel crypto layer, which does include implementations using hardware specific features. In the case of AES, the instructions are called AES-NI, and the kernel crypto layer supports them through the aesni_intel module (works on AMD too).
You can see them at work using the cryptsetup benchmark command, with the aesni_intel disabled.
 
1 members found this post helpful.
Old 01-13-2017, 01:01 PM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Thanks serafean,

I will try that on my new PC when I get one.

Ken
 
  


Reply



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
Encryption library on Linux provides AES implementation based on cpu aes instruction rainman1985_2010 Programming 3 07-03-2015 05:34 PM
Migrating from loop AES to dm-crypt Nick_Battle Linux - Security 1 09-18-2012 04:06 PM
dm-crypt aes-xts-plain64 vs aes-cbc-essiv for volumes > 2TiB Molly Linux - Security 1 09-13-2010 05:24 PM
Loop-aes vs DM-crypt Frogular Linux - Security 3 12-26-2007 03:13 PM
loop-AES dm-crypt and Gentoo PrimusXPrimus Linux - Software 1 10-12-2004 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration