LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-27-2008, 02:21 PM   #1
jordanwb
Member
 
Registered: Dec 2008
Posts: 34

Rep: Reputation: 0
Test failed on encryption for aes-asm


When my kernel boots up I get this error:

Quote:
alg: cipher: Test 1 failed on encryption for aes-asm
It always shows up. I'm using kernel version 2.6.28 in Gentoo Linux.

How do I get rid of it? Should I care?

Last edited by jordanwb; 12-27-2008 at 02:46 PM.
 
Old 12-27-2008, 02:24 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Ok, so what's your question?

http://letmegooglethatforyou.com/?q=...on+for+aes-asm

edit: Ok now you have a question. I dunno, do you notice anything broken?

Last edited by AlucardZero; 12-27-2008 at 05:16 PM.
 
Old 12-27-2008, 02:45 PM   #3
jordanwb
Member
 
Registered: Dec 2008
Posts: 34

Original Poster
Rep: Reputation: 0
I've already googled and no one seems to know for sure why it happens.

Hey this thread is on the first page of results. Talk about fast.
 
Old 12-30-2008, 08:37 PM   #4
transtone
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
If compile aes as module seems everything is OK. But if it is compiled as built-in, the error message print during system boot.
 
Old 02-07-2009, 05:38 PM   #5
Undeadzz
LQ Newbie
 
Registered: Apr 2008
Posts: 28

Rep: Reputation: 16
nay

Having it as a module should not matter.

bash-3.2# cat /proc/crypto
name : stdrng
driver : krng
module : kernel
priority : 200
refcnt : 1
selftest : passed
type : rng
seedsize : 0

name : aes
driver : aes-generic
module : kernel
priority : 100
refcnt : 1
selftest : passed
type : cipher
blocksize : 16
min keysize : 16
max keysize : 32

name : des3_ede
driver : des3_ede-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : cipher
blocksize : 8
min keysize : 24
max keysize : 24

name : des
driver : des-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : cipher
blocksize : 8
min keysize : 8
max keysize : 8

name : sha512
driver : sha512-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : digest
blocksize : 128
digestsize : 64

name : sha384
driver : sha384-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : digest
blocksize : 128
digestsize : 48

name : sha256
driver : sha256-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : digest
blocksize : 64
digestsize : 32

name : sha224
driver : sha224-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : digest
blocksize : 64
digestsize : 28

name : sha1
driver : sha1-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : digest
blocksize : 64
digestsize : 20

name : md5
driver : md5-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : digest
blocksize : 64
digestsize : 16

name : aes
driver : aes-asm
module : kernel
priority : 200
refcnt : 1
selftest : unknown
type : cipher
blocksize : 16
min keysize : 16
max keysize : 32

As u can see the last one selftest is "unknown", causeing the failure.
 
Old 02-07-2009, 06:06 PM   #6
jordanwb
Member
 
Registered: Dec 2008
Posts: 34

Original Poster
Rep: Reputation: 0
I upgraded the linux-headers, recompiled the kernel and glibc and I don't get the error anymore.
 
Old 02-09-2009, 01:10 PM   #7
Undeadzz
LQ Newbie
 
Registered: Apr 2008
Posts: 28

Rep: Reputation: 16
thats a diffrent kernel now

Ya, you prolly changed the configuration to either modules or not compiled at all. Either way I suggest dont use any ecryption or crypto that comes with the kernel; rather get it from some place else such as gnupg? or openssl?
 
Old 02-09-2009, 01:18 PM   #8
jordanwb
Member
 
Registered: Dec 2008
Posts: 34

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Undeadzz View Post
Ya, you prolly changed the configuration to either modules or not compiled at all. Either way I suggest dont use any ecryption or crypto that comes with the kernel; rather get it from some place else such as gnupg? or openssl?
The Encryption algorhythms were always builtin. I use TrueCrypt and Luks so I need the kernel based encryption or else they won't work.
 
  


Reply

Tags
aes, asm, encryption, failed


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSSL Encryption with AES kaplan71 Linux - Software 3 11-26-2008 12:46 PM
ASM x32 vs ASM x64 Tegramon Programming 3 02-27-2008 02:26 PM
using aes-i586 instead of just aes whysyn Linux - Security 0 03-07-2007 03:47 PM
winzip strong (AES) encryption for linux 0ptix Linux - Software 2 10-03-2006 05:19 PM
Need help with loop-aes encryption. yanik Linux - Software 0 04-20-2006 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:19 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