Infected n00b
Joined: 15 Jan 2004 Posts: 24 Location: 127.0.0.1
|
Posted: Mon Mar 16, 2009 8:17 pm Post subject: Changing priority of crypto modules? |
|
|
Hello
I have a problem I was hoping someone could help me sort out.
Are there any way to change the priority of the ciphers listed in /proc/crypto,
Code: |
name : aes
driver : aes-generic
module : kernel
priority : 100
refcnt : 1
type : cipher
blocksize : 16
min keysize : 16
max keysize : 32
|
Code: |
name : aes
driver : aes-i586
module : kernel
priority : 200
refcnt : 13
type : cipher
blocksize : 16
min keysize : 16
max keysize : 32
|
I assume the higher the priority the more preference for a cipher to be used, or is it the other way around?
Is there any way to change what priority the ciphers are getting?
The reason I want to do this, I have a HiFn hardware crypto card, and the crypto modules injected into /proc/crypto by this card seems to take preference over the standard kernel ones, and I would very much like to choose what crypto modules will be used by default. |
|