LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Test failed on encryption for aes-asm (http://www.linuxquestions.org/questions/linux-general-1/test-failed-on-encryption-for-aes-asm-693314/)

jordanwb 12-27-2008 02:21 PM

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?

AlucardZero 12-27-2008 02:24 PM

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?

jordanwb 12-27-2008 02:45 PM

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.

transtone 12-30-2008 08:37 PM

If compile aes as module seems everything is OK. But if it is compiled as built-in, the error message print during system boot.

Undeadzz 02-07-2009 05:38 PM

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.

jordanwb 02-07-2009 06:06 PM

I upgraded the linux-headers, recompiled the kernel and glibc and I don't get the error anymore.

Undeadzz 02-09-2009 01:10 PM

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?

jordanwb 02-09-2009 01:18 PM

Quote:

Originally Posted by Undeadzz (Post 3437437)
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.


All times are GMT -5. The time now is 09:08 PM.