LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-15-2020, 11:39 AM   #1
shivahoj
LQ Newbie
 
Registered: Jul 2013
Posts: 15

Rep: Reputation: Disabled
Does AMD E-350 Processor have AES-NI, and how to use in LUKS?


I have a small NAS home server with debian10 and openmediavault on it, and the data partitions of all 4 Harddisks encrypted with LUKS. Since the old atom Processor on the Motherboard was the bottleneck in all I/O operations, i recently bought a cheap Mini-ITX board (ASRock E-350-M1) with an soldered-on AMD E-350.
I have chosen the board because https://www.cpu-monkey.com/en/cpu-amd_e_350-204 as well as https://www.technikaffe.de/cpu_vergl...amd_e_350-204/ both claim that this processor has AES-NI support , the respective CPU- enhancements to speed up crypto operations.
But when I issue lscpu, the feature seems not to be there:
Code:
omv# lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       36 bits physical, 48 bits virtual
CPU(s):              2
On-line CPU(s) list: 0,1
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Vendor ID:           AuthenticAMD
CPU family:          20
Model:               1
Model name:          AMD E-350 Processor
Stepping:            0
CPU MHz:             1600.039
CPU max MHz:         1600,0000
CPU min MHz:         800,0000
BogoMIPS:            3200.07
Virtualization:      AMD-V
L1d cache:           32K
L1i cache:           32K
L2 cache:            512K
NUMA node0 CPU(s):   0,1
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt hw_pstate vmmcall arat npt lbrv svm_lock nrip_save pausefilter
omv#
Has this feature maybe been renamed on AMD CPUs?
Does this CPU even have crypto support?
If so, how do I enable it in LUKS?
Since I am setting up crypto(and all disks)from scratch anyway, maybe changing the creation process of the LUKS containers could be helpful in speeding up transfers?

Last edited by shivahoj; 05-15-2020 at 11:44 AM.
 
Old 05-15-2020, 02:56 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,353

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
https://www.cyberciti.biz/faq/how-to...-linux-system/
 
  


Reply

Tags
aes, crypto, luks


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
Encryption library on Linux provides AES implementation based on cpu aes instruction rainman1985_2010 Programming 3 07-03-2015 05:34 PM
[SOLVED] Which processor AMD Athlon does I have, based on lshw and dmesg informations...? floppy_stuttgart Linux - Hardware 22 05-15-2012 03:30 PM
dm-crypt aes-xts-plain64 vs aes-cbc-essiv for volumes > 2TiB Molly Linux - Security 1 09-13-2010 05:24 PM
USB HDD with Loop-AES/LUKS jmoschetti45 Linux - Security 2 01-31-2010 11:17 PM
using aes-i586 instead of just aes whysyn Linux - Security 0 03-07-2007 03:47 PM

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

All times are GMT -5. The time now is 11:32 AM.

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